Trait ocaml_interop::bigarray::BigarrayElt
source · pub unsafe trait BigarrayElt: Copy {
const KIND: i32;
}
Expand description
Bigarray kind
§Safety
This is unsafe to implement, because it allows casts
to the implementing type (through OCaml<Array1<T>>::as_slice()
).
To make this safe, the type implementing this trait must be safe to transmute from OCaml data with the relevant KIND.
Required Associated Constants§
Object Safety§
This trait is not object safe.