pub struct BodyParameter(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl BodyParameter
impl BodyParameter
pub const BOUNCE: BodyParameter
pub const FRICTION: BodyParameter
pub const MASS: BodyParameter
pub const INERTIA: BodyParameter
pub const GRAVITY_SCALE: BodyParameter
pub const LINEAR_DAMP: BodyParameter
pub const ANGULAR_DAMP: BodyParameter
pub const MAX: BodyParameter
Trait Implementations§
Source§impl Clone for BodyParameter
impl Clone for BodyParameter
Source§fn clone(&self) -> BodyParameter
fn clone(&self) -> BodyParameter
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 BodyParameter
impl Debug for BodyParameter
Source§impl From<BodyParameter> for i64
impl From<BodyParameter> for i64
Source§fn from(v: BodyParameter) -> Self
fn from(v: BodyParameter) -> Self
Converts to this type from the input type.
Source§impl From<i64> for BodyParameter
impl From<i64> for BodyParameter
Source§impl FromVariant for BodyParameter
impl FromVariant for BodyParameter
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for BodyParameter
impl Hash for BodyParameter
Source§impl Ord for BodyParameter
impl Ord for BodyParameter
Source§fn cmp(&self, other: &BodyParameter) -> Ordering
fn cmp(&self, other: &BodyParameter) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BodyParameter
impl PartialEq for BodyParameter
Source§impl PartialOrd for BodyParameter
impl PartialOrd for BodyParameter
impl Copy for BodyParameter
impl Eq for BodyParameter
impl StructuralPartialEq for BodyParameter
Auto Trait Implementations§
impl Freeze for BodyParameter
impl RefUnwindSafe for BodyParameter
impl Send for BodyParameter
impl Sync for BodyParameter
impl Unpin for BodyParameter
impl UnwindSafe for BodyParameter
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.