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