Struct x11rb::protocol::xinput::ChangeMode
source · pub struct ChangeMode(/* private fields */);
Implementations§
source§impl ChangeMode
impl ChangeMode
pub const ATTACH: ChangeMode = _
pub const FLOAT: ChangeMode = _
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 From<u8> for ChangeMode
impl From<u8> for ChangeMode
source§fn from(value: u8) -> ChangeMode
fn from(value: u8) -> ChangeMode
Converts to this type from the input type.
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 moreimpl Copy for ChangeMode
impl Eq for ChangeMode
impl StructuralEq for ChangeMode
impl StructuralPartialEq for ChangeMode
Auto Trait Implementations§
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