#[repr(C)]pub struct BNCustomDataRenderer {
pub context: *mut c_void,
pub freeObject: Option<unsafe extern "C" fn(ctxt: *mut c_void)>,
pub isValidForData: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, addr: u64, type_: *mut BNType, typeCtx: *mut BNTypeContext, ctxCount: usize) -> bool>,
pub getLinesForData: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, addr: u64, type_: *mut BNType, prefix: *const BNInstructionTextToken, prefixCount: usize, width: usize, count: *mut usize, typeCtx: *mut BNTypeContext, ctxCount: usize, language: *const c_char) -> *mut BNDisassemblyTextLine>,
pub freeLines: Option<unsafe extern "C" fn(ctx: *mut c_void, lines: *mut BNDisassemblyTextLine, count: usize)>,
}
Fields§
§context: *mut c_void
§freeObject: Option<unsafe extern "C" fn(ctxt: *mut c_void)>
§isValidForData: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, addr: u64, type_: *mut BNType, typeCtx: *mut BNTypeContext, ctxCount: usize) -> bool>
§getLinesForData: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, addr: u64, type_: *mut BNType, prefix: *const BNInstructionTextToken, prefixCount: usize, width: usize, count: *mut usize, typeCtx: *mut BNTypeContext, ctxCount: usize, language: *const c_char) -> *mut BNDisassemblyTextLine>
§freeLines: Option<unsafe extern "C" fn(ctx: *mut c_void, lines: *mut BNDisassemblyTextLine, count: usize)>
Trait Implementations§
source§impl Clone for BNCustomDataRenderer
impl Clone for BNCustomDataRenderer
source§fn clone(&self) -> BNCustomDataRenderer
fn clone(&self) -> BNCustomDataRenderer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BNCustomDataRenderer
impl Debug for BNCustomDataRenderer
source§impl Default for BNCustomDataRenderer
impl Default for BNCustomDataRenderer
impl Copy for BNCustomDataRenderer
Auto Trait Implementations§
impl Freeze for BNCustomDataRenderer
impl RefUnwindSafe for BNCustomDataRenderer
impl !Send for BNCustomDataRenderer
impl !Sync for BNCustomDataRenderer
impl Unpin for BNCustomDataRenderer
impl UnwindSafe for BNCustomDataRenderer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)