Struct classicube_sys::CustomModelPartDef
source · #[repr(C)]pub struct CustomModelPartDef {
pub min: Vec3,
pub max: Vec3,
pub u1: [cc_uint16; 6],
pub v1: [cc_uint16; 6],
pub u2: [cc_uint16; 6],
pub v2: [cc_uint16; 6],
pub rotationOrigin: Vec3,
pub flags: cc_uint8,
}
Fields§
§min: Vec3
§max: Vec3
§u1: [cc_uint16; 6]
§v1: [cc_uint16; 6]
§u2: [cc_uint16; 6]
§v2: [cc_uint16; 6]
§rotationOrigin: Vec3
§flags: cc_uint8
Trait Implementations§
source§impl Clone for CustomModelPartDef
impl Clone for CustomModelPartDef
source§fn clone(&self) -> CustomModelPartDef
fn clone(&self) -> CustomModelPartDef
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 CustomModelPartDef
impl Debug for CustomModelPartDef
source§impl PartialEq for CustomModelPartDef
impl PartialEq for CustomModelPartDef
source§fn eq(&self, other: &CustomModelPartDef) -> bool
fn eq(&self, other: &CustomModelPartDef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CustomModelPartDef
impl StructuralPartialEq for CustomModelPartDef
Auto Trait Implementations§
impl Freeze for CustomModelPartDef
impl RefUnwindSafe for CustomModelPartDef
impl Send for CustomModelPartDef
impl Sync for CustomModelPartDef
impl Unpin for CustomModelPartDef
impl UnwindSafe for CustomModelPartDef
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
)