Struct classicube_sys::IGameComponent
source · #[repr(C)]pub struct IGameComponent {
pub Init: Option<unsafe extern "C" fn()>,
pub Free: Option<unsafe extern "C" fn()>,
pub Reset: Option<unsafe extern "C" fn()>,
pub OnNewMap: Option<unsafe extern "C" fn()>,
pub OnNewMapLoaded: Option<unsafe extern "C" fn()>,
pub next: *mut IGameComponent,
}
Fields§
§Init: Option<unsafe extern "C" fn()>
§Free: Option<unsafe extern "C" fn()>
§Reset: Option<unsafe extern "C" fn()>
§OnNewMap: Option<unsafe extern "C" fn()>
§OnNewMapLoaded: Option<unsafe extern "C" fn()>
§next: *mut IGameComponent
Trait Implementations§
source§impl Clone for IGameComponent
impl Clone for IGameComponent
source§fn clone(&self) -> IGameComponent
fn clone(&self) -> IGameComponent
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 IGameComponent
impl Debug for IGameComponent
source§impl Hash for IGameComponent
impl Hash for IGameComponent
source§impl PartialEq for IGameComponent
impl PartialEq for IGameComponent
source§fn eq(&self, other: &IGameComponent) -> bool
fn eq(&self, other: &IGameComponent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IGameComponent
impl Eq for IGameComponent
impl StructuralPartialEq for IGameComponent
Auto Trait Implementations§
impl Freeze for IGameComponent
impl RefUnwindSafe for IGameComponent
impl !Send for IGameComponent
impl !Sync for IGameComponent
impl Unpin for IGameComponent
impl UnwindSafe for IGameComponent
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)