#[repr(transparent)]pub struct ContextMode(pub u32);
Tuple Fields§
§0: u32
Implementations§
Source§impl ContextMode
impl ContextMode
pub const CPU: ContextMode
Source§impl ContextMode
impl ContextMode
pub const MEMORY: ContextMode
Trait Implementations§
Source§impl BitAnd for ContextMode
impl BitAnd for ContextMode
Source§type Output = ContextMode
type Output = ContextMode
The resulting type after applying the
&
operator.Source§fn bitand(self, other: ContextMode) -> ContextMode
fn bitand(self, other: ContextMode) -> ContextMode
Performs the
&
operation. Read moreSource§impl BitAndAssign for ContextMode
impl BitAndAssign for ContextMode
Source§fn bitand_assign(&mut self, rhs: ContextMode)
fn bitand_assign(&mut self, rhs: ContextMode)
Performs the
&=
operation. Read moreSource§impl BitOr for ContextMode
impl BitOr for ContextMode
Source§type Output = ContextMode
type Output = ContextMode
The resulting type after applying the
|
operator.Source§fn bitor(self, other: ContextMode) -> ContextMode
fn bitor(self, other: ContextMode) -> ContextMode
Performs the
|
operation. Read moreSource§impl BitOrAssign for ContextMode
impl BitOrAssign for ContextMode
Source§fn bitor_assign(&mut self, rhs: ContextMode)
fn bitor_assign(&mut self, rhs: ContextMode)
Performs the
|=
operation. Read moreSource§impl Clone for ContextMode
impl Clone for ContextMode
Source§fn clone(&self) -> ContextMode
fn clone(&self) -> ContextMode
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 ContextMode
impl Debug for ContextMode
Source§impl Hash for ContextMode
impl Hash for ContextMode
Source§impl Ord for ContextMode
impl Ord for ContextMode
Source§fn cmp(&self, other: &ContextMode) -> Ordering
fn cmp(&self, other: &ContextMode) -> 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 ContextMode
impl PartialEq for ContextMode
Source§impl PartialOrd for ContextMode
impl PartialOrd for ContextMode
impl Copy for ContextMode
impl Eq for ContextMode
impl StructuralPartialEq for ContextMode
Auto Trait Implementations§
impl Freeze for ContextMode
impl RefUnwindSafe for ContextMode
impl Send for ContextMode
impl Sync for ContextMode
impl Unpin for ContextMode
impl UnwindSafe for ContextMode
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