Struct GetNamesReply
pub struct GetNamesReply {Show 15 fields
pub device_id: u8,
pub sequence: u16,
pub length: u32,
pub min_key_code: u8,
pub max_key_code: u8,
pub n_types: u8,
pub group_names: SetOfGroup,
pub virtual_mods: VMod,
pub first_key: u8,
pub n_keys: u8,
pub indicators: u32,
pub n_radio_groups: u8,
pub n_key_aliases: u8,
pub n_kt_levels: u16,
pub value_list: GetNamesValueList,
}
Fields§
§device_id: u8
§sequence: u16
§length: u32
§min_key_code: u8
§max_key_code: u8
§n_types: u8
§group_names: SetOfGroup
§virtual_mods: VMod
§first_key: u8
§n_keys: u8
§indicators: u32
§n_radio_groups: u8
§n_key_aliases: u8
§n_kt_levels: u16
§value_list: GetNamesValueList
Trait Implementations§
§impl Clone for GetNamesReply
impl Clone for GetNamesReply
§fn clone(&self) -> GetNamesReply
fn clone(&self) -> GetNamesReply
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 GetNamesReply
impl Debug for GetNamesReply
§impl Default for GetNamesReply
impl Default for GetNamesReply
§fn default() -> GetNamesReply
fn default() -> GetNamesReply
Returns the “default value” for a type. Read more
§impl From<GetNamesReply> for Reply
impl From<GetNamesReply> for Reply
§fn from(reply: GetNamesReply) -> Reply
fn from(reply: GetNamesReply) -> Reply
Converts to this type from the input type.
§impl Serialize for GetNamesReply
impl Serialize for GetNamesReply
§impl TryParse for GetNamesReply
impl TryParse for GetNamesReply
§fn try_parse(initial_value: &[u8]) -> Result<(GetNamesReply, &[u8]), ParseError>
fn try_parse(initial_value: &[u8]) -> Result<(GetNamesReply, &[u8]), ParseError>
Try to parse the given values into an instance of this type. Read more
Auto Trait Implementations§
impl Freeze for GetNamesReply
impl RefUnwindSafe for GetNamesReply
impl Send for GetNamesReply
impl Sync for GetNamesReply
impl Unpin for GetNamesReply
impl UnwindSafe for GetNamesReply
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