#[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
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