Struct BoolCtrlsHigh
pub struct BoolCtrlsHigh(/* private fields */);
Implementations§
§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 = _
§impl BoolCtrlsHigh
impl BoolCtrlsHigh
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>) -> 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§
§impl BitAnd<u8> for BoolCtrlsHigh
impl BitAnd<u8> for BoolCtrlsHigh
§impl BitAnd for BoolCtrlsHigh
impl BitAnd for BoolCtrlsHigh
§type Output = BoolCtrlsHigh
type Output = BoolCtrlsHigh
The resulting type after applying the
&
operator.§fn bitand(self, other: BoolCtrlsHigh) -> <BoolCtrlsHigh as BitAnd>::Output
fn bitand(self, other: BoolCtrlsHigh) -> <BoolCtrlsHigh as BitAnd>::Output
Performs the
&
operation. Read more§impl BitAndAssign<u8> for BoolCtrlsHigh
impl BitAndAssign<u8> for BoolCtrlsHigh
§fn bitand_assign(&mut self, other: u8)
fn bitand_assign(&mut self, other: u8)
Performs the
&=
operation. Read more§impl BitAndAssign for BoolCtrlsHigh
impl BitAndAssign for BoolCtrlsHigh
§fn bitand_assign(&mut self, other: BoolCtrlsHigh)
fn bitand_assign(&mut self, other: BoolCtrlsHigh)
Performs the
&=
operation. Read more§impl BitOr<u8> for BoolCtrlsHigh
impl BitOr<u8> for BoolCtrlsHigh
§impl BitOr for BoolCtrlsHigh
impl BitOr for BoolCtrlsHigh
§type Output = BoolCtrlsHigh
type Output = BoolCtrlsHigh
The resulting type after applying the
|
operator.§fn bitor(self, other: BoolCtrlsHigh) -> <BoolCtrlsHigh as BitOr>::Output
fn bitor(self, other: BoolCtrlsHigh) -> <BoolCtrlsHigh as BitOr>::Output
Performs the
|
operation. Read more§impl BitOrAssign<u8> for BoolCtrlsHigh
impl BitOrAssign<u8> for BoolCtrlsHigh
§fn bitor_assign(&mut self, other: u8)
fn bitor_assign(&mut self, other: u8)
Performs the
|=
operation. Read more§impl BitOrAssign for BoolCtrlsHigh
impl BitOrAssign for BoolCtrlsHigh
§fn bitor_assign(&mut self, other: BoolCtrlsHigh)
fn bitor_assign(&mut self, other: BoolCtrlsHigh)
Performs the
|=
operation. Read more§impl Clone for BoolCtrlsHigh
impl Clone for BoolCtrlsHigh
§fn clone(&self) -> BoolCtrlsHigh
fn clone(&self) -> BoolCtrlsHigh
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 BoolCtrlsHigh
impl Debug for BoolCtrlsHigh
§impl Default for BoolCtrlsHigh
impl Default for BoolCtrlsHigh
§fn default() -> BoolCtrlsHigh
fn default() -> BoolCtrlsHigh
Returns the “default value” for a type. Read more
§impl From<u8> for BoolCtrlsHigh
impl From<u8> for BoolCtrlsHigh
§fn from(value: u8) -> BoolCtrlsHigh
fn from(value: u8) -> BoolCtrlsHigh
Converts to this type from the input type.
§impl Hash for BoolCtrlsHigh
impl Hash for BoolCtrlsHigh
§impl Ord for BoolCtrlsHigh
impl Ord for BoolCtrlsHigh
§impl PartialEq for BoolCtrlsHigh
impl PartialEq for BoolCtrlsHigh
§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
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
)