Struct ocaml_interop::OCamlBytes[][src]

pub struct OCamlBytes {}
Expand description

OCaml<OCamlBytes> is a reference to an OCaml bytes value.

Note

Unlike with OCaml<String>, there is no validation being performed when converting this value into String.

Trait Implementations

Convert from OCaml value.

Convert from OCaml value.

Convert to OCaml value.

Convert to OCaml value. Return an already rooted value as BoxRoot<T>.

Convert to OCaml value.

Convert to OCaml value. Return an already rooted value as BoxRoot<T>.

Convert to OCaml value.

Convert to OCaml value. Return an already rooted value as BoxRoot<T>.

Convert to OCaml value.

Convert to OCaml value. Return an already rooted value as BoxRoot<T>.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.