#[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, name: *const c_char, config: *const BNDemanglerConfig, result: *mut BNDemanglerResult) -> bool>,
pub freeResult: Option<unsafe extern "C" fn(ctxt: *mut c_void, result: *mut BNDemanglerResult)>,
}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, name: *const c_char, config: *const BNDemanglerConfig, result: *mut BNDemanglerResult) -> bool>§freeResult: Option<unsafe extern "C" fn(ctxt: *mut c_void, result: *mut BNDemanglerResult)>Trait Implementations§
Source§impl Clone for BNDemanglerCallbacks
impl Clone for BNDemanglerCallbacks
Source§fn clone(&self) -> BNDemanglerCallbacks
fn clone(&self) -> BNDemanglerCallbacks
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BNDemanglerCallbacks
Source§impl Debug for BNDemanglerCallbacks
impl Debug for BNDemanglerCallbacks
Auto Trait Implementations§
impl !Send for BNDemanglerCallbacks
impl !Sync for BNDemanglerCallbacks
impl Freeze for BNDemanglerCallbacks
impl RefUnwindSafe for BNDemanglerCallbacks
impl Unpin for BNDemanglerCallbacks
impl UnsafeUnpin 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