#[repr(C)]pub struct BNCustomLineFormatter {
pub context: *mut c_void,
pub formatLines: Option<unsafe extern "C" fn(ctxt: *mut c_void, inLines: *mut BNDisassemblyTextLine, inCount: usize, settings: *const BNLineFormatterSettings, outCount: *mut usize) -> *mut BNDisassemblyTextLine>,
pub freeLines: Option<unsafe extern "C" fn(ctxt: *mut c_void, lines: *mut BNDisassemblyTextLine, count: usize)>,
}
Fields§
§context: *mut c_void
§formatLines: Option<unsafe extern "C" fn(ctxt: *mut c_void, inLines: *mut BNDisassemblyTextLine, inCount: usize, settings: *const BNLineFormatterSettings, outCount: *mut usize) -> *mut BNDisassemblyTextLine>
§freeLines: Option<unsafe extern "C" fn(ctxt: *mut c_void, lines: *mut BNDisassemblyTextLine, count: usize)>
Trait Implementations§
source§impl Clone for BNCustomLineFormatter
impl Clone for BNCustomLineFormatter
source§fn clone(&self) -> BNCustomLineFormatter
fn clone(&self) -> BNCustomLineFormatter
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 BNCustomLineFormatter
impl Debug for BNCustomLineFormatter
source§impl Default for BNCustomLineFormatter
impl Default for BNCustomLineFormatter
impl Copy for BNCustomLineFormatter
Auto Trait Implementations§
impl Freeze for BNCustomLineFormatter
impl RefUnwindSafe for BNCustomLineFormatter
impl !Send for BNCustomLineFormatter
impl !Sync for BNCustomLineFormatter
impl Unpin for BNCustomLineFormatter
impl UnwindSafe for BNCustomLineFormatter
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
)