#[repr(u32)]pub enum Physics2DServerBodyParameter {
BodyParamBounce = 0,
BodyParamFriction = 1,
BodyParamMass = 2,
BodyParamInertia = 3,
BodyParamGravityScale = 4,
BodyParamLinearDamp = 5,
BodyParamAngularDamp = 6,
BodyParamMax = 7,
}Variants§
BodyParamBounce = 0
BodyParamFriction = 1
BodyParamMass = 2
BodyParamInertia = 3
BodyParamGravityScale = 4
BodyParamLinearDamp = 5
BodyParamAngularDamp = 6
BodyParamMax = 7
Trait Implementations§
Source§impl Clone for Physics2DServerBodyParameter
impl Clone for Physics2DServerBodyParameter
Source§fn clone(&self) -> Physics2DServerBodyParameter
fn clone(&self) -> Physics2DServerBodyParameter
Returns a duplicate 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 Physics2DServerBodyParameter
impl Debug for Physics2DServerBodyParameter
Source§impl Hash for Physics2DServerBodyParameter
impl Hash for Physics2DServerBodyParameter
Source§impl PartialEq for Physics2DServerBodyParameter
impl PartialEq for Physics2DServerBodyParameter
Source§fn eq(&self, other: &Physics2DServerBodyParameter) -> bool
fn eq(&self, other: &Physics2DServerBodyParameter) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Physics2DServerBodyParameter
impl Eq for Physics2DServerBodyParameter
impl StructuralPartialEq for Physics2DServerBodyParameter
Auto Trait Implementations§
impl Freeze for Physics2DServerBodyParameter
impl RefUnwindSafe for Physics2DServerBodyParameter
impl Send for Physics2DServerBodyParameter
impl Sync for Physics2DServerBodyParameter
impl Unpin for Physics2DServerBodyParameter
impl UnwindSafe for Physics2DServerBodyParameter
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