pub struct MarkerTraits(/* private fields */);Expand description
Bitflags tracking implementation of Rust’s marker/auto traits.
Implementations§
Source§impl MarkerTraits
impl MarkerTraits
Sourcepub const UNWIND_SAFE: Self
pub const UNWIND_SAFE: Self
Type implements UnwindSafe
Sourcepub const REF_UNWIND_SAFE: Self
pub const REF_UNWIND_SAFE: Self
Type implements RefUnwindSafe
Sourcepub const fn contains(self, other: Self) -> bool
pub const fn contains(self, other: Self) -> bool
Returns true if all flags in other are contained in self.
Sourcepub const fn intersection(self, other: Self) -> Self
pub const fn intersection(self, other: Self) -> Self
Returns the intersection of self and other.
Sourcepub const fn from_bits_retain(bits: u8) -> Self
pub const fn from_bits_retain(bits: u8) -> Self
Creates from raw bits (unchecked).
Trait Implementations§
Source§impl BitAnd for MarkerTraits
impl BitAnd for MarkerTraits
Source§impl BitAndAssign for MarkerTraits
impl BitAndAssign for MarkerTraits
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for MarkerTraits
impl BitOr for MarkerTraits
Source§impl BitOrAssign for MarkerTraits
impl BitOrAssign for MarkerTraits
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for MarkerTraits
impl BitXor for MarkerTraits
Source§impl BitXorAssign for MarkerTraits
impl BitXorAssign for MarkerTraits
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for MarkerTraits
impl Clone for MarkerTraits
Source§fn clone(&self) -> MarkerTraits
fn clone(&self) -> MarkerTraits
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 MarkerTraits
impl Debug for MarkerTraits
Source§impl Default for MarkerTraits
impl Default for MarkerTraits
Source§fn default() -> MarkerTraits
fn default() -> MarkerTraits
Returns the “default value” for a type. Read more
Source§impl Facet<'_> for MarkerTraits
impl Facet<'_> for MarkerTraits
Source§impl Hash for MarkerTraits
impl Hash for MarkerTraits
Source§impl Not for MarkerTraits
impl Not for MarkerTraits
Source§impl PartialEq for MarkerTraits
impl PartialEq for MarkerTraits
impl Copy for MarkerTraits
impl Eq for MarkerTraits
impl StructuralPartialEq for MarkerTraits
Auto Trait Implementations§
impl Freeze for MarkerTraits
impl RefUnwindSafe for MarkerTraits
impl Send for MarkerTraits
impl Sync for MarkerTraits
impl Unpin for MarkerTraits
impl UnwindSafe for MarkerTraits
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