#[repr(C)]pub struct EntityEventListenerI {
pub inst: *mut c_void,
pub user_data: *mut c_void,
pub notify: Option<unsafe extern "C" fn(inst: *mut c_void, ctx: *mut EntityContextO, event: StrhashT, e: EntityT, event_data: *const c_void, event_data_bytes: u32, user_data: *mut c_void)>,
}Fields§
§inst: *mut c_void§user_data: *mut c_void§notify: Option<unsafe extern "C" fn(inst: *mut c_void, ctx: *mut EntityContextO, event: StrhashT, e: EntityT, event_data: *const c_void, event_data_bytes: u32, user_data: *mut c_void)>Trait Implementations§
Source§impl Clone for EntityEventListenerI
impl Clone for EntityEventListenerI
Source§fn clone(&self) -> EntityEventListenerI
fn clone(&self) -> EntityEventListenerI
Returns a duplicate 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 Default for EntityEventListenerI
impl Default for EntityEventListenerI
impl Copy for EntityEventListenerI
Auto Trait Implementations§
impl Freeze for EntityEventListenerI
impl RefUnwindSafe for EntityEventListenerI
impl !Send for EntityEventListenerI
impl !Sync for EntityEventListenerI
impl Unpin for EntityEventListenerI
impl UnwindSafe for EntityEventListenerI
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