#[repr(C)]pub struct BNDemanglerCallbacks {
pub context: *mut c_void,
pub isMangledString: Option<unsafe extern "C" fn(ctxt: *mut c_void, name: *const c_char) -> bool>,
pub demangle: Option<unsafe extern "C" fn(ctxt: *mut c_void, arch: *mut BNArchitecture, name: *const c_char, outType: *mut *mut BNType, outVarName: *mut BNQualifiedName, view: *mut BNBinaryView) -> bool>,
pub freeVarName: Option<unsafe extern "C" fn(ctxt: *mut c_void, name: *mut BNQualifiedName)>,
}
Fields§
§context: *mut c_void
§isMangledString: Option<unsafe extern "C" fn(ctxt: *mut c_void, name: *const c_char) -> bool>
§demangle: Option<unsafe extern "C" fn(ctxt: *mut c_void, arch: *mut BNArchitecture, name: *const c_char, outType: *mut *mut BNType, outVarName: *mut BNQualifiedName, view: *mut BNBinaryView) -> bool>
§freeVarName: Option<unsafe extern "C" fn(ctxt: *mut c_void, name: *mut BNQualifiedName)>
Trait Implementations§
source§impl Clone for BNDemanglerCallbacks
impl Clone for BNDemanglerCallbacks
source§fn clone(&self) -> BNDemanglerCallbacks
fn clone(&self) -> BNDemanglerCallbacks
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 BNDemanglerCallbacks
impl Debug for BNDemanglerCallbacks
source§impl Default for BNDemanglerCallbacks
impl Default for BNDemanglerCallbacks
impl Copy for BNDemanglerCallbacks
Auto Trait Implementations§
impl Freeze for BNDemanglerCallbacks
impl RefUnwindSafe for BNDemanglerCallbacks
impl !Send for BNDemanglerCallbacks
impl !Sync for BNDemanglerCallbacks
impl Unpin for BNDemanglerCallbacks
impl UnwindSafe for BNDemanglerCallbacks
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
)