Struct r_core::r_egg_emit_t[][src]

#[repr(C)]
pub struct r_egg_emit_t {
Show 26 fields pub arch: *const c_char, pub size: c_int, pub retvar: *const c_char, pub regs: Option<unsafe extern "C" fn(egg: *mut REgg, idx: c_int) -> *const c_char>, pub init: Option<unsafe extern "C" fn(egg: *mut REgg)>, pub call: Option<unsafe extern "C" fn(egg: *mut REgg, addr: *const c_char, ptr: c_int)>, pub jmp: Option<unsafe extern "C" fn(egg: *mut REgg, addr: *const c_char, ptr: c_int)>, pub frame: Option<unsafe extern "C" fn(egg: *mut REgg, sz: c_int)>, pub syscall: Option<unsafe extern "C" fn(egg: *mut REgg, num: c_int) -> *mut c_char>, pub trap: Option<unsafe extern "C" fn(egg: *mut REgg)>, pub frame_end: Option<unsafe extern "C" fn(egg: *mut REgg, sz: c_int, ctx: c_int)>, pub comment: Option<unsafe extern "C" fn(egg: *mut REgg, fmt: *const c_char, ...)>, pub push_arg: Option<unsafe extern "C" fn(egg: *mut REgg, xs: c_int, num: c_int, str_: *const c_char)>, pub set_string: Option<unsafe extern "C" fn(egg: *mut REgg, dstvar: *const c_char, str_: *const c_char, j: c_int)>, pub equ: Option<unsafe extern "C" fn(egg: *mut REgg, key: *const c_char, value: *const c_char)>, pub get_result: Option<unsafe extern "C" fn(egg: *mut REgg, ocn: *const c_char)>, pub restore_stack: Option<unsafe extern "C" fn(egg: *mut REgg, size: c_int)>, pub syscall_args: Option<unsafe extern "C" fn(egg: *mut REgg, nargs: c_int)>, pub get_var: Option<unsafe extern "C" fn(egg: *mut REgg, type_: c_int, out: *mut c_char, idx: c_int)>, pub get_ar: Option<unsafe extern "C" fn(egg: *mut REgg, out: *mut c_char, idx: c_int)>, pub while_end: Option<unsafe extern "C" fn(egg: *mut REgg, label: *const c_char)>, pub load: Option<unsafe extern "C" fn(egg: *mut REgg, str_: *const c_char, sz: c_int)>, pub load_ptr: Option<unsafe extern "C" fn(egg: *mut REgg, str_: *const c_char)>, pub branch: Option<unsafe extern "C" fn(egg: *mut REgg, b: *mut c_char, g: *mut c_char, e: *mut c_char, n: *mut c_char, sz: c_int, dst: *const c_char)>, pub mathop: Option<unsafe extern "C" fn(egg: *mut REgg, ch: c_int, sz: c_int, type_: c_int, eq: *const c_char, p: *const c_char)>, pub get_while_end: Option<unsafe extern "C" fn(egg: *mut REgg, out: *mut c_char, ctxpush: *const c_char, label: *const c_char)>,
}

Fields

arch: *const c_charsize: c_intretvar: *const c_charregs: Option<unsafe extern "C" fn(egg: *mut REgg, idx: c_int) -> *const c_char>init: Option<unsafe extern "C" fn(egg: *mut REgg)>call: Option<unsafe extern "C" fn(egg: *mut REgg, addr: *const c_char, ptr: c_int)>jmp: Option<unsafe extern "C" fn(egg: *mut REgg, addr: *const c_char, ptr: c_int)>frame: Option<unsafe extern "C" fn(egg: *mut REgg, sz: c_int)>syscall: Option<unsafe extern "C" fn(egg: *mut REgg, num: c_int) -> *mut c_char>trap: Option<unsafe extern "C" fn(egg: *mut REgg)>frame_end: Option<unsafe extern "C" fn(egg: *mut REgg, sz: c_int, ctx: c_int)>comment: Option<unsafe extern "C" fn(egg: *mut REgg, fmt: *const c_char, ...)>push_arg: Option<unsafe extern "C" fn(egg: *mut REgg, xs: c_int, num: c_int, str_: *const c_char)>set_string: Option<unsafe extern "C" fn(egg: *mut REgg, dstvar: *const c_char, str_: *const c_char, j: c_int)>equ: Option<unsafe extern "C" fn(egg: *mut REgg, key: *const c_char, value: *const c_char)>get_result: Option<unsafe extern "C" fn(egg: *mut REgg, ocn: *const c_char)>restore_stack: Option<unsafe extern "C" fn(egg: *mut REgg, size: c_int)>syscall_args: Option<unsafe extern "C" fn(egg: *mut REgg, nargs: c_int)>get_var: Option<unsafe extern "C" fn(egg: *mut REgg, type_: c_int, out: *mut c_char, idx: c_int)>get_ar: Option<unsafe extern "C" fn(egg: *mut REgg, out: *mut c_char, idx: c_int)>while_end: Option<unsafe extern "C" fn(egg: *mut REgg, label: *const c_char)>load: Option<unsafe extern "C" fn(egg: *mut REgg, str_: *const c_char, sz: c_int)>load_ptr: Option<unsafe extern "C" fn(egg: *mut REgg, str_: *const c_char)>branch: Option<unsafe extern "C" fn(egg: *mut REgg, b: *mut c_char, g: *mut c_char, e: *mut c_char, n: *mut c_char, sz: c_int, dst: *const c_char)>mathop: Option<unsafe extern "C" fn(egg: *mut REgg, ch: c_int, sz: c_int, type_: c_int, eq: *const c_char, p: *const c_char)>get_while_end: Option<unsafe extern "C" fn(egg: *mut REgg, out: *mut c_char, ctxpush: *const c_char, label: *const c_char)>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.