Struct physx::traits::descriptor::MaterialDescriptor
source · [−]pub struct MaterialDescriptor<U> {
pub static_friction: f32,
pub dynamic_friction: f32,
pub restitution: f32,
pub user_data: U,
}
Fields
static_friction: f32
dynamic_friction: f32
restitution: f32
user_data: U
Trait Implementations
Auto Trait Implementations
impl<U> RefUnwindSafe for MaterialDescriptor<U>where
U: RefUnwindSafe,
impl<U> Send for MaterialDescriptor<U>where
U: Send,
impl<U> Sync for MaterialDescriptor<U>where
U: Sync,
impl<U> Unpin for MaterialDescriptor<U>where
U: Unpin,
impl<U> UnwindSafe for MaterialDescriptor<U>where
U: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more