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