Struct Struct_jit_memory_manager

Source
#[repr(C)]
pub struct Struct_jit_memory_manager {
Show 19 fields pub create: Option<extern "C" fn(arg1: jit_context_t) -> jit_memory_context_t>, pub destroy: Option<extern "C" fn(arg1: jit_memory_context_t)>, pub find_function_info: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: *mut c_void) -> jit_function_info_t>, pub get_function: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: jit_function_info_t) -> jit_function_t>, pub get_function_start: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: jit_function_info_t) -> *mut c_void>, pub get_function_end: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: jit_function_info_t) -> *mut c_void>, pub alloc_function: Option<extern "C" fn(arg1: jit_memory_context_t) -> jit_function_t>, pub free_function: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: jit_function_t)>, pub start_function: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: jit_function_t) -> c_int>, pub end_function: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: c_int) -> c_int>, pub extend_limit: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: c_int) -> c_int>, pub get_limit: Option<extern "C" fn(arg1: jit_memory_context_t) -> *mut c_void>, pub get_break: Option<extern "C" fn(arg1: jit_memory_context_t) -> *mut c_void>, pub set_break: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: *mut c_void)>, pub alloc_trampoline: Option<extern "C" fn(arg1: jit_memory_context_t) -> *mut c_void>, pub free_trampoline: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: *mut c_void)>, pub alloc_closure: Option<extern "C" fn(arg1: jit_memory_context_t) -> *mut c_void>, pub free_closure: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: *mut c_void)>, pub alloc_data: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: jit_size_t, arg3: jit_size_t) -> *mut c_void>,
}

Fields§

§create: Option<extern "C" fn(arg1: jit_context_t) -> jit_memory_context_t>§destroy: Option<extern "C" fn(arg1: jit_memory_context_t)>§find_function_info: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: *mut c_void) -> jit_function_info_t>§get_function: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: jit_function_info_t) -> jit_function_t>§get_function_start: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: jit_function_info_t) -> *mut c_void>§get_function_end: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: jit_function_info_t) -> *mut c_void>§alloc_function: Option<extern "C" fn(arg1: jit_memory_context_t) -> jit_function_t>§free_function: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: jit_function_t)>§start_function: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: jit_function_t) -> c_int>§end_function: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: c_int) -> c_int>§extend_limit: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: c_int) -> c_int>§get_limit: Option<extern "C" fn(arg1: jit_memory_context_t) -> *mut c_void>§get_break: Option<extern "C" fn(arg1: jit_memory_context_t) -> *mut c_void>§set_break: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: *mut c_void)>§alloc_trampoline: Option<extern "C" fn(arg1: jit_memory_context_t) -> *mut c_void>§free_trampoline: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: *mut c_void)>§alloc_closure: Option<extern "C" fn(arg1: jit_memory_context_t) -> *mut c_void>§free_closure: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: *mut c_void)>§alloc_data: Option<extern "C" fn(arg1: jit_memory_context_t, arg2: jit_size_t, arg3: jit_size_t) -> *mut c_void>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.