Struct x11rb_protocol::protocol::xinput::NotifyMode
source · pub struct NotifyMode(/* private fields */);
Implementations§
source§impl NotifyMode
impl NotifyMode
pub const NORMAL: Self = _
pub const GRAB: Self = _
pub const UNGRAB: Self = _
pub const WHILE_GRABBED: Self = _
pub const PASSIVE_GRAB: Self = _
pub const PASSIVE_UNGRAB: Self = _
Trait Implementations§
source§impl Clone for NotifyMode
impl Clone for NotifyMode
source§fn clone(&self) -> NotifyMode
fn clone(&self) -> NotifyMode
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 NotifyMode
impl Debug for NotifyMode
source§impl Default for NotifyMode
impl Default for NotifyMode
source§fn default() -> NotifyMode
fn default() -> NotifyMode
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NotifyMode
impl<'de> Deserialize<'de> for NotifyMode
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<NotifyMode> for Option<u16>
impl From<NotifyMode> for Option<u16>
source§fn from(input: NotifyMode) -> Self
fn from(input: NotifyMode) -> Self
Converts to this type from the input type.
source§impl From<NotifyMode> for Option<u32>
impl From<NotifyMode> for Option<u32>
source§fn from(input: NotifyMode) -> Self
fn from(input: NotifyMode) -> Self
Converts to this type from the input type.
source§impl From<NotifyMode> for Option<u8>
impl From<NotifyMode> for Option<u8>
source§fn from(input: NotifyMode) -> Self
fn from(input: NotifyMode) -> Self
Converts to this type from the input type.
source§impl From<NotifyMode> for u16
impl From<NotifyMode> for u16
source§fn from(input: NotifyMode) -> Self
fn from(input: NotifyMode) -> Self
Converts to this type from the input type.
source§impl From<NotifyMode> for u32
impl From<NotifyMode> for u32
source§fn from(input: NotifyMode) -> Self
fn from(input: NotifyMode) -> Self
Converts to this type from the input type.
source§impl From<NotifyMode> for u8
impl From<NotifyMode> for u8
source§fn from(input: NotifyMode) -> Self
fn from(input: NotifyMode) -> Self
Converts to this type from the input type.
source§impl From<u8> for NotifyMode
impl From<u8> for NotifyMode
source§impl Hash for NotifyMode
impl Hash for NotifyMode
source§impl Ord for NotifyMode
impl Ord for NotifyMode
source§fn cmp(&self, other: &NotifyMode) -> Ordering
fn cmp(&self, other: &NotifyMode) -> 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 NotifyMode
impl PartialEq for NotifyMode
source§fn eq(&self, other: &NotifyMode) -> bool
fn eq(&self, other: &NotifyMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NotifyMode
impl PartialOrd for NotifyMode
source§fn partial_cmp(&self, other: &NotifyMode) -> Option<Ordering>
fn partial_cmp(&self, other: &NotifyMode) -> 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 NotifyMode
impl Serialize for NotifyMode
impl Copy for NotifyMode
impl Eq for NotifyMode
impl StructuralPartialEq for NotifyMode
Auto Trait Implementations§
impl Freeze for NotifyMode
impl RefUnwindSafe for NotifyMode
impl Send for NotifyMode
impl Sync for NotifyMode
impl Unpin for NotifyMode
impl UnwindSafe for NotifyMode
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