Enum physx::material::MaterialFlag
source · [−]#[repr(u16)]
pub enum MaterialFlag {
DisableFriction,
DisableStrongFriction,
ImprovedPatchFriction,
}
Variants
DisableFriction
DisableStrongFriction
ImprovedPatchFriction
Trait Implementations
sourceimpl BitAnd<MaterialFlag> for MaterialFlag
impl BitAnd<MaterialFlag> for MaterialFlag
sourceimpl BitFlag for MaterialFlag
impl BitFlag for MaterialFlag
sourceimpl BitOr<MaterialFlag> for MaterialFlag
impl BitOr<MaterialFlag> for MaterialFlag
sourceimpl BitXor<MaterialFlag> for MaterialFlag
impl BitXor<MaterialFlag> for MaterialFlag
sourceimpl Clone for MaterialFlag
impl Clone for MaterialFlag
sourcefn clone(&self) -> MaterialFlag
fn clone(&self) -> MaterialFlag
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MaterialFlag
impl Debug for MaterialFlag
sourceimpl Not for MaterialFlag
impl Not for MaterialFlag
sourceimpl RawBitFlags for MaterialFlag
impl RawBitFlags for MaterialFlag
sourceconst DEFAULT: Self::Numeric
const DEFAULT: Self::Numeric
The value used by the Default implementation. Equivalent to EMPTY, unless customized. Read more
sourceconst FLAG_LIST: &'static [Self]
const FLAG_LIST: &'static [Self]
A slice that contains each variant exactly one.
sourceconst BITFLAGS_TYPE_NAME: &'static str
const BITFLAGS_TYPE_NAME: &'static str
The name of the type for debug formatting purposes. Read more
impl Copy for MaterialFlag
Auto Trait Implementations
impl RefUnwindSafe for MaterialFlag
impl Send for MaterialFlag
impl Sync for MaterialFlag
impl Unpin for MaterialFlag
impl UnwindSafe for MaterialFlag
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more