pub struct ProjectorFlag(pub i32);Expand description
Projector flags (PROJ.flags)
Bit flags. Combine with |, test with ProjectorFlag::contains.
Tuple Fields§
§0: i32Implementations§
Source§impl ProjectorFlag
impl ProjectorFlag
pub const NONE: Self
Sourcepub const UNKNOWN_FLAG_0X_2: Self
pub const UNKNOWN_FLAG_0X_2: Self
Unknown
Sourcepub const UNKNOWN_FLAG_0X_4: Self
pub const UNKNOWN_FLAG_0X_4: Self
Unknown
Sourcepub const UNKNOWN_FLAG_0X_8: Self
pub const UNKNOWN_FLAG_0X_8: Self
Unknown
pub const fn contains(self, other: Self) -> bool
pub const fn is_empty(self) -> bool
Trait Implementations§
Source§impl BitAnd for ProjectorFlag
impl BitAnd for ProjectorFlag
Source§impl BitOr for ProjectorFlag
impl BitOr for ProjectorFlag
Source§impl Clone for ProjectorFlag
impl Clone for ProjectorFlag
Source§fn clone(&self) -> ProjectorFlag
fn clone(&self) -> ProjectorFlag
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProjectorFlag
Source§impl Debug for ProjectorFlag
impl Debug for ProjectorFlag
Source§impl Default for ProjectorFlag
impl Default for ProjectorFlag
Source§fn default() -> ProjectorFlag
fn default() -> ProjectorFlag
Returns the “default value” for a type. Read more
impl Eq for ProjectorFlag
Source§impl Hash for ProjectorFlag
impl Hash for ProjectorFlag
Source§impl Not for ProjectorFlag
impl Not for ProjectorFlag
Source§impl PartialEq for ProjectorFlag
impl PartialEq for ProjectorFlag
impl StructuralPartialEq for ProjectorFlag
Auto Trait Implementations§
impl Freeze for ProjectorFlag
impl RefUnwindSafe for ProjectorFlag
impl Send for ProjectorFlag
impl Sync for ProjectorFlag
impl Unpin for ProjectorFlag
impl UnsafeUnpin for ProjectorFlag
impl UnwindSafe for ProjectorFlag
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