Struct x11rb::protocol::xinput::ChangeMode
source · pub struct ChangeMode(u8);
Tuple Fields§
§0: u8
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§impl PartialOrd for ChangeMode
impl PartialOrd 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
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
)