Struct x11rb_protocol::protocol::xkb::OverlayKey
source · pub struct OverlayKey {
pub over: [String8; 4],
pub under: [String8; 4],
}
Fields§
§over: [String8; 4]
§under: [String8; 4]
Trait Implementations§
source§impl Clone for OverlayKey
impl Clone for OverlayKey
source§fn clone(&self) -> OverlayKey
fn clone(&self) -> OverlayKey
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 OverlayKey
impl Debug for OverlayKey
source§impl Default for OverlayKey
impl Default for OverlayKey
source§fn default() -> OverlayKey
fn default() -> OverlayKey
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OverlayKey
impl<'de> Deserialize<'de> for OverlayKey
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 Hash for OverlayKey
impl Hash for OverlayKey
source§impl Ord for OverlayKey
impl Ord for OverlayKey
source§fn cmp(&self, other: &OverlayKey) -> Ordering
fn cmp(&self, other: &OverlayKey) -> 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 OverlayKey
impl PartialEq for OverlayKey
source§fn eq(&self, other: &OverlayKey) -> bool
fn eq(&self, other: &OverlayKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OverlayKey
impl PartialOrd for OverlayKey
source§fn partial_cmp(&self, other: &OverlayKey) -> Option<Ordering>
fn partial_cmp(&self, other: &OverlayKey) -> 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 OverlayKey
impl Serialize for OverlayKey
source§impl Serialize for OverlayKey
impl Serialize for OverlayKey
source§impl TryParse for OverlayKey
impl TryParse for OverlayKey
impl Copy for OverlayKey
impl Eq for OverlayKey
impl StructuralPartialEq for OverlayKey
Auto Trait Implementations§
impl Freeze for OverlayKey
impl RefUnwindSafe for OverlayKey
impl Send for OverlayKey
impl Sync for OverlayKey
impl Unpin for OverlayKey
impl UnwindSafe for OverlayKey
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> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<RawFdContainer>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<RawFdContainer> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more