pub struct CamlBytesString<'a>(pub &'a [u8]);Tuple Fields§
§0: &'a [u8]Trait Implementations§
Source§impl<'a> FromValue<'a> for CamlBytesString<'a>
 
impl<'a> FromValue<'a> for CamlBytesString<'a>
Source§fn from_value(v: Value) -> Self
 
fn from_value(v: Value) -> Self
Convert from OCaml value
Source§impl<'a> IntoValue for CamlBytesString<'a>
 
impl<'a> IntoValue for CamlBytesString<'a>
Source§fn into_value(self, rt: &Runtime) -> Value
 
fn into_value(self, rt: &Runtime) -> Value
Convert to OCaml value
Source§impl<'a> OCamlDesc for CamlBytesString<'a>
 
impl<'a> OCamlDesc for CamlBytesString<'a>
Source§fn ocaml_desc(_env: &Env, _generics: &[&str]) -> String
 
fn ocaml_desc(_env: &Env, _generics: &[&str]) -> String
describes the type in OCaml, given the current environment [Env]
and the list of generic type parameters of the root type
(the type that makes use of this type)
Auto Trait Implementations§
impl<'a> Freeze for CamlBytesString<'a>
impl<'a> RefUnwindSafe for CamlBytesString<'a>
impl<'a> Send for CamlBytesString<'a>
impl<'a> Sync for CamlBytesString<'a>
impl<'a> Unpin for CamlBytesString<'a>
impl<'a> UnwindSafe for CamlBytesString<'a>
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