Struct ocaml::Str [] [src]

pub struct Str(_, _);

OCaml String type

Methods

impl Str
[src]

[src]

Create a new string of a given length

[src]

String length

[src]

Access OCaml string as &str

[src]

Access OCaml string as &mut str

Trait Implementations

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

[src]

Performs the conversion.

impl From<Value> for Str
[src]

[src]

Performs the conversion.