#[repr(C)]pub struct BNRenderLayerCallbacks {
pub context: *mut c_void,
pub applyToFlowGraph: Option<unsafe extern "C" fn(ctxt: *mut c_void, graph: *mut BNFlowGraph)>,
pub applyToLinearViewObject: Option<unsafe extern "C" fn(ctxt: *mut c_void, obj: *mut BNLinearViewObject, prev: *mut BNLinearViewObject, next: *mut BNLinearViewObject, inLines: *mut BNLinearDisassemblyLine, inLineCount: usize, outLines: *mut *mut BNLinearDisassemblyLine, outLineCount: *mut usize)>,
pub freeLines: Option<unsafe extern "C" fn(ctxt: *mut c_void, lines: *mut BNLinearDisassemblyLine, count: usize)>,
}
Fields§
§context: *mut c_void
§applyToFlowGraph: Option<unsafe extern "C" fn(ctxt: *mut c_void, graph: *mut BNFlowGraph)>
§applyToLinearViewObject: Option<unsafe extern "C" fn(ctxt: *mut c_void, obj: *mut BNLinearViewObject, prev: *mut BNLinearViewObject, next: *mut BNLinearViewObject, inLines: *mut BNLinearDisassemblyLine, inLineCount: usize, outLines: *mut *mut BNLinearDisassemblyLine, outLineCount: *mut usize)>
§freeLines: Option<unsafe extern "C" fn(ctxt: *mut c_void, lines: *mut BNLinearDisassemblyLine, count: usize)>
Trait Implementations§
source§impl Clone for BNRenderLayerCallbacks
impl Clone for BNRenderLayerCallbacks
source§fn clone(&self) -> BNRenderLayerCallbacks
fn clone(&self) -> BNRenderLayerCallbacks
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 BNRenderLayerCallbacks
impl Debug for BNRenderLayerCallbacks
source§impl Default for BNRenderLayerCallbacks
impl Default for BNRenderLayerCallbacks
impl Copy for BNRenderLayerCallbacks
Auto Trait Implementations§
impl Freeze for BNRenderLayerCallbacks
impl RefUnwindSafe for BNRenderLayerCallbacks
impl !Send for BNRenderLayerCallbacks
impl !Sync for BNRenderLayerCallbacks
impl Unpin for BNRenderLayerCallbacks
impl UnwindSafe for BNRenderLayerCallbacks
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
)