pub struct ToolPurposeFlagBits(/* private fields */);Expand description
Implementations§
Source§impl ToolPurposeFlagBits
impl ToolPurposeFlagBits
Sourcepub const VALIDATION: ToolPurposeFlagBits
pub const VALIDATION: ToolPurposeFlagBits
Bit 0.
Sourcepub const PROFILING: ToolPurposeFlagBits
pub const PROFILING: ToolPurposeFlagBits
Bit 1.
Sourcepub const TRACING: ToolPurposeFlagBits
pub const TRACING: ToolPurposeFlagBits
Bit 2.
Sourcepub const ADDITIONAL_FEATURES: ToolPurposeFlagBits
pub const ADDITIONAL_FEATURES: ToolPurposeFlagBits
Bit 3.
Sourcepub const MODIFYING_FEATURES: ToolPurposeFlagBits
pub const MODIFYING_FEATURES: ToolPurposeFlagBits
Bit 4.
Sourcepub const DEBUG_REPORTING: ToolPurposeFlagBits
pub const DEBUG_REPORTING: ToolPurposeFlagBits
Bit 5.
Sourcepub const DEBUG_MARKERS: ToolPurposeFlagBits
pub const DEBUG_MARKERS: ToolPurposeFlagBits
Bit 6.
pub const fn empty() -> ToolPurposeFlagBits
pub const fn from_raw(value: u32) -> ToolPurposeFlagBits
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: ToolPurposeFlagBits) -> bool
pub const fn all() -> ToolPurposeFlagBits
Trait Implementations§
Source§impl BitAnd for ToolPurposeFlagBits
impl BitAnd for ToolPurposeFlagBits
Source§type Output = ToolPurposeFlagBits
type Output = ToolPurposeFlagBits
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: ToolPurposeFlagBits) -> ToolPurposeFlagBits
fn bitand(self, rhs: ToolPurposeFlagBits) -> ToolPurposeFlagBits
Performs the
& operation. Read moreSource§impl BitAndAssign for ToolPurposeFlagBits
impl BitAndAssign for ToolPurposeFlagBits
Source§fn bitand_assign(&mut self, rhs: ToolPurposeFlagBits)
fn bitand_assign(&mut self, rhs: ToolPurposeFlagBits)
Performs the
&= operation. Read moreSource§impl BitOr for ToolPurposeFlagBits
impl BitOr for ToolPurposeFlagBits
Source§type Output = ToolPurposeFlagBits
type Output = ToolPurposeFlagBits
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: ToolPurposeFlagBits) -> ToolPurposeFlagBits
fn bitor(self, rhs: ToolPurposeFlagBits) -> ToolPurposeFlagBits
Performs the
| operation. Read moreSource§impl BitOrAssign for ToolPurposeFlagBits
impl BitOrAssign for ToolPurposeFlagBits
Source§fn bitor_assign(&mut self, rhs: ToolPurposeFlagBits)
fn bitor_assign(&mut self, rhs: ToolPurposeFlagBits)
Performs the
|= operation. Read moreSource§impl BitXor for ToolPurposeFlagBits
impl BitXor for ToolPurposeFlagBits
Source§type Output = ToolPurposeFlagBits
type Output = ToolPurposeFlagBits
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: ToolPurposeFlagBits) -> ToolPurposeFlagBits
fn bitxor(self, rhs: ToolPurposeFlagBits) -> ToolPurposeFlagBits
Performs the
^ operation. Read moreSource§impl BitXorAssign for ToolPurposeFlagBits
impl BitXorAssign for ToolPurposeFlagBits
Source§fn bitxor_assign(&mut self, rhs: ToolPurposeFlagBits)
fn bitxor_assign(&mut self, rhs: ToolPurposeFlagBits)
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§type Output = ToolPurposeFlagBits
type Output = ToolPurposeFlagBits
The resulting type after applying the
! operator.Source§fn not(self) -> ToolPurposeFlagBits
fn not(self) -> ToolPurposeFlagBits
Performs the unary
! operation. Read moreSource§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