Struct ocaml::Str[][src]

pub struct Str(_);

OCaml String type

Methods

impl Str
[src]

Create a new string of a given length

String length

Access OCaml string as &str

Access OCaml string as &mut str

Access OCaml string as &[u8]

Access OCaml string as &mut [u8]

Trait Implementations

impl From<Str> for Value
[src]

Performs the conversion.

impl<'a> From<&'a str> for Str
[src]

Performs the conversion.

impl From<Value> for Str
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Str

impl Sync for Str