pub enum BodyKind {
Static,
Kinematic,
Dynamic {
mass: f32,
},
}Variants§
Static
Kinematic
Kinematic bodies integrate their velocity but never receive solver impulses.
Dynamic
Trait Implementations§
impl Copy for BodyKind
impl StructuralPartialEq for BodyKind
Auto Trait Implementations§
impl Freeze for BodyKind
impl RefUnwindSafe for BodyKind
impl Send for BodyKind
impl Sync for BodyKind
impl Unpin for BodyKind
impl UnwindSafe for BodyKind
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