#[repr(C)]pub struct EntityVTABLE {
pub Tick: Option<unsafe extern "C" fn(e: *mut Entity, delta: f32)>,
pub Despawn: Option<unsafe extern "C" fn(e: *mut Entity)>,
pub SetLocation: Option<unsafe extern "C" fn(e: *mut Entity, update: *mut LocationUpdate)>,
pub GetCol: Option<unsafe extern "C" fn(e: *mut Entity) -> PackedCol>,
pub RenderModel: Option<unsafe extern "C" fn(e: *mut Entity, delta: f32, t: f32)>,
pub ShouldRenderName: Option<unsafe extern "C" fn(e: *mut Entity) -> cc_bool>,
}
Fields§
§Tick: Option<unsafe extern "C" fn(e: *mut Entity, delta: f32)>
§Despawn: Option<unsafe extern "C" fn(e: *mut Entity)>
§SetLocation: Option<unsafe extern "C" fn(e: *mut Entity, update: *mut LocationUpdate)>
§GetCol: Option<unsafe extern "C" fn(e: *mut Entity) -> PackedCol>
§RenderModel: Option<unsafe extern "C" fn(e: *mut Entity, delta: f32, t: f32)>
§ShouldRenderName: Option<unsafe extern "C" fn(e: *mut Entity) -> cc_bool>
Trait Implementations§
Source§impl Clone for EntityVTABLE
impl Clone for EntityVTABLE
Source§fn clone(&self) -> EntityVTABLE
fn clone(&self) -> EntityVTABLE
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 EntityVTABLE
impl Debug for EntityVTABLE
Source§impl Hash for EntityVTABLE
impl Hash for EntityVTABLE
Source§impl PartialEq for EntityVTABLE
impl PartialEq for EntityVTABLE
impl Copy for EntityVTABLE
impl Eq for EntityVTABLE
impl StructuralPartialEq for EntityVTABLE
Auto Trait Implementations§
impl Freeze for EntityVTABLE
impl RefUnwindSafe for EntityVTABLE
impl Send for EntityVTABLE
impl Sync for EntityVTABLE
impl Unpin for EntityVTABLE
impl UnwindSafe for EntityVTABLE
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