Struct capstone_sys::cs_opt_mem[][src]

#[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 Clone for cs_opt_mem[src]

impl Copy for cs_opt_mem[src]

impl Debug for cs_opt_mem[src]

Auto Trait Implementations

impl Send for cs_opt_mem

impl Sync for cs_opt_mem

impl Unpin for cs_opt_mem

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.