Struct classicube_sys::CustomModel
source · #[repr(C)]pub struct CustomModel {Show 13 fields
pub model: Model,
pub name: [c_char; 65],
pub registered: cc_bool,
pub defined: cc_bool,
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 curPartIndex: cc_uint8,
pub parts: [CustomModelPart; 64],
}Fields§
§model: Model§name: [c_char; 65]§registered: cc_bool§defined: cc_bool§nameY: f32§eyeY: f32§collisionBounds: Vec3§pickingBoundsAABB: AABB§uScale: cc_uint16§vScale: cc_uint16§numParts: cc_uint8§curPartIndex: 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 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