#[repr(C)]
pub struct Entity {Show 29 fields
pub VTABLE: *const EntityVTABLE,
pub Position: Vec3,
pub Pitch: f32,
pub Yaw: f32,
pub RotX: f32,
pub RotY: f32,
pub RotZ: f32,
pub Velocity: Vec3,
pub Model: *mut Model,
pub ModelBlock: BlockID,
pub ModelRestrictedScale: cc_bool,
pub ShouldRender: cc_bool,
pub ModelAABB: AABB,
pub ModelScale: Vec3,
pub Size: Vec3,
pub _skinReqID: c_int,
pub SkinType: cc_uint8,
pub SkinFetchState: cc_uint8,
pub NoShade: cc_bool,
pub OnGround: cc_bool,
pub TextureId: GfxResourceID,
pub MobTextureId: GfxResourceID,
pub uScale: f32,
pub vScale: f32,
pub Transform: Matrix,
pub Anim: AnimatedComp,
pub SkinRaw: [c_char; 64],
pub NameRaw: [c_char; 64],
pub NameTex: Texture,
}
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.