pub struct BoxRoot<T: 'static> { /* fields omitted */ }
Expand description
BoxRoot<T>
is a container for a rooted OCaml
<T>
value.
Creates a new root from an OCaml
<T>
value.
Gets the value stored in this root as an OCaml
<T>
.
Roots the OCaml value val
, returning an OCamlRef
<T>
.
The resulting type after dereferencing.
Executes the destructor for this type. Read more
Convert to OCaml value. Return an already rooted value as BoxRoot
<T>
.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.