Struct physx::material::PxMaterial [−][src]
A new type wrapper for PxMaterial. Parametrized by it's user data type.
Trait Implementations
impl<P, U> Class<P> for PxMaterial<U> where
PxMaterial: Class<P>,
[src]
PxMaterial: Class<P>,
impl<U> Drop for PxMaterial<U>
[src]
impl<M> Material for PxMaterial<M>
[src]
unsafe fn from_raw(
ptr: *mut PxMaterial,
user_data: Self::UserData
) -> Option<Owner<Self>>
[src]
ptr: *mut PxMaterial,
user_data: Self::UserData
) -> Option<Owner<Self>>
fn get_user_data(&self) -> &Self::UserData
[src]
fn get_user_data_mut(&mut self) -> &mut Self::UserData
[src]
fn get_reference_count(&self) -> u32
[src]
fn acquire_reference(&mut self)
[src]
fn set_dynamic_friction(&mut self, coefficient: f32)
[src]
fn get_dynamic_friction(&self) -> f32
[src]
fn set_static_friction(&mut self, coefficient: f32)
[src]
fn get_static_friction(&self) -> f32
[src]
fn set_restitution(&mut self, restitution: f32)
[src]
fn get_restitution(&self) -> f32
[src]
fn set_flag(&mut self, flag: MaterialFlag, set: bool)
[src]
fn set_flags(&mut self, flags: MaterialFlags)
[src]
fn get_flags(&self) -> MaterialFlags
[src]
fn set_friction_combined_mode(&mut self, combine_mode: CombineMode)
[src]
fn get_friction_combine_mode(&self) -> CombineMode
[src]
fn set_restitution_combine_mode(&mut self, combine_mode: CombineMode)
[src]
fn get_restitution_combine_mode(&self) -> CombineMode
[src]
impl<U: Send> Send for PxMaterial<U>
[src]
impl<U: Sync> Sync for PxMaterial<U>
[src]
Auto Trait Implementations
impl<U> RefUnwindSafe for PxMaterial<U> where
U: RefUnwindSafe,
U: RefUnwindSafe,
impl<U> Unpin for PxMaterial<U> where
U: Unpin,
U: Unpin,
impl<U> UnwindSafe for PxMaterial<U> where
U: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Base for T where
T: Class<PxBase>,
[src]
T: Class<PxBase>,
fn get_concrete_type_name(&self) -> Option<&str>
[src]
fn get_concrete_type(&self) -> ConcreteType
[src]
fn set_base_flag(&mut self, flag: BaseFlag, value: bool)
[src]
fn set_base_flags(&mut self, in_flags: BitFlags<BaseFlag>)
[src]
fn get_base_flags(&self) -> BitFlags<BaseFlag>
[src]
fn is_releasable(&self) -> bool
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,