pub struct ChangeFeedbackControlMask(/* private fields */);
Implementations§
Source§impl ChangeFeedbackControlMask
impl ChangeFeedbackControlMask
pub const KEY_CLICK_PERCENT: Self
pub const PERCENT: Self
pub const PITCH: Self
pub const DURATION: Self
pub const LED: Self
pub const LED_MODE: Self
pub const KEY: Self
pub const AUTO_REPEAT_MODE: Self
pub const STRING: Self
pub const INTEGER: Self
pub const ACCEL_NUM: Self
pub const ACCEL_DENOM: Self
pub const THRESHOLD: Self
Source§impl ChangeFeedbackControlMask
impl ChangeFeedbackControlMask
Sourcepub fn contains(self, flag: impl Into<u32>) -> bool
pub fn contains(self, flag: impl Into<u32>) -> 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<u32>) -> bool
pub fn intersects(self, flag: impl Into<u32>) -> 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.
Trait Implementations§
Source§impl BitAnd<ChangeFeedbackControlMask> for u32
impl BitAnd<ChangeFeedbackControlMask> for u32
Source§type Output = ChangeFeedbackControlMask
type Output = ChangeFeedbackControlMask
The resulting type after applying the
&
operator.Source§impl BitAnd<u32> for ChangeFeedbackControlMask
impl BitAnd<u32> for ChangeFeedbackControlMask
Source§impl BitAnd for ChangeFeedbackControlMask
impl BitAnd for ChangeFeedbackControlMask
Source§impl BitAndAssign<ChangeFeedbackControlMask> for u32
impl BitAndAssign<ChangeFeedbackControlMask> for u32
Source§fn bitand_assign(&mut self, other: ChangeFeedbackControlMask)
fn bitand_assign(&mut self, other: ChangeFeedbackControlMask)
Performs the
&=
operation. Read moreSource§impl BitAndAssign<u32> for ChangeFeedbackControlMask
impl BitAndAssign<u32> for ChangeFeedbackControlMask
Source§fn bitand_assign(&mut self, other: u32)
fn bitand_assign(&mut self, other: u32)
Performs the
&=
operation. Read moreSource§impl BitAndAssign for ChangeFeedbackControlMask
impl BitAndAssign for ChangeFeedbackControlMask
Source§fn bitand_assign(&mut self, other: ChangeFeedbackControlMask)
fn bitand_assign(&mut self, other: ChangeFeedbackControlMask)
Performs the
&=
operation. Read moreSource§impl BitOr<ChangeFeedbackControlMask> for u32
impl BitOr<ChangeFeedbackControlMask> for u32
Source§type Output = ChangeFeedbackControlMask
type Output = ChangeFeedbackControlMask
The resulting type after applying the
|
operator.Source§impl BitOr<u32> for ChangeFeedbackControlMask
impl BitOr<u32> for ChangeFeedbackControlMask
Source§impl BitOr for ChangeFeedbackControlMask
impl BitOr for ChangeFeedbackControlMask
Source§impl BitOrAssign<ChangeFeedbackControlMask> for u32
impl BitOrAssign<ChangeFeedbackControlMask> for u32
Source§fn bitor_assign(&mut self, other: ChangeFeedbackControlMask)
fn bitor_assign(&mut self, other: ChangeFeedbackControlMask)
Performs the
|=
operation. Read moreSource§impl BitOrAssign<u32> for ChangeFeedbackControlMask
impl BitOrAssign<u32> for ChangeFeedbackControlMask
Source§fn bitor_assign(&mut self, other: u32)
fn bitor_assign(&mut self, other: u32)
Performs the
|=
operation. Read moreSource§impl BitOrAssign for ChangeFeedbackControlMask
impl BitOrAssign for ChangeFeedbackControlMask
Source§fn bitor_assign(&mut self, other: ChangeFeedbackControlMask)
fn bitor_assign(&mut self, other: ChangeFeedbackControlMask)
Performs the
|=
operation. Read moreSource§impl Clone for ChangeFeedbackControlMask
impl Clone for ChangeFeedbackControlMask
Source§fn clone(&self) -> ChangeFeedbackControlMask
fn clone(&self) -> ChangeFeedbackControlMask
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 moreSource§impl Debug for ChangeFeedbackControlMask
impl Debug for ChangeFeedbackControlMask
Source§impl Default for ChangeFeedbackControlMask
impl Default for ChangeFeedbackControlMask
Source§fn default() -> ChangeFeedbackControlMask
fn default() -> ChangeFeedbackControlMask
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChangeFeedbackControlMask
impl<'de> Deserialize<'de> for ChangeFeedbackControlMask
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ChangeFeedbackControlMask> for Option<u32>
impl From<ChangeFeedbackControlMask> for Option<u32>
Source§fn from(input: ChangeFeedbackControlMask) -> Self
fn from(input: ChangeFeedbackControlMask) -> Self
Converts to this type from the input type.
Source§impl From<ChangeFeedbackControlMask> for u32
impl From<ChangeFeedbackControlMask> for u32
Source§fn from(input: ChangeFeedbackControlMask) -> Self
fn from(input: ChangeFeedbackControlMask) -> Self
Converts to this type from the input type.
Source§impl From<u16> for ChangeFeedbackControlMask
impl From<u16> for ChangeFeedbackControlMask
Source§impl From<u32> for ChangeFeedbackControlMask
impl From<u32> for ChangeFeedbackControlMask
Source§impl From<u8> for ChangeFeedbackControlMask
impl From<u8> for ChangeFeedbackControlMask
Source§impl Hash for ChangeFeedbackControlMask
impl Hash for ChangeFeedbackControlMask
Source§impl Ord for ChangeFeedbackControlMask
impl Ord for ChangeFeedbackControlMask
Source§fn cmp(&self, other: &ChangeFeedbackControlMask) -> Ordering
fn cmp(&self, other: &ChangeFeedbackControlMask) -> 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 PartialOrd for ChangeFeedbackControlMask
impl PartialOrd for ChangeFeedbackControlMask
impl Copy for ChangeFeedbackControlMask
impl Eq for ChangeFeedbackControlMask
impl StructuralPartialEq for ChangeFeedbackControlMask
Auto Trait Implementations§
impl Freeze for ChangeFeedbackControlMask
impl RefUnwindSafe for ChangeFeedbackControlMask
impl Send for ChangeFeedbackControlMask
impl Sync for ChangeFeedbackControlMask
impl Unpin for ChangeFeedbackControlMask
impl UnwindSafe for ChangeFeedbackControlMask
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