pub struct ToolPurposeFlagBits(/* private fields */);Expand description
Implementations§
Source§impl ToolPurposeFlagBits
impl ToolPurposeFlagBits
Sourcepub const VALIDATION: Self
pub const VALIDATION: Self
Bit 0.
Sourcepub const ADDITIONAL_FEATURES: Self
pub const ADDITIONAL_FEATURES: Self
Bit 3.
Sourcepub const MODIFYING_FEATURES: Self
pub const MODIFYING_FEATURES: Self
Bit 4.
Sourcepub const DEBUG_REPORTING: Self
pub const DEBUG_REPORTING: Self
Bit 5.
Sourcepub const DEBUG_MARKERS: Self
pub const DEBUG_MARKERS: Self
Bit 6.
pub const fn empty() -> Self
pub const fn from_raw(value: u32) -> Self
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: Self) -> bool
pub const fn all() -> Self
Trait Implementations§
Source§impl BitAnd for ToolPurposeFlagBits
impl BitAnd for ToolPurposeFlagBits
Source§impl BitAndAssign for ToolPurposeFlagBits
impl BitAndAssign for ToolPurposeFlagBits
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for ToolPurposeFlagBits
impl BitOr for ToolPurposeFlagBits
Source§impl BitOrAssign for ToolPurposeFlagBits
impl BitOrAssign for ToolPurposeFlagBits
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for ToolPurposeFlagBits
impl BitXor for ToolPurposeFlagBits
Source§impl BitXorAssign for ToolPurposeFlagBits
impl BitXorAssign for ToolPurposeFlagBits
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for ToolPurposeFlagBits
impl Clone for ToolPurposeFlagBits
Source§fn clone(&self) -> ToolPurposeFlagBits
fn clone(&self) -> ToolPurposeFlagBits
Returns a duplicate 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 ToolPurposeFlagBits
impl Debug for ToolPurposeFlagBits
Source§impl Default for ToolPurposeFlagBits
impl Default for ToolPurposeFlagBits
Source§fn default() -> ToolPurposeFlagBits
fn default() -> ToolPurposeFlagBits
Returns the “default value” for a type. Read more
Source§impl Hash for ToolPurposeFlagBits
impl Hash for ToolPurposeFlagBits
Source§impl Not for ToolPurposeFlagBits
impl Not for ToolPurposeFlagBits
Source§impl Ord for ToolPurposeFlagBits
impl Ord for ToolPurposeFlagBits
Source§fn cmp(&self, other: &ToolPurposeFlagBits) -> Ordering
fn cmp(&self, other: &ToolPurposeFlagBits) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ToolPurposeFlagBits
impl PartialEq for ToolPurposeFlagBits
Source§impl PartialOrd for ToolPurposeFlagBits
impl PartialOrd for ToolPurposeFlagBits
impl Copy for ToolPurposeFlagBits
impl Eq for ToolPurposeFlagBits
impl StructuralPartialEq for ToolPurposeFlagBits
Auto Trait Implementations§
impl Freeze for ToolPurposeFlagBits
impl RefUnwindSafe for ToolPurposeFlagBits
impl Send for ToolPurposeFlagBits
impl Sync for ToolPurposeFlagBits
impl Unpin for ToolPurposeFlagBits
impl UnsafeUnpin for ToolPurposeFlagBits
impl UnwindSafe for ToolPurposeFlagBits
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