Struct x11rb_protocol::protocol::xkb::GetKbdByNameRepliesGeometry
source · pub struct GetKbdByNameRepliesGeometry {Show 17 fields
pub geometry_type: u8,
pub geometry_device_id: u8,
pub geometry_sequence: u16,
pub geometry_length: u32,
pub name: Atom,
pub geometry_found: bool,
pub width_mm: u16,
pub height_mm: u16,
pub n_properties: u16,
pub n_colors: u16,
pub n_shapes: u16,
pub n_sections: u16,
pub n_doodads: u16,
pub n_key_aliases: u16,
pub base_color_ndx: u8,
pub label_color_ndx: u8,
pub label_font: CountedString16,
}
Fields§
§geometry_type: u8
§geometry_device_id: u8
§geometry_sequence: u16
§geometry_length: u32
§name: Atom
§geometry_found: bool
§width_mm: u16
§height_mm: u16
§n_properties: u16
§n_colors: u16
§n_shapes: u16
§n_sections: u16
§n_doodads: u16
§n_key_aliases: u16
§base_color_ndx: u8
§label_color_ndx: u8
§label_font: CountedString16
Trait Implementations§
source§impl Clone for GetKbdByNameRepliesGeometry
impl Clone for GetKbdByNameRepliesGeometry
source§fn clone(&self) -> GetKbdByNameRepliesGeometry
fn clone(&self) -> GetKbdByNameRepliesGeometry
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 GetKbdByNameRepliesGeometry
impl Debug for GetKbdByNameRepliesGeometry
source§impl<'de> Deserialize<'de> for GetKbdByNameRepliesGeometry
impl<'de> Deserialize<'de> for GetKbdByNameRepliesGeometry
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 GetKbdByNameRepliesGeometry
impl Hash for GetKbdByNameRepliesGeometry
source§impl Ord for GetKbdByNameRepliesGeometry
impl Ord for GetKbdByNameRepliesGeometry
source§fn cmp(&self, other: &GetKbdByNameRepliesGeometry) -> Ordering
fn cmp(&self, other: &GetKbdByNameRepliesGeometry) -> 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 GetKbdByNameRepliesGeometry
impl PartialEq for GetKbdByNameRepliesGeometry
source§fn eq(&self, other: &GetKbdByNameRepliesGeometry) -> bool
fn eq(&self, other: &GetKbdByNameRepliesGeometry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GetKbdByNameRepliesGeometry
impl PartialOrd for GetKbdByNameRepliesGeometry
source§fn partial_cmp(&self, other: &GetKbdByNameRepliesGeometry) -> Option<Ordering>
fn partial_cmp(&self, other: &GetKbdByNameRepliesGeometry) -> 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 Eq for GetKbdByNameRepliesGeometry
impl StructuralPartialEq for GetKbdByNameRepliesGeometry
Auto Trait Implementations§
impl Freeze for GetKbdByNameRepliesGeometry
impl RefUnwindSafe for GetKbdByNameRepliesGeometry
impl Send for GetKbdByNameRepliesGeometry
impl Sync for GetKbdByNameRepliesGeometry
impl Unpin for GetKbdByNameRepliesGeometry
impl UnwindSafe for GetKbdByNameRepliesGeometry
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<OwnedFd>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more