Struct x11rb_protocol::protocol::xinput::ChangeFeedbackControlMask
source · 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
§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
§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 PartialEq for ChangeFeedbackControlMask
impl PartialEq for ChangeFeedbackControlMask
source§fn eq(&self, other: &ChangeFeedbackControlMask) -> bool
fn eq(&self, other: &ChangeFeedbackControlMask) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ChangeFeedbackControlMask
impl PartialOrd for ChangeFeedbackControlMask
source§fn partial_cmp(&self, other: &ChangeFeedbackControlMask) -> Option<Ordering>
fn partial_cmp(&self, other: &ChangeFeedbackControlMask) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl 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