pub struct IMGroupsWhich(/* private fields */);Implementations§
Source§impl IMGroupsWhich
 
impl IMGroupsWhich
pub const USE_COMPAT: IMGroupsWhich
pub const USE_EFFECTIVE: IMGroupsWhich
pub const USE_LOCKED: IMGroupsWhich
pub const USE_LATCHED: IMGroupsWhich
pub const USE_BASE: IMGroupsWhich
Source§impl IMGroupsWhich
 
impl IMGroupsWhich
Sourcepub 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.
Sourcepub 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.
Sourcepub fn remove(self, flags: impl Into<u8>) -> IMGroupsWhich
 
pub fn remove(self, flags: impl Into<u8>) -> IMGroupsWhich
Remove some flags.
All bits that are set in the given flags are removed from the self instance, if
they are present.
Trait Implementations§
Source§impl BitAnd<u8> for IMGroupsWhich
 
impl BitAnd<u8> for IMGroupsWhich
Source§impl BitAnd for IMGroupsWhich
 
impl BitAnd for IMGroupsWhich
Source§type Output = IMGroupsWhich
 
type Output = IMGroupsWhich
The resulting type after applying the 
& operator.Source§fn bitand(self, other: IMGroupsWhich) -> <IMGroupsWhich as BitAnd>::Output
 
fn bitand(self, other: IMGroupsWhich) -> <IMGroupsWhich as BitAnd>::Output
Performs the 
& operation. Read moreSource§impl BitAndAssign<u8> for IMGroupsWhich
 
impl BitAndAssign<u8> for IMGroupsWhich
Source§fn bitand_assign(&mut self, other: u8)
 
fn bitand_assign(&mut self, other: u8)
Performs the 
&= operation. Read moreSource§impl BitAndAssign for IMGroupsWhich
 
impl BitAndAssign for IMGroupsWhich
Source§fn bitand_assign(&mut self, other: IMGroupsWhich)
 
fn bitand_assign(&mut self, other: IMGroupsWhich)
Performs the 
&= operation. Read moreSource§impl BitOr<u8> for IMGroupsWhich
 
impl BitOr<u8> for IMGroupsWhich
Source§impl BitOr for IMGroupsWhich
 
impl BitOr for IMGroupsWhich
Source§type Output = IMGroupsWhich
 
type Output = IMGroupsWhich
The resulting type after applying the 
| operator.Source§fn bitor(self, other: IMGroupsWhich) -> <IMGroupsWhich as BitOr>::Output
 
fn bitor(self, other: IMGroupsWhich) -> <IMGroupsWhich as BitOr>::Output
Performs the 
| operation. Read moreSource§impl BitOrAssign<u8> for IMGroupsWhich
 
impl BitOrAssign<u8> for IMGroupsWhich
Source§fn bitor_assign(&mut self, other: u8)
 
fn bitor_assign(&mut self, other: u8)
Performs the 
|= operation. Read moreSource§impl BitOrAssign for IMGroupsWhich
 
impl BitOrAssign for IMGroupsWhich
Source§fn bitor_assign(&mut self, other: IMGroupsWhich)
 
fn bitor_assign(&mut self, other: IMGroupsWhich)
Performs the 
|= operation. Read moreSource§impl Clone for IMGroupsWhich
 
impl Clone for IMGroupsWhich
Source§fn clone(&self) -> IMGroupsWhich
 
fn clone(&self) -> IMGroupsWhich
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 IMGroupsWhich
 
impl Debug for IMGroupsWhich
Source§impl Default for IMGroupsWhich
 
impl Default for IMGroupsWhich
Source§fn default() -> IMGroupsWhich
 
fn default() -> IMGroupsWhich
Returns the “default value” for a type. Read more
Source§impl From<u8> for IMGroupsWhich
 
impl From<u8> for IMGroupsWhich
Source§fn from(value: u8) -> IMGroupsWhich
 
fn from(value: u8) -> IMGroupsWhich
Converts to this type from the input type.
Source§impl Hash for IMGroupsWhich
 
impl Hash for IMGroupsWhich
Source§impl Ord for IMGroupsWhich
 
impl Ord for IMGroupsWhich
Source§fn cmp(&self, other: &IMGroupsWhich) -> Ordering
 
fn cmp(&self, other: &IMGroupsWhich) -> 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 IMGroupsWhich
 
impl PartialEq for IMGroupsWhich
Source§impl PartialOrd for IMGroupsWhich
 
impl PartialOrd for IMGroupsWhich
impl Copy for IMGroupsWhich
impl Eq for IMGroupsWhich
impl StructuralPartialEq for IMGroupsWhich
Auto Trait Implementations§
impl Freeze for IMGroupsWhich
impl RefUnwindSafe for IMGroupsWhich
impl Send for IMGroupsWhich
impl Sync for IMGroupsWhich
impl Unpin for IMGroupsWhich
impl UnwindSafe for IMGroupsWhich
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