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