Enum physx::scene::ActorTypeFlag
source · [−]#[repr(u16)]
pub enum ActorTypeFlag {
RigidStatic,
RigidDynamic,
}
Variants
RigidStatic
RigidDynamic
Trait Implementations
sourceimpl BitAnd<ActorTypeFlag> for ActorTypeFlag
impl BitAnd<ActorTypeFlag> for ActorTypeFlag
type Output = BitFlags<ActorTypeFlag, <ActorTypeFlag as RawBitFlags>::Numeric>
type Output = BitFlags<ActorTypeFlag, <ActorTypeFlag as RawBitFlags>::Numeric>
The resulting type after applying the
&
operator.sourceimpl BitFlag for ActorTypeFlag
impl BitFlag for ActorTypeFlag
sourceimpl BitOr<ActorTypeFlag> for ActorTypeFlag
impl BitOr<ActorTypeFlag> for ActorTypeFlag
type Output = BitFlags<ActorTypeFlag, <ActorTypeFlag as RawBitFlags>::Numeric>
type Output = BitFlags<ActorTypeFlag, <ActorTypeFlag as RawBitFlags>::Numeric>
The resulting type after applying the
|
operator.sourceimpl BitXor<ActorTypeFlag> for ActorTypeFlag
impl BitXor<ActorTypeFlag> for ActorTypeFlag
type Output = BitFlags<ActorTypeFlag, <ActorTypeFlag as RawBitFlags>::Numeric>
type Output = BitFlags<ActorTypeFlag, <ActorTypeFlag as RawBitFlags>::Numeric>
The resulting type after applying the
^
operator.sourceimpl Clone for ActorTypeFlag
impl Clone for ActorTypeFlag
sourcefn clone(&self) -> ActorTypeFlag
fn clone(&self) -> ActorTypeFlag
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 ActorTypeFlag
impl Debug for ActorTypeFlag
sourceimpl Not for ActorTypeFlag
impl Not for ActorTypeFlag
type Output = BitFlags<ActorTypeFlag, <ActorTypeFlag as RawBitFlags>::Numeric>
type Output = BitFlags<ActorTypeFlag, <ActorTypeFlag as RawBitFlags>::Numeric>
The resulting type after applying the
!
operator.sourceimpl RawBitFlags for ActorTypeFlag
impl RawBitFlags for ActorTypeFlag
sourceconst EMPTY: Self::Numeric = {transmute(0x0000): <scene::ActorTypeFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: Self::Numeric = {transmute(0x0000): <scene::ActorTypeFlag as enumflags2::_internal::RawBitFlags>::Numeric}
A value with no bits set.
sourceconst DEFAULT: Self::Numeric = {transmute(0x0000): <scene::ActorTypeFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: Self::Numeric = {transmute(0x0000): <scene::ActorTypeFlag 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(0x0003): <scene::ActorTypeFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: Self::Numeric = {transmute(0x0003): <scene::ActorTypeFlag 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 ActorTypeFlag
Auto Trait Implementations
impl RefUnwindSafe for ActorTypeFlag
impl Send for ActorTypeFlag
impl Sync for ActorTypeFlag
impl Unpin for ActorTypeFlag
impl UnwindSafe for ActorTypeFlag
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