Enum physx::shape::CollisionLayer
source · [−]#[repr(u32)]
pub enum CollisionLayer {
Ghost,
Terrain,
Static,
Character,
}
Expand description
Layers used for collision/querying of shapes
Variants
Ghost
Terrain
Static
Character
Trait Implementations
sourceimpl BitAnd<CollisionLayer> for CollisionLayer
impl BitAnd<CollisionLayer> for CollisionLayer
type Output = BitFlags<CollisionLayer, <CollisionLayer as RawBitFlags>::Numeric>
type Output = BitFlags<CollisionLayer, <CollisionLayer as RawBitFlags>::Numeric>
The resulting type after applying the
&
operator.sourceimpl BitFlag for CollisionLayer
impl BitFlag for CollisionLayer
sourceimpl BitOr<CollisionLayer> for CollisionLayer
impl BitOr<CollisionLayer> for CollisionLayer
type Output = BitFlags<CollisionLayer, <CollisionLayer as RawBitFlags>::Numeric>
type Output = BitFlags<CollisionLayer, <CollisionLayer as RawBitFlags>::Numeric>
The resulting type after applying the
|
operator.sourceimpl BitXor<CollisionLayer> for CollisionLayer
impl BitXor<CollisionLayer> for CollisionLayer
type Output = BitFlags<CollisionLayer, <CollisionLayer as RawBitFlags>::Numeric>
type Output = BitFlags<CollisionLayer, <CollisionLayer as RawBitFlags>::Numeric>
The resulting type after applying the
^
operator.sourceimpl Clone for CollisionLayer
impl Clone for CollisionLayer
sourcefn clone(&self) -> CollisionLayer
fn clone(&self) -> CollisionLayer
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 moresourceimpl Debug for CollisionLayer
impl Debug for CollisionLayer
sourceimpl Not for CollisionLayer
impl Not for CollisionLayer
type Output = BitFlags<CollisionLayer, <CollisionLayer as RawBitFlags>::Numeric>
type Output = BitFlags<CollisionLayer, <CollisionLayer as RawBitFlags>::Numeric>
The resulting type after applying the
!
operator.sourceimpl RawBitFlags for CollisionLayer
impl RawBitFlags for CollisionLayer
sourceconst EMPTY: Self::Numeric = {transmute(0x00000000): <shape::CollisionLayer as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: Self::Numeric = {transmute(0x00000000): <shape::CollisionLayer as enumflags2::_internal::RawBitFlags>::Numeric}
A value with no bits set.
sourceconst DEFAULT: Self::Numeric = {transmute(0x00000000): <shape::CollisionLayer as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: Self::Numeric = {transmute(0x00000000): <shape::CollisionLayer 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(0x0000000f): <shape::CollisionLayer as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: Self::Numeric = {transmute(0x0000000f): <shape::CollisionLayer 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 CollisionLayer
Auto Trait Implementations
impl RefUnwindSafe for CollisionLayer
impl Send for CollisionLayer
impl Sync for CollisionLayer
impl Unpin for CollisionLayer
impl UnwindSafe for CollisionLayer
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