#[repr(u8)]pub enum MotionType {
Invalid = 0,
Dynamic = 1,
SphereInertia = 2,
BoxInertia = 3,
Keyframed = 4,
Fixed = 5,
ThinBoxInertia = 6,
Character = 7,
Total = 8,
}
Expand description
Enumeration of motion types for hkpMotion
.
Variants§
Invalid = 0
Dynamic = 1
SphereInertia = 2
BoxInertia = 3
Keyframed = 4
Fixed = 5
ThinBoxInertia = 6
Character = 7
Total = 8
Trait Implementations§
Source§impl Clone for MotionType
impl Clone for MotionType
Source§fn clone(&self) -> MotionType
fn clone(&self) -> MotionType
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 MotionType
impl Debug for MotionType
Source§impl From<MotionType> for MotionType_CEnum
impl From<MotionType> for MotionType_CEnum
Source§fn from(value: MotionType) -> Self
fn from(value: MotionType) -> Self
Converts to this type from the input type.
Source§impl TryFrom<MotionType_CEnum> for MotionType
impl TryFrom<MotionType_CEnum> for MotionType
impl Copy for MotionType
Auto Trait Implementations§
impl Freeze for MotionType
impl RefUnwindSafe for MotionType
impl Send for MotionType
impl Sync for MotionType
impl Unpin for MotionType
impl UnwindSafe for MotionType
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