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