#[repr(C)]pub struct BNTypeArchiveNotification {
pub context: *mut c_void,
pub typeAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, archive: *mut BNTypeArchive, id: *const c_char, definition: *mut BNType)>,
pub typeUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, archive: *mut BNTypeArchive, id: *const c_char, oldDefinition: *mut BNType, newDefinition: *mut BNType)>,
pub typeRenamed: Option<unsafe extern "C" fn(ctxt: *mut c_void, archive: *mut BNTypeArchive, id: *const c_char, oldName: *const BNQualifiedName, newName: *const BNQualifiedName)>,
pub typeDeleted: Option<unsafe extern "C" fn(ctxt: *mut c_void, archive: *mut BNTypeArchive, id: *const c_char, definition: *mut BNType)>,
}
Fields§
§context: *mut c_void
§typeAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, archive: *mut BNTypeArchive, id: *const c_char, definition: *mut BNType)>
§typeUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, archive: *mut BNTypeArchive, id: *const c_char, oldDefinition: *mut BNType, newDefinition: *mut BNType)>
§typeRenamed: Option<unsafe extern "C" fn(ctxt: *mut c_void, archive: *mut BNTypeArchive, id: *const c_char, oldName: *const BNQualifiedName, newName: *const BNQualifiedName)>
§typeDeleted: Option<unsafe extern "C" fn(ctxt: *mut c_void, archive: *mut BNTypeArchive, id: *const c_char, definition: *mut BNType)>
Trait Implementations§
source§impl Clone for BNTypeArchiveNotification
impl Clone for BNTypeArchiveNotification
source§fn clone(&self) -> BNTypeArchiveNotification
fn clone(&self) -> BNTypeArchiveNotification
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 BNTypeArchiveNotification
impl Debug for BNTypeArchiveNotification
source§impl Default for BNTypeArchiveNotification
impl Default for BNTypeArchiveNotification
impl Copy for BNTypeArchiveNotification
Auto Trait Implementations§
impl Freeze for BNTypeArchiveNotification
impl RefUnwindSafe for BNTypeArchiveNotification
impl !Send for BNTypeArchiveNotification
impl !Sync for BNTypeArchiveNotification
impl Unpin for BNTypeArchiveNotification
impl UnwindSafe for BNTypeArchiveNotification
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
)