Struct ocaml_interop::bigarray::Array1
source · pub struct Array1<A: BigarrayElt> { /* private fields */ }
Trait Implementations§
source§impl<A: BigarrayElt> ToOCaml<Array1<A>> for &[A]
impl<A: BigarrayElt> ToOCaml<Array1<A>> for &[A]
source§fn to_ocaml<'a>(&self, cr: &'a mut OCamlRuntime) -> OCaml<'a, Array1<A>>
fn to_ocaml<'a>(&self, cr: &'a mut OCamlRuntime) -> OCaml<'a, Array1<A>>
Convert to OCaml value.
source§fn to_boxroot(&self, cr: &mut OCamlRuntime) -> BoxRoot<T>
fn to_boxroot(&self, cr: &mut OCamlRuntime) -> BoxRoot<T>
Convert to OCaml value. Return an already rooted value as
BoxRoot
<T>
.Auto Trait Implementations§
impl<A> RefUnwindSafe for Array1<A>where
A: RefUnwindSafe,
impl<A> Send for Array1<A>where
A: Send,
impl<A> Sync for Array1<A>where
A: Sync,
impl<A> Unpin for Array1<A>where
A: Unpin,
impl<A> UnwindSafe for Array1<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