Struct x11rb_protocol::protocol::xfixes::SelectionEventMask
source · pub struct SelectionEventMask(u32);
Tuple Fields§
§0: u32
Implementations§
source§impl SelectionEventMask
impl SelectionEventMask
pub const SET_SELECTION_OWNER: Self = _
pub const SELECTION_WINDOW_DESTROY: Self = _
pub const SELECTION_CLIENT_CLOSE: Self = _
source§impl SelectionEventMask
impl SelectionEventMask
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<SelectionEventMask> for u32
impl BitAnd<SelectionEventMask> for u32
source§type Output = SelectionEventMask
type Output = SelectionEventMask
The resulting type after applying the
&
operator.source§impl BitAnd<u32> for SelectionEventMask
impl BitAnd<u32> for SelectionEventMask
source§impl BitAnd for SelectionEventMask
impl BitAnd for SelectionEventMask
source§impl BitAndAssign<SelectionEventMask> for u32
impl BitAndAssign<SelectionEventMask> for u32
source§fn bitand_assign(&mut self, other: SelectionEventMask)
fn bitand_assign(&mut self, other: SelectionEventMask)
Performs the
&=
operation. Read moresource§impl BitAndAssign<u32> for SelectionEventMask
impl BitAndAssign<u32> for SelectionEventMask
source§fn bitand_assign(&mut self, other: u32)
fn bitand_assign(&mut self, other: u32)
Performs the
&=
operation. Read moresource§impl BitAndAssign for SelectionEventMask
impl BitAndAssign for SelectionEventMask
source§fn bitand_assign(&mut self, other: SelectionEventMask)
fn bitand_assign(&mut self, other: SelectionEventMask)
Performs the
&=
operation. Read moresource§impl BitOr<SelectionEventMask> for u32
impl BitOr<SelectionEventMask> for u32
source§type Output = SelectionEventMask
type Output = SelectionEventMask
The resulting type after applying the
|
operator.source§impl BitOr<u32> for SelectionEventMask
impl BitOr<u32> for SelectionEventMask
source§impl BitOr for SelectionEventMask
impl BitOr for SelectionEventMask
source§impl BitOrAssign<SelectionEventMask> for u32
impl BitOrAssign<SelectionEventMask> for u32
source§fn bitor_assign(&mut self, other: SelectionEventMask)
fn bitor_assign(&mut self, other: SelectionEventMask)
Performs the
|=
operation. Read moresource§impl BitOrAssign<u32> for SelectionEventMask
impl BitOrAssign<u32> for SelectionEventMask
source§fn bitor_assign(&mut self, other: u32)
fn bitor_assign(&mut self, other: u32)
Performs the
|=
operation. Read moresource§impl BitOrAssign for SelectionEventMask
impl BitOrAssign for SelectionEventMask
source§fn bitor_assign(&mut self, other: SelectionEventMask)
fn bitor_assign(&mut self, other: SelectionEventMask)
Performs the
|=
operation. Read moresource§impl Clone for SelectionEventMask
impl Clone for SelectionEventMask
source§fn clone(&self) -> SelectionEventMask
fn clone(&self) -> SelectionEventMask
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 SelectionEventMask
impl Debug for SelectionEventMask
source§impl Default for SelectionEventMask
impl Default for SelectionEventMask
source§fn default() -> SelectionEventMask
fn default() -> SelectionEventMask
Returns the “default value” for a type. Read more
source§impl From<SelectionEventMask> for Option<u32>
impl From<SelectionEventMask> for Option<u32>
source§fn from(input: SelectionEventMask) -> Self
fn from(input: SelectionEventMask) -> Self
Converts to this type from the input type.
source§impl From<SelectionEventMask> for u32
impl From<SelectionEventMask> for u32
source§fn from(input: SelectionEventMask) -> Self
fn from(input: SelectionEventMask) -> Self
Converts to this type from the input type.
source§impl From<u16> for SelectionEventMask
impl From<u16> for SelectionEventMask
source§impl From<u32> for SelectionEventMask
impl From<u32> for SelectionEventMask
source§impl From<u8> for SelectionEventMask
impl From<u8> for SelectionEventMask
source§impl Hash for SelectionEventMask
impl Hash for SelectionEventMask
source§impl Ord for SelectionEventMask
impl Ord for SelectionEventMask
source§fn cmp(&self, other: &SelectionEventMask) -> Ordering
fn cmp(&self, other: &SelectionEventMask) -> 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 SelectionEventMask
impl PartialEq for SelectionEventMask
source§impl PartialOrd for SelectionEventMask
impl PartialOrd for SelectionEventMask
impl Copy for SelectionEventMask
impl Eq for SelectionEventMask
impl StructuralPartialEq for SelectionEventMask
Auto Trait Implementations§
impl Freeze for SelectionEventMask
impl RefUnwindSafe for SelectionEventMask
impl Send for SelectionEventMask
impl Sync for SelectionEventMask
impl Unpin for SelectionEventMask
impl UnwindSafe for SelectionEventMask
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
)