Struct kimchi_stubs::caml::caml_bytes_string::CamlBytesString
source · 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> 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