[][src]Struct capstone_sys::cs_opt_mem

#[repr(C)]
pub struct cs_opt_mem { pub malloc: cs_malloc_t, pub calloc: cs_calloc_t, pub realloc: cs_realloc_t, pub free: cs_free_t, pub vsnprintf: cs_vsnprintf_t, }

User-defined dynamic memory related functions: malloc/calloc/realloc/free/vsnprintf() By default, Capstone uses system's malloc(), calloc(), realloc(), free() & vsnprintf().

Fields

malloc: cs_malloc_tcalloc: cs_calloc_trealloc: cs_realloc_tfree: cs_free_tvsnprintf: cs_vsnprintf_t

Trait Implementations

impl Copy for cs_opt_mem[src]

impl Clone for cs_opt_mem[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for cs_opt_mem[src]

Auto Trait Implementations

impl Send for cs_opt_mem

impl Sync for cs_opt_mem

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.