impl_shared_reference1 implements an OCaml custom type that wraps around a shared reference to a Rust object.
impl_shared_reference1