pub struct CodeStatus(/* private fields */);Available on macOS and crate feature
full only.Implementations§
Source§impl CodeStatus
impl CodeStatus
pub const VALID: Self
pub const HARD: Self
pub const KILL: Self
pub const PLATFORM: Self
pub const DEBUGGED: Self
pub const fn empty() -> Self
pub const fn all() -> Self
pub const fn bits(self) -> u32
pub const fn from_bits(bits: u32) -> Option<Self>
pub const fn from_bits_retain(bits: u32) -> Self
pub const fn from_bits_truncate(bits: u32) -> Self
pub const fn is_empty(self) -> bool
pub const fn is_all(self) -> bool
pub const fn contains(self, other: Self) -> bool
pub const fn intersects(self, other: Self) -> bool
pub const fn union(self, other: Self) -> Self
pub const fn intersection(self, other: Self) -> Self
pub const fn difference(self, other: Self) -> Self
pub const fn symmetric_difference(self, other: Self) -> Self
pub const fn complement(self) -> Self
pub fn insert(&mut self, other: Self)
pub fn remove(&mut self, other: Self)
pub fn toggle(&mut self, other: Self)
pub fn set(&mut self, other: Self, value: bool)
Trait Implementations§
Source§impl BitAnd for CodeStatus
impl BitAnd for CodeStatus
Source§impl BitAndAssign for CodeStatus
impl BitAndAssign for CodeStatus
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for CodeStatus
impl BitOr for CodeStatus
Source§impl BitOrAssign for CodeStatus
impl BitOrAssign for CodeStatus
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for CodeStatus
impl BitXor for CodeStatus
Source§impl BitXorAssign for CodeStatus
impl BitXorAssign for CodeStatus
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for CodeStatus
impl Clone for CodeStatus
impl Copy for CodeStatus
Source§impl Debug for CodeStatus
impl Debug for CodeStatus
impl Eq for CodeStatus
Source§impl Hash for CodeStatus
impl Hash for CodeStatus
Source§impl Not for CodeStatus
impl Not for CodeStatus
Source§impl PartialEq for CodeStatus
impl PartialEq for CodeStatus
impl StructuralPartialEq for CodeStatus
Source§impl Sub for CodeStatus
impl Sub for CodeStatus
Source§impl SubAssign for CodeStatus
impl SubAssign for CodeStatus
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreAuto Trait Implementations§
impl Freeze for CodeStatus
impl RefUnwindSafe for CodeStatus
impl Send for CodeStatus
impl Sync for CodeStatus
impl Unpin for CodeStatus
impl UnsafeUnpin for CodeStatus
impl UnwindSafe for CodeStatus
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