Struct SAIsoLockNoAffect
pub struct SAIsoLockNoAffect(/* private fields */);
Implementations§
§impl SAIsoLockNoAffect
impl SAIsoLockNoAffect
pub const CTRLS: SAIsoLockNoAffect = _
pub const PTR: SAIsoLockNoAffect = _
pub const GROUP: SAIsoLockNoAffect = _
pub const MODS: SAIsoLockNoAffect = _
§impl SAIsoLockNoAffect
impl SAIsoLockNoAffect
pub fn contains(self, flag: impl Into<u8>) -> bool
pub fn contains(self, flag: impl Into<u8>) -> bool
Check if this object has all bits set that are also set in flag
.
flag
can be a single enum variant or a whole other mask.
pub fn intersects(self, flag: impl Into<u8>) -> bool
pub fn intersects(self, flag: impl Into<u8>) -> bool
Check if this object has some bits set that are also set in flag
.
flag
can be a single enum variant or a whole other mask.
pub fn remove(self, flags: impl Into<u8>) -> SAIsoLockNoAffect
pub fn remove(self, flags: impl Into<u8>) -> SAIsoLockNoAffect
Remove some flags.
All bits that are set in the given flags are removed from the self
instance, if
they are present.
Trait Implementations§
§impl BitAnd<u8> for SAIsoLockNoAffect
impl BitAnd<u8> for SAIsoLockNoAffect
§impl BitAnd for SAIsoLockNoAffect
impl BitAnd for SAIsoLockNoAffect
§type Output = SAIsoLockNoAffect
type Output = SAIsoLockNoAffect
The resulting type after applying the
&
operator.§fn bitand(
self,
other: SAIsoLockNoAffect,
) -> <SAIsoLockNoAffect as BitAnd>::Output
fn bitand( self, other: SAIsoLockNoAffect, ) -> <SAIsoLockNoAffect as BitAnd>::Output
Performs the
&
operation. Read more§impl BitAndAssign<u8> for SAIsoLockNoAffect
impl BitAndAssign<u8> for SAIsoLockNoAffect
§fn bitand_assign(&mut self, other: u8)
fn bitand_assign(&mut self, other: u8)
Performs the
&=
operation. Read more§impl BitAndAssign for SAIsoLockNoAffect
impl BitAndAssign for SAIsoLockNoAffect
§fn bitand_assign(&mut self, other: SAIsoLockNoAffect)
fn bitand_assign(&mut self, other: SAIsoLockNoAffect)
Performs the
&=
operation. Read more§impl BitOr<u8> for SAIsoLockNoAffect
impl BitOr<u8> for SAIsoLockNoAffect
§impl BitOr for SAIsoLockNoAffect
impl BitOr for SAIsoLockNoAffect
§type Output = SAIsoLockNoAffect
type Output = SAIsoLockNoAffect
The resulting type after applying the
|
operator.§fn bitor(self, other: SAIsoLockNoAffect) -> <SAIsoLockNoAffect as BitOr>::Output
fn bitor(self, other: SAIsoLockNoAffect) -> <SAIsoLockNoAffect as BitOr>::Output
Performs the
|
operation. Read more§impl BitOrAssign<u8> for SAIsoLockNoAffect
impl BitOrAssign<u8> for SAIsoLockNoAffect
§fn bitor_assign(&mut self, other: u8)
fn bitor_assign(&mut self, other: u8)
Performs the
|=
operation. Read more§impl BitOrAssign for SAIsoLockNoAffect
impl BitOrAssign for SAIsoLockNoAffect
§fn bitor_assign(&mut self, other: SAIsoLockNoAffect)
fn bitor_assign(&mut self, other: SAIsoLockNoAffect)
Performs the
|=
operation. Read more§impl Clone for SAIsoLockNoAffect
impl Clone for SAIsoLockNoAffect
§fn clone(&self) -> SAIsoLockNoAffect
fn clone(&self) -> SAIsoLockNoAffect
Returns a copy 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 more§impl Debug for SAIsoLockNoAffect
impl Debug for SAIsoLockNoAffect
§impl Default for SAIsoLockNoAffect
impl Default for SAIsoLockNoAffect
§fn default() -> SAIsoLockNoAffect
fn default() -> SAIsoLockNoAffect
Returns the “default value” for a type. Read more
§impl From<u8> for SAIsoLockNoAffect
impl From<u8> for SAIsoLockNoAffect
§fn from(value: u8) -> SAIsoLockNoAffect
fn from(value: u8) -> SAIsoLockNoAffect
Converts to this type from the input type.
§impl Hash for SAIsoLockNoAffect
impl Hash for SAIsoLockNoAffect
§impl Ord for SAIsoLockNoAffect
impl Ord for SAIsoLockNoAffect
§fn cmp(&self, other: &SAIsoLockNoAffect) -> Ordering
fn cmp(&self, other: &SAIsoLockNoAffect) -> 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
§impl PartialEq for SAIsoLockNoAffect
impl PartialEq for SAIsoLockNoAffect
§impl PartialOrd for SAIsoLockNoAffect
impl PartialOrd for SAIsoLockNoAffect
impl Copy for SAIsoLockNoAffect
impl Eq for SAIsoLockNoAffect
impl StructuralPartialEq for SAIsoLockNoAffect
Auto Trait Implementations§
impl Freeze for SAIsoLockNoAffect
impl RefUnwindSafe for SAIsoLockNoAffect
impl Send for SAIsoLockNoAffect
impl Sync for SAIsoLockNoAffect
impl Unpin for SAIsoLockNoAffect
impl UnwindSafe for SAIsoLockNoAffect
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)