Struct x11rb_protocol::protocol::xproto::ButtonMask
source · [−]pub struct ButtonMask(_);
Implementations
Trait Implementations
sourceimpl BitOr<ButtonMask> for ButtonMask
impl BitOr<ButtonMask> for ButtonMask
sourceimpl BitOr<ButtonMask> for u16
impl BitOr<ButtonMask> for u16
type Output = ButtonMask
type Output = ButtonMask
The resulting type after applying the |
operator.
sourcefn bitor(self, other: ButtonMask) -> Self::Output
fn bitor(self, other: ButtonMask) -> Self::Output
Performs the |
operation. Read more
sourceimpl BitOr<u16> for ButtonMask
impl BitOr<u16> for ButtonMask
sourceimpl BitOrAssign<ButtonMask> for u16
impl BitOrAssign<ButtonMask> for u16
sourcefn bitor_assign(&mut self, other: ButtonMask)
fn bitor_assign(&mut self, other: ButtonMask)
Performs the |=
operation. Read more
sourceimpl BitOrAssign<u16> for ButtonMask
impl BitOrAssign<u16> for ButtonMask
sourcefn bitor_assign(&mut self, other: u16)
fn bitor_assign(&mut self, other: u16)
Performs the |=
operation. Read more
sourceimpl Clone for ButtonMask
impl Clone for ButtonMask
sourcefn clone(&self) -> ButtonMask
fn clone(&self) -> ButtonMask
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ButtonMask
impl Debug for ButtonMask
sourceimpl Default for ButtonMask
impl Default for ButtonMask
sourcefn default() -> ButtonMask
fn default() -> ButtonMask
Returns the “default value” for a type. Read more
sourceimpl From<ButtonMask> for u16
impl From<ButtonMask> for u16
sourcefn from(input: ButtonMask) -> Self
fn from(input: ButtonMask) -> Self
Converts to this type from the input type.
sourceimpl From<ButtonMask> for Option<u16>
impl From<ButtonMask> for Option<u16>
sourcefn from(input: ButtonMask) -> Self
fn from(input: ButtonMask) -> Self
Converts to this type from the input type.
sourceimpl From<ButtonMask> for u32
impl From<ButtonMask> for u32
sourcefn from(input: ButtonMask) -> Self
fn from(input: ButtonMask) -> Self
Converts to this type from the input type.
sourceimpl From<ButtonMask> for Option<u32>
impl From<ButtonMask> for Option<u32>
sourcefn from(input: ButtonMask) -> Self
fn from(input: ButtonMask) -> Self
Converts to this type from the input type.
sourceimpl From<u16> for ButtonMask
impl From<u16> for ButtonMask
sourceimpl From<u8> for ButtonMask
impl From<u8> for ButtonMask
sourceimpl Hash for ButtonMask
impl Hash for ButtonMask
sourceimpl Ord for ButtonMask
impl Ord for ButtonMask
sourceimpl PartialEq<ButtonMask> for ButtonMask
impl PartialEq<ButtonMask> for ButtonMask
sourcefn eq(&self, other: &ButtonMask) -> bool
fn eq(&self, other: &ButtonMask) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ButtonMask) -> bool
fn ne(&self, other: &ButtonMask) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ButtonMask> for ButtonMask
impl PartialOrd<ButtonMask> for ButtonMask
sourcefn partial_cmp(&self, other: &ButtonMask) -> Option<Ordering>
fn partial_cmp(&self, other: &ButtonMask) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for ButtonMask
impl Eq for ButtonMask
impl StructuralEq for ButtonMask
impl StructuralPartialEq for ButtonMask
Auto Trait Implementations
impl RefUnwindSafe for ButtonMask
impl Send for ButtonMask
impl Sync for ButtonMask
impl Unpin for ButtonMask
impl UnwindSafe for ButtonMask
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more