Struct classicube_sys::CustomModelPart
source · #[repr(C)]pub struct CustomModelPart {
pub modelPart: ModelPart,
pub rotation: Vec3,
pub anims: [CustomModelAnim; 4],
pub animType: [cc_uint8; 4],
pub animAxis: [cc_uint8; 4],
pub fullbright: cc_bool,
pub firstPersonArm: cc_bool,
}
Fields§
§modelPart: ModelPart
§rotation: Vec3
§anims: [CustomModelAnim; 4]
§animType: [cc_uint8; 4]
§animAxis: [cc_uint8; 4]
§fullbright: cc_bool
§firstPersonArm: cc_bool
Trait Implementations§
source§impl Clone for CustomModelPart
impl Clone for CustomModelPart
source§fn clone(&self) -> CustomModelPart
fn clone(&self) -> CustomModelPart
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 CustomModelPart
impl Debug for CustomModelPart
source§impl PartialEq for CustomModelPart
impl PartialEq for CustomModelPart
source§fn eq(&self, other: &CustomModelPart) -> bool
fn eq(&self, other: &CustomModelPart) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CustomModelPart
impl StructuralPartialEq for CustomModelPart
Auto Trait Implementations§
impl Freeze for CustomModelPart
impl RefUnwindSafe for CustomModelPart
impl Send for CustomModelPart
impl Sync for CustomModelPart
impl Unpin for CustomModelPart
impl UnwindSafe for CustomModelPart
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
)