[][src]Struct alien_ffi::caml_opaque::CustomOperations

#[repr(C)]
pub struct CustomOperations {
    pub identifier: *const Cchar,
    pub finalize: extern "C" fn(v: Value),
    pub compare: extern "C" fn(v1: Value, v2: Value) -> Cint,
    pub compare_ext: extern "C" fn(v1: Value, v2: Value) -> Cint,
    pub hash: extern "C" fn(v: Value) -> Intnat,
    pub serialize: extern "C" fn(v: Value, bsize_32: *const Uintnat, _: *const Uintnat) -> Cvoid,
    pub deserialize: extern "C" fn(_: *mut Cvoid) -> Uintnat,
}

Fields

identifier: *const Ccharfinalize: extern "C" fn(v: Value)compare: extern "C" fn(v1: Value, v2: Value) -> Cintcompare_ext: extern "C" fn(v1: Value, v2: Value) -> Cinthash: extern "C" fn(v: Value) -> Intnatserialize: extern "C" fn(v: Value, bsize_32: *const Uintnat, _: *const Uintnat) -> Cvoiddeserialize: extern "C" fn(_: *mut Cvoid) -> Uintnat

Trait Implementations

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.