Struct r_core::r_asm_plugin_t[][src]

#[repr(C)]
pub struct r_asm_plugin_t {
Show 17 fields pub name: *const c_char, pub arch: *const c_char, pub author: *const c_char, pub version: *const c_char, pub cpus: *const c_char, pub desc: *const c_char, pub license: *const c_char, pub user: *mut c_void, pub bits: c_int, pub endian: c_int, pub init: Option<unsafe extern "C" fn(user: *mut c_void) -> bool>, pub fini: Option<unsafe extern "C" fn(user: *mut c_void) -> bool>, pub disassemble: Option<unsafe extern "C" fn(a: *mut RAsm, op: *mut RAsmOp, buf: *const c_uchar, len: c_int) -> c_int>, pub assemble: Option<unsafe extern "C" fn(a: *mut RAsm, op: *mut RAsmOp, buf: *const c_char) -> c_int>, pub modify: RAsmModifyCallback, pub mnemonics: Option<unsafe extern "C" fn(a: *mut RAsm, id: c_int, json: bool) -> *mut c_char>, pub features: *const c_char,
}

Fields

name: *const c_chararch: *const c_charauthor: *const c_charversion: *const c_charcpus: *const c_chardesc: *const c_charlicense: *const c_charuser: *mut c_voidbits: c_intendian: c_intinit: Option<unsafe extern "C" fn(user: *mut c_void) -> bool>fini: Option<unsafe extern "C" fn(user: *mut c_void) -> bool>disassemble: Option<unsafe extern "C" fn(a: *mut RAsm, op: *mut RAsmOp, buf: *const c_uchar, len: c_int) -> c_int>assemble: Option<unsafe extern "C" fn(a: *mut RAsm, op: *mut RAsmOp, buf: *const c_char) -> c_int>modify: RAsmModifyCallbackmnemonics: Option<unsafe extern "C" fn(a: *mut RAsm, id: c_int, json: bool) -> *mut c_char>features: *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.