#[repr(C)]pub struct BNCustomBinaryViewType {
pub context: *mut c_void,
pub create: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView) -> *mut BNBinaryView>,
pub parse: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView) -> *mut BNBinaryView>,
pub isValidForData: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView) -> bool>,
pub isDeprecated: Option<unsafe extern "C" fn(ctxt: *mut c_void) -> bool>,
pub isForceLoadable: Option<unsafe extern "C" fn(ctxt: *mut c_void) -> bool>,
pub getLoadSettingsForData: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView) -> *mut BNSettings>,
}
Fields§
§context: *mut c_void
§create: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView) -> *mut BNBinaryView>
§parse: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView) -> *mut BNBinaryView>
§isValidForData: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView) -> bool>
§isDeprecated: Option<unsafe extern "C" fn(ctxt: *mut c_void) -> bool>
§isForceLoadable: Option<unsafe extern "C" fn(ctxt: *mut c_void) -> bool>
§getLoadSettingsForData: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView) -> *mut BNSettings>
Trait Implementations§
source§impl Clone for BNCustomBinaryViewType
impl Clone for BNCustomBinaryViewType
source§fn clone(&self) -> BNCustomBinaryViewType
fn clone(&self) -> BNCustomBinaryViewType
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 BNCustomBinaryViewType
impl Debug for BNCustomBinaryViewType
source§impl Default for BNCustomBinaryViewType
impl Default for BNCustomBinaryViewType
impl Copy for BNCustomBinaryViewType
Auto Trait Implementations§
impl Freeze for BNCustomBinaryViewType
impl RefUnwindSafe for BNCustomBinaryViewType
impl !Send for BNCustomBinaryViewType
impl !Sync for BNCustomBinaryViewType
impl Unpin for BNCustomBinaryViewType
impl UnwindSafe for BNCustomBinaryViewType
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
)