pub struct M2PhysicsData {
pub shapes: Vec<M2PhysicsShape>,
pub bodies: Vec<u32>,
pub joints: Vec<M2PhysicsJoint>,
}Expand description
Represents the physics data section of an M2 model Introduced in Mists of Pandaria (5.x)
Fields§
§shapes: Vec<M2PhysicsShape>Physics collision shapes
bodies: Vec<u32>Physics bodies
joints: Vec<M2PhysicsJoint>Physics joints
Implementations§
Source§impl M2PhysicsData
impl M2PhysicsData
Trait Implementations§
Source§impl Clone for M2PhysicsData
impl Clone for M2PhysicsData
Source§fn clone(&self) -> M2PhysicsData
fn clone(&self) -> M2PhysicsData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for M2PhysicsData
impl RefUnwindSafe for M2PhysicsData
impl Send for M2PhysicsData
impl Sync for M2PhysicsData
impl Unpin for M2PhysicsData
impl UnsafeUnpin for M2PhysicsData
impl UnwindSafe for M2PhysicsData
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more