Struct ocaml_interop::DynBox
source · pub struct DynBox<A> { /* private fields */ }
Expand description
OCaml<DynBox<T>>
is for passing a value of type T
to OCaml
To box a Rust value, use OCaml::box_value
.
Experimental
Auto Trait Implementations§
impl<A> RefUnwindSafe for DynBox<A>where
A: RefUnwindSafe,
impl<A> Send for DynBox<A>where
A: Send,
impl<A> Sync for DynBox<A>where
A: Sync,
impl<A> Unpin for DynBox<A>where
A: Unpin,
impl<A> UnwindSafe for DynBox<A>where
A: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more