Struct GetMapReply
pub struct GetMapReply {Show 28 fields
pub device_id: u8,
pub sequence: u16,
pub length: u32,
pub min_key_code: u8,
pub max_key_code: u8,
pub first_type: u8,
pub n_types: u8,
pub total_types: u8,
pub first_key_sym: u8,
pub total_syms: u16,
pub n_key_syms: u8,
pub first_key_action: u8,
pub total_actions: u16,
pub n_key_actions: u8,
pub first_key_behavior: u8,
pub n_key_behaviors: u8,
pub total_key_behaviors: u8,
pub first_key_explicit: u8,
pub n_key_explicit: u8,
pub total_key_explicit: u8,
pub first_mod_map_key: u8,
pub n_mod_map_keys: u8,
pub total_mod_map_keys: u8,
pub first_v_mod_map_key: u8,
pub n_v_mod_map_keys: u8,
pub total_v_mod_map_keys: u8,
pub virtual_mods: VMod,
pub map: GetMapMap,
}
Fields§
§device_id: u8
§sequence: u16
§length: u32
§min_key_code: u8
§max_key_code: u8
§first_type: u8
§n_types: u8
§total_types: u8
§first_key_sym: u8
§total_syms: u16
§n_key_syms: u8
§first_key_action: u8
§total_actions: u16
§n_key_actions: u8
§first_key_behavior: u8
§n_key_behaviors: u8
§total_key_behaviors: u8
§first_key_explicit: u8
§n_key_explicit: u8
§total_key_explicit: u8
§first_mod_map_key: u8
§n_mod_map_keys: u8
§total_mod_map_keys: u8
§first_v_mod_map_key: u8
§n_v_mod_map_keys: u8
§total_v_mod_map_keys: u8
§virtual_mods: VMod
§map: GetMapMap
Trait Implementations§
§impl Clone for GetMapReply
impl Clone for GetMapReply
§fn clone(&self) -> GetMapReply
fn clone(&self) -> GetMapReply
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 more§impl Debug for GetMapReply
impl Debug for GetMapReply
§impl From<GetMapReply> for Reply
impl From<GetMapReply> for Reply
§fn from(reply: GetMapReply) -> Reply
fn from(reply: GetMapReply) -> Reply
Converts to this type from the input type.
§impl Serialize for GetMapReply
impl Serialize for GetMapReply
§impl TryParse for GetMapReply
impl TryParse for GetMapReply
§fn try_parse(initial_value: &[u8]) -> Result<(GetMapReply, &[u8]), ParseError>
fn try_parse(initial_value: &[u8]) -> Result<(GetMapReply, &[u8]), ParseError>
Try to parse the given values into an instance of this type. Read more
Auto Trait Implementations§
impl Freeze for GetMapReply
impl RefUnwindSafe for GetMapReply
impl Send for GetMapReply
impl Sync for GetMapReply
impl Unpin for GetMapReply
impl UnwindSafe for GetMapReply
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
§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