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