pub struct CombinedMaterial {
pub friction: Fix128,
pub restitution: Fix128,
}Expand description
Combined material result for a contact pair
Fields§
§friction: Fix128Combined friction
restitution: Fix128Combined restitution
Trait Implementations§
Source§impl Clone for CombinedMaterial
impl Clone for CombinedMaterial
impl Copy for CombinedMaterial
Source§impl Debug for CombinedMaterial
impl Debug for CombinedMaterial
impl Eq for CombinedMaterial
Source§impl PartialEq for CombinedMaterial
impl PartialEq for CombinedMaterial
impl StructuralPartialEq for CombinedMaterial
Auto Trait Implementations§
impl Freeze for CombinedMaterial
impl RefUnwindSafe for CombinedMaterial
impl Send for CombinedMaterial
impl Sync for CombinedMaterial
impl Unpin for CombinedMaterial
impl UnsafeUnpin for CombinedMaterial
impl UnwindSafe for CombinedMaterial
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more