Struct ocaml_sys::custom_operations [−][src]
Fields
identifier: *const Char
finalize: Option<unsafe extern "C" fn(v: Value)>
compare: Option<unsafe extern "C" fn(v1: Value, v2: Value) -> i32>
hash: Option<unsafe extern "C" fn(v: Value) -> Intnat>
serialize: Option<unsafe extern "C" fn(v: Value, bsize_32: *mut Uintnat, bsize_64: *mut Uintnat)>
deserialize: Option<unsafe extern "C" fn(dst: *mut c_void) -> Uintnat>
compare_ext: Option<unsafe extern "C" fn(v1: Value, v2: Value) -> i32>
fixed_length: *const custom_fixed_length
Trait Implementations
impl Clone for custom_operations
[src]
fn clone(&self) -> custom_operations
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for custom_operations
[src]
impl Debug for custom_operations
[src]
Auto Trait Implementations
impl !Send for custom_operations
[src]
impl !Sync for custom_operations
[src]
impl Unpin for custom_operations
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,