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