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
type Output = BitFlags<MaterialFlag, <MaterialFlag as RawBitFlags>::Numeric>
type Output = BitFlags<MaterialFlag, <MaterialFlag as RawBitFlags>::Numeric>
The resulting type after applying the
&
operator.sourceimpl BitFlag for MaterialFlag
impl BitFlag for MaterialFlag
sourceimpl BitOr<MaterialFlag> for MaterialFlag
impl BitOr<MaterialFlag> for MaterialFlag
type Output = BitFlags<MaterialFlag, <MaterialFlag as RawBitFlags>::Numeric>
type Output = BitFlags<MaterialFlag, <MaterialFlag as RawBitFlags>::Numeric>
The resulting type after applying the
|
operator.sourceimpl BitXor<MaterialFlag> for MaterialFlag
impl BitXor<MaterialFlag> for MaterialFlag
type Output = BitFlags<MaterialFlag, <MaterialFlag as RawBitFlags>::Numeric>
type Output = BitFlags<MaterialFlag, <MaterialFlag as RawBitFlags>::Numeric>
The resulting type after applying the
^
operator.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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MaterialFlag
impl Debug for MaterialFlag
sourceimpl Not for MaterialFlag
impl Not for MaterialFlag
type Output = BitFlags<MaterialFlag, <MaterialFlag as RawBitFlags>::Numeric>
type Output = BitFlags<MaterialFlag, <MaterialFlag as RawBitFlags>::Numeric>
The resulting type after applying the
!
operator.sourceimpl RawBitFlags for MaterialFlag
impl RawBitFlags for MaterialFlag
sourceconst EMPTY: Self::Numeric = {transmute(0x0000): <material::MaterialFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: Self::Numeric = {transmute(0x0000): <material::MaterialFlag as enumflags2::_internal::RawBitFlags>::Numeric}
A value with no bits set.
sourceconst DEFAULT: Self::Numeric = {transmute(0x0000): <material::MaterialFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: Self::Numeric = {transmute(0x0000): <material::MaterialFlag as enumflags2::_internal::RawBitFlags>::Numeric}
The value used by the Default implementation. Equivalent to EMPTY, unless
customized. Read more
sourceconst ALL_BITS: Self::Numeric = {transmute(0x0007): <material::MaterialFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: Self::Numeric = {transmute(0x0007): <material::MaterialFlag as enumflags2::_internal::RawBitFlags>::Numeric}
A value with all flag bits set.
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 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