#[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
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