Struct classicube_sys::CustomModel
source · #[repr(C)]pub struct CustomModel {Show 14 fields
pub model: Model,
pub name: [c_char; 65],
pub registered: cc_bool,
pub defined: cc_bool,
pub curPartIndex: cc_uint8,
pub nameY: f32,
pub eyeY: f32,
pub collisionBounds: Vec3,
pub pickingBoundsAABB: AABB,
pub uScale: cc_uint16,
pub vScale: cc_uint16,
pub numParts: cc_uint8,
pub numArmParts: cc_uint8,
pub parts: [CustomModelPart; 64],
}
Fields§
§model: Model
§name: [c_char; 65]
§registered: cc_bool
§defined: cc_bool
§curPartIndex: cc_uint8
§nameY: f32
§eyeY: f32
§collisionBounds: Vec3
§pickingBoundsAABB: AABB
§uScale: cc_uint16
§vScale: cc_uint16
§numParts: cc_uint8
§numArmParts: cc_uint8
§parts: [CustomModelPart; 64]
Trait Implementations§
source§impl Clone for CustomModel
impl Clone for CustomModel
source§fn clone(&self) -> CustomModel
fn clone(&self) -> CustomModel
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 CustomModel
impl Debug for CustomModel
source§impl PartialEq for CustomModel
impl PartialEq for CustomModel
source§fn eq(&self, other: &CustomModel) -> bool
fn eq(&self, other: &CustomModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CustomModel
impl StructuralPartialEq for CustomModel
Auto Trait Implementations§
impl Freeze for CustomModel
impl RefUnwindSafe for CustomModel
impl !Send for CustomModel
impl !Sync for CustomModel
impl Unpin for CustomModel
impl UnwindSafe for CustomModel
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
)