#[repr(u64)]pub enum BaseObjectFilter {
Player = 1,
Vehicle = 2,
Ped = 4,
Object = 8,
}Variants§
Trait Implementations§
Source§impl BitAnd for BaseObjectFilter
impl BitAnd for BaseObjectFilter
Source§type Output = BitFlags<BaseObjectFilter>
type Output = BitFlags<BaseObjectFilter>
The resulting type after applying the
& operator.Source§fn bitand(self, other: BaseObjectFilter) -> <BaseObjectFilter as BitAnd>::Output
fn bitand(self, other: BaseObjectFilter) -> <BaseObjectFilter as BitAnd>::Output
Performs the
& operation. Read moreSource§impl BitFlag for BaseObjectFilter
impl BitFlag for BaseObjectFilter
Source§fn empty() -> BitFlags<Self>
fn empty() -> BitFlags<Self>
Create a
BitFlags with no flags set (in other words, with a value of 0). Read moreSource§fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>
fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>
Create a
BitFlags if the raw value provided does not contain
any illegal flags. Read moreSource§fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>
fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>
Create a
BitFlags from an underlying bitwise value. If any
invalid bits are set, ignore them. Read moreSource§unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>
unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>
Create a
BitFlags unsafely, without checking if the bits form
a valid bit pattern for the type. Read moreSource§impl BitOr for BaseObjectFilter
impl BitOr for BaseObjectFilter
Source§type Output = BitFlags<BaseObjectFilter>
type Output = BitFlags<BaseObjectFilter>
The resulting type after applying the
| operator.Source§fn bitor(self, other: BaseObjectFilter) -> <BaseObjectFilter as BitOr>::Output
fn bitor(self, other: BaseObjectFilter) -> <BaseObjectFilter as BitOr>::Output
Performs the
| operation. Read moreSource§impl BitXor for BaseObjectFilter
impl BitXor for BaseObjectFilter
Source§type Output = BitFlags<BaseObjectFilter>
type Output = BitFlags<BaseObjectFilter>
The resulting type after applying the
^ operator.Source§fn bitxor(self, other: BaseObjectFilter) -> <BaseObjectFilter as BitXor>::Output
fn bitxor(self, other: BaseObjectFilter) -> <BaseObjectFilter as BitXor>::Output
Performs the
^ operation. Read moreSource§impl Clone for BaseObjectFilter
impl Clone for BaseObjectFilter
Source§fn clone(&self) -> BaseObjectFilter
fn clone(&self) -> BaseObjectFilter
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BaseObjectFilter
impl Debug for BaseObjectFilter
Source§impl Not for BaseObjectFilter
impl Not for BaseObjectFilter
impl Copy for BaseObjectFilter
Auto Trait Implementations§
impl Freeze for BaseObjectFilter
impl RefUnwindSafe for BaseObjectFilter
impl Send for BaseObjectFilter
impl Sync for BaseObjectFilter
impl Unpin for BaseObjectFilter
impl UnwindSafe for BaseObjectFilter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more