#[repr(C)]pub struct BNCustomLanguageRepresentationFunction {
pub context: *mut c_void,
pub freeObject: Option<unsafe extern "C" fn(ctxt: *mut c_void)>,
pub externalRefTaken: Option<unsafe extern "C" fn(ctxt: *mut c_void)>,
pub externalRefReleased: Option<unsafe extern "C" fn(ctxt: *mut c_void)>,
pub initTokenEmitter: Option<unsafe extern "C" fn(ctxt: *mut c_void, tokens: *mut BNHighLevelILTokenEmitter)>,
pub getExprText: Option<unsafe extern "C" fn(ctxt: *mut c_void, il: *mut BNHighLevelILFunction, exprIndex: usize, tokens: *mut BNHighLevelILTokenEmitter, settings: *mut BNDisassemblySettings, asFullAst: bool, precedence: BNOperatorPrecedence, statement: bool)>,
pub beginLines: Option<unsafe extern "C" fn(ctxt: *mut c_void, il: *mut BNHighLevelILFunction, exprIndex: usize, tokens: *mut BNHighLevelILTokenEmitter)>,
pub endLines: Option<unsafe extern "C" fn(ctxt: *mut c_void, il: *mut BNHighLevelILFunction, exprIndex: usize, tokens: *mut BNHighLevelILTokenEmitter)>,
pub getCommentStartString: Option<unsafe extern "C" fn(ctxt: *mut c_void) -> *mut c_char>,
pub getCommentEndString: Option<unsafe extern "C" fn(ctxt: *mut c_void) -> *mut c_char>,
pub getAnnotationStartString: Option<unsafe extern "C" fn(ctxt: *mut c_void) -> *mut c_char>,
pub getAnnotationEndString: Option<unsafe extern "C" fn(ctxt: *mut c_void) -> *mut c_char>,
}
Fields§
§context: *mut c_void
§freeObject: Option<unsafe extern "C" fn(ctxt: *mut c_void)>
§externalRefTaken: Option<unsafe extern "C" fn(ctxt: *mut c_void)>
§externalRefReleased: Option<unsafe extern "C" fn(ctxt: *mut c_void)>
§initTokenEmitter: Option<unsafe extern "C" fn(ctxt: *mut c_void, tokens: *mut BNHighLevelILTokenEmitter)>
§getExprText: Option<unsafe extern "C" fn(ctxt: *mut c_void, il: *mut BNHighLevelILFunction, exprIndex: usize, tokens: *mut BNHighLevelILTokenEmitter, settings: *mut BNDisassemblySettings, asFullAst: bool, precedence: BNOperatorPrecedence, statement: bool)>
§beginLines: Option<unsafe extern "C" fn(ctxt: *mut c_void, il: *mut BNHighLevelILFunction, exprIndex: usize, tokens: *mut BNHighLevelILTokenEmitter)>
§endLines: Option<unsafe extern "C" fn(ctxt: *mut c_void, il: *mut BNHighLevelILFunction, exprIndex: usize, tokens: *mut BNHighLevelILTokenEmitter)>
§getCommentStartString: Option<unsafe extern "C" fn(ctxt: *mut c_void) -> *mut c_char>
§getCommentEndString: Option<unsafe extern "C" fn(ctxt: *mut c_void) -> *mut c_char>
§getAnnotationStartString: Option<unsafe extern "C" fn(ctxt: *mut c_void) -> *mut c_char>
§getAnnotationEndString: Option<unsafe extern "C" fn(ctxt: *mut c_void) -> *mut c_char>
Trait Implementations§
source§impl Clone for BNCustomLanguageRepresentationFunction
impl Clone for BNCustomLanguageRepresentationFunction
source§fn clone(&self) -> BNCustomLanguageRepresentationFunction
fn clone(&self) -> BNCustomLanguageRepresentationFunction
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 moreimpl Copy for BNCustomLanguageRepresentationFunction
Auto Trait Implementations§
impl Freeze for BNCustomLanguageRepresentationFunction
impl RefUnwindSafe for BNCustomLanguageRepresentationFunction
impl !Send for BNCustomLanguageRepresentationFunction
impl !Sync for BNCustomLanguageRepresentationFunction
impl Unpin for BNCustomLanguageRepresentationFunction
impl UnwindSafe for BNCustomLanguageRepresentationFunction
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
)