Struct classicube_sys::_ModelsData
source · #[repr(C)]pub struct _ModelsData {Show 14 fields
pub Cols: [PackedCol; 6],
pub uScale: f32,
pub vScale: f32,
pub cosHead: f32,
pub sinHead: f32,
pub Rotation: cc_uint8,
pub skinType: cc_uint8,
pub ClassicArms: cc_bool,
pub Active: *mut Model,
pub Vb: GfxResourceID,
pub Vertices: *mut VertexTextured,
pub MaxVertices: c_int,
pub Human: *mut Model,
pub Block: *mut Model,
}
Fields§
§Cols: [PackedCol; 6]
§uScale: f32
§vScale: f32
§cosHead: f32
§sinHead: f32
§Rotation: cc_uint8
§skinType: cc_uint8
§ClassicArms: cc_bool
§Active: *mut Model
§Vb: GfxResourceID
§Vertices: *mut VertexTextured
§MaxVertices: c_int
§Human: *mut Model
§Block: *mut Model
Trait Implementations§
source§impl Clone for _ModelsData
impl Clone for _ModelsData
source§fn clone(&self) -> _ModelsData
fn clone(&self) -> _ModelsData
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 _ModelsData
impl Debug for _ModelsData
source§impl PartialEq for _ModelsData
impl PartialEq for _ModelsData
source§fn eq(&self, other: &_ModelsData) -> bool
fn eq(&self, other: &_ModelsData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for _ModelsData
impl StructuralPartialEq for _ModelsData
Auto Trait Implementations§
impl Freeze for _ModelsData
impl RefUnwindSafe for _ModelsData
impl !Send for _ModelsData
impl !Sync for _ModelsData
impl Unpin for _ModelsData
impl UnwindSafe for _ModelsData
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
)