Struct x11rb_protocol::protocol::xfixes::CursorNotifyMask
source · pub struct CursorNotifyMask(/* private fields */);
Implementations§
source§impl CursorNotifyMask
impl CursorNotifyMask
pub const DISPLAY_CURSOR: Self = _
source§impl CursorNotifyMask
impl CursorNotifyMask
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<CursorNotifyMask> for u32
impl BitAnd<CursorNotifyMask> for u32
§type Output = CursorNotifyMask
type Output = CursorNotifyMask
The resulting type after applying the
&
operator.source§impl BitAnd<u32> for CursorNotifyMask
impl BitAnd<u32> for CursorNotifyMask
source§impl BitAnd for CursorNotifyMask
impl BitAnd for CursorNotifyMask
source§impl BitAndAssign<CursorNotifyMask> for u32
impl BitAndAssign<CursorNotifyMask> for u32
source§fn bitand_assign(&mut self, other: CursorNotifyMask)
fn bitand_assign(&mut self, other: CursorNotifyMask)
Performs the
&=
operation. Read moresource§impl BitAndAssign<u32> for CursorNotifyMask
impl BitAndAssign<u32> for CursorNotifyMask
source§fn bitand_assign(&mut self, other: u32)
fn bitand_assign(&mut self, other: u32)
Performs the
&=
operation. Read moresource§impl BitAndAssign for CursorNotifyMask
impl BitAndAssign for CursorNotifyMask
source§fn bitand_assign(&mut self, other: CursorNotifyMask)
fn bitand_assign(&mut self, other: CursorNotifyMask)
Performs the
&=
operation. Read moresource§impl BitOr<CursorNotifyMask> for u32
impl BitOr<CursorNotifyMask> for u32
§type Output = CursorNotifyMask
type Output = CursorNotifyMask
The resulting type after applying the
|
operator.source§impl BitOr<u32> for CursorNotifyMask
impl BitOr<u32> for CursorNotifyMask
source§impl BitOr for CursorNotifyMask
impl BitOr for CursorNotifyMask
source§impl BitOrAssign<CursorNotifyMask> for u32
impl BitOrAssign<CursorNotifyMask> for u32
source§fn bitor_assign(&mut self, other: CursorNotifyMask)
fn bitor_assign(&mut self, other: CursorNotifyMask)
Performs the
|=
operation. Read moresource§impl BitOrAssign<u32> for CursorNotifyMask
impl BitOrAssign<u32> for CursorNotifyMask
source§fn bitor_assign(&mut self, other: u32)
fn bitor_assign(&mut self, other: u32)
Performs the
|=
operation. Read moresource§impl BitOrAssign for CursorNotifyMask
impl BitOrAssign for CursorNotifyMask
source§fn bitor_assign(&mut self, other: CursorNotifyMask)
fn bitor_assign(&mut self, other: CursorNotifyMask)
Performs the
|=
operation. Read moresource§impl Clone for CursorNotifyMask
impl Clone for CursorNotifyMask
source§fn clone(&self) -> CursorNotifyMask
fn clone(&self) -> CursorNotifyMask
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 CursorNotifyMask
impl Debug for CursorNotifyMask
source§impl Default for CursorNotifyMask
impl Default for CursorNotifyMask
source§fn default() -> CursorNotifyMask
fn default() -> CursorNotifyMask
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CursorNotifyMask
impl<'de> Deserialize<'de> for CursorNotifyMask
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<CursorNotifyMask> for Option<u32>
impl From<CursorNotifyMask> for Option<u32>
source§fn from(input: CursorNotifyMask) -> Self
fn from(input: CursorNotifyMask) -> Self
Converts to this type from the input type.
source§impl From<CursorNotifyMask> for u32
impl From<CursorNotifyMask> for u32
source§fn from(input: CursorNotifyMask) -> Self
fn from(input: CursorNotifyMask) -> Self
Converts to this type from the input type.
source§impl From<u16> for CursorNotifyMask
impl From<u16> for CursorNotifyMask
source§impl From<u32> for CursorNotifyMask
impl From<u32> for CursorNotifyMask
source§impl From<u8> for CursorNotifyMask
impl From<u8> for CursorNotifyMask
source§impl Hash for CursorNotifyMask
impl Hash for CursorNotifyMask
source§impl Ord for CursorNotifyMask
impl Ord for CursorNotifyMask
source§fn cmp(&self, other: &CursorNotifyMask) -> Ordering
fn cmp(&self, other: &CursorNotifyMask) -> 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 CursorNotifyMask
impl PartialEq for CursorNotifyMask
source§fn eq(&self, other: &CursorNotifyMask) -> bool
fn eq(&self, other: &CursorNotifyMask) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CursorNotifyMask
impl PartialOrd for CursorNotifyMask
source§fn partial_cmp(&self, other: &CursorNotifyMask) -> Option<Ordering>
fn partial_cmp(&self, other: &CursorNotifyMask) -> 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 moresource§impl Serialize for CursorNotifyMask
impl Serialize for CursorNotifyMask
impl Copy for CursorNotifyMask
impl Eq for CursorNotifyMask
impl StructuralPartialEq for CursorNotifyMask
Auto Trait Implementations§
impl Freeze for CursorNotifyMask
impl RefUnwindSafe for CursorNotifyMask
impl Send for CursorNotifyMask
impl Sync for CursorNotifyMask
impl Unpin for CursorNotifyMask
impl UnwindSafe for CursorNotifyMask
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