Struct SAIsoLockFlag
pub struct SAIsoLockFlag(/* private fields */);
Implementations§
§impl SAIsoLockFlag
impl SAIsoLockFlag
pub const NO_LOCK: SAIsoLockFlag = _
pub const NO_UNLOCK: SAIsoLockFlag = _
pub const USE_MOD_MAP_MODS: SAIsoLockFlag = _
pub const GROUP_ABSOLUTE: SAIsoLockFlag = _
pub const ISO_DFLT_IS_GROUP: SAIsoLockFlag = _
§impl SAIsoLockFlag
impl SAIsoLockFlag
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>) -> SAIsoLockFlag
pub fn remove(self, flags: impl Into<u8>) -> SAIsoLockFlag
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 SAIsoLockFlag
impl BitAnd<u8> for SAIsoLockFlag
§impl BitAnd for SAIsoLockFlag
impl BitAnd for SAIsoLockFlag
§type Output = SAIsoLockFlag
type Output = SAIsoLockFlag
The resulting type after applying the
&
operator.§fn bitand(self, other: SAIsoLockFlag) -> <SAIsoLockFlag as BitAnd>::Output
fn bitand(self, other: SAIsoLockFlag) -> <SAIsoLockFlag as BitAnd>::Output
Performs the
&
operation. Read more§impl BitAndAssign<u8> for SAIsoLockFlag
impl BitAndAssign<u8> for SAIsoLockFlag
§fn bitand_assign(&mut self, other: u8)
fn bitand_assign(&mut self, other: u8)
Performs the
&=
operation. Read more§impl BitAndAssign for SAIsoLockFlag
impl BitAndAssign for SAIsoLockFlag
§fn bitand_assign(&mut self, other: SAIsoLockFlag)
fn bitand_assign(&mut self, other: SAIsoLockFlag)
Performs the
&=
operation. Read more§impl BitOr<u8> for SAIsoLockFlag
impl BitOr<u8> for SAIsoLockFlag
§impl BitOr for SAIsoLockFlag
impl BitOr for SAIsoLockFlag
§type Output = SAIsoLockFlag
type Output = SAIsoLockFlag
The resulting type after applying the
|
operator.§fn bitor(self, other: SAIsoLockFlag) -> <SAIsoLockFlag as BitOr>::Output
fn bitor(self, other: SAIsoLockFlag) -> <SAIsoLockFlag as BitOr>::Output
Performs the
|
operation. Read more§impl BitOrAssign<u8> for SAIsoLockFlag
impl BitOrAssign<u8> for SAIsoLockFlag
§fn bitor_assign(&mut self, other: u8)
fn bitor_assign(&mut self, other: u8)
Performs the
|=
operation. Read more§impl BitOrAssign for SAIsoLockFlag
impl BitOrAssign for SAIsoLockFlag
§fn bitor_assign(&mut self, other: SAIsoLockFlag)
fn bitor_assign(&mut self, other: SAIsoLockFlag)
Performs the
|=
operation. Read more§impl Clone for SAIsoLockFlag
impl Clone for SAIsoLockFlag
§fn clone(&self) -> SAIsoLockFlag
fn clone(&self) -> SAIsoLockFlag
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 SAIsoLockFlag
impl Debug for SAIsoLockFlag
§impl Default for SAIsoLockFlag
impl Default for SAIsoLockFlag
§fn default() -> SAIsoLockFlag
fn default() -> SAIsoLockFlag
Returns the “default value” for a type. Read more
§impl From<u8> for SAIsoLockFlag
impl From<u8> for SAIsoLockFlag
§fn from(value: u8) -> SAIsoLockFlag
fn from(value: u8) -> SAIsoLockFlag
Converts to this type from the input type.
§impl Hash for SAIsoLockFlag
impl Hash for SAIsoLockFlag
§impl Ord for SAIsoLockFlag
impl Ord for SAIsoLockFlag
§impl PartialEq for SAIsoLockFlag
impl PartialEq for SAIsoLockFlag
§impl PartialOrd for SAIsoLockFlag
impl PartialOrd for SAIsoLockFlag
impl Copy for SAIsoLockFlag
impl Eq for SAIsoLockFlag
impl StructuralPartialEq for SAIsoLockFlag
Auto Trait Implementations§
impl Freeze for SAIsoLockFlag
impl RefUnwindSafe for SAIsoLockFlag
impl Send for SAIsoLockFlag
impl Sync for SAIsoLockFlag
impl Unpin for SAIsoLockFlag
impl UnwindSafe for SAIsoLockFlag
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
)