Struct x11rb_protocol::protocol::xkb::GetMapRequest
source · pub struct GetMapRequest {Show 18 fields
pub device_spec: DeviceSpec,
pub full: MapPart,
pub partial: MapPart,
pub first_type: u8,
pub n_types: u8,
pub first_key_sym: Keycode,
pub n_key_syms: u8,
pub first_key_action: Keycode,
pub n_key_actions: u8,
pub first_key_behavior: Keycode,
pub n_key_behaviors: u8,
pub virtual_mods: VMod,
pub first_key_explicit: Keycode,
pub n_key_explicit: u8,
pub first_mod_map_key: Keycode,
pub n_mod_map_keys: u8,
pub first_v_mod_map_key: Keycode,
pub n_v_mod_map_keys: u8,
}
Fields§
§device_spec: DeviceSpec
§full: MapPart
§partial: MapPart
§first_type: u8
§n_types: u8
§first_key_sym: Keycode
§n_key_syms: u8
§first_key_action: Keycode
§n_key_actions: u8
§first_key_behavior: Keycode
§n_key_behaviors: u8
§virtual_mods: VMod
§first_key_explicit: Keycode
§n_key_explicit: u8
§first_mod_map_key: Keycode
§n_mod_map_keys: u8
§first_v_mod_map_key: Keycode
§n_v_mod_map_keys: u8
Implementations§
source§impl GetMapRequest
impl GetMapRequest
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'static, [u8]>; 1]>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'static, [u8]>; 1]>
Serialize this request into bytes for the provided connection
sourcepub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<Self, ParseError>
pub fn try_parse_request( header: RequestHeader, value: &[u8] ) -> Result<Self, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Trait Implementations§
source§impl Clone for GetMapRequest
impl Clone for GetMapRequest
source§fn clone(&self) -> GetMapRequest
fn clone(&self) -> GetMapRequest
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 GetMapRequest
impl Debug for GetMapRequest
source§impl Default for GetMapRequest
impl Default for GetMapRequest
source§fn default() -> GetMapRequest
fn default() -> GetMapRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetMapRequest
impl<'de> Deserialize<'de> for GetMapRequest
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 GetMapRequest
impl Hash for GetMapRequest
source§impl Ord for GetMapRequest
impl Ord for GetMapRequest
source§fn cmp(&self, other: &GetMapRequest) -> Ordering
fn cmp(&self, other: &GetMapRequest) -> 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 GetMapRequest
impl PartialEq for GetMapRequest
source§fn eq(&self, other: &GetMapRequest) -> bool
fn eq(&self, other: &GetMapRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GetMapRequest
impl PartialOrd for GetMapRequest
source§fn partial_cmp(&self, other: &GetMapRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &GetMapRequest) -> 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 ReplyRequest for GetMapRequest
impl ReplyRequest for GetMapRequest
§type Reply = GetMapReply
type Reply = GetMapReply
The kind of reply that this request generates.
source§impl Request for GetMapRequest
impl Request for GetMapRequest
source§impl Serialize for GetMapRequest
impl Serialize for GetMapRequest
impl Copy for GetMapRequest
impl Eq for GetMapRequest
impl StructuralPartialEq for GetMapRequest
Auto Trait Implementations§
impl Freeze for GetMapRequest
impl RefUnwindSafe for GetMapRequest
impl Send for GetMapRequest
impl Sync for GetMapRequest
impl Unpin for GetMapRequest
impl UnwindSafe for GetMapRequest
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