#[repr(u32)]pub enum RigidBodyMode {
ModeRigid = 0,
ModeStatic = 1,
ModeCharacter = 2,
ModeKinematic = 3,
}Variants§
Trait Implementations§
Source§impl Clone for RigidBodyMode
impl Clone for RigidBodyMode
Source§fn clone(&self) -> RigidBodyMode
fn clone(&self) -> RigidBodyMode
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 moreimpl Copy for RigidBodyMode
Source§impl Debug for RigidBodyMode
impl Debug for RigidBodyMode
impl Eq for RigidBodyMode
Source§impl Hash for RigidBodyMode
impl Hash for RigidBodyMode
Source§impl PartialEq for RigidBodyMode
impl PartialEq for RigidBodyMode
Source§fn eq(&self, other: &RigidBodyMode) -> bool
fn eq(&self, other: &RigidBodyMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RigidBodyMode
Auto Trait Implementations§
impl Freeze for RigidBodyMode
impl RefUnwindSafe for RigidBodyMode
impl Send for RigidBodyMode
impl Sync for RigidBodyMode
impl Unpin for RigidBodyMode
impl UnsafeUnpin for RigidBodyMode
impl UnwindSafe for RigidBodyMode
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