pub struct KeyboardDeviceDescriptor {
pub keys: Vec<Key>,
pub device_information: DeviceInformation,
pub device_id: u32,
}
Expand description
A KeyboardDeviceDescriptor
contains information about a specific keyboard device.
Fields§
§keys: Vec<Key>
All the fidl_fuchsia_input::Key
s available on the keyboard device.
device_information: DeviceInformation
The vendor ID, product ID and version.
device_id: u32
The unique identifier of this device.
Trait Implementations§
Source§impl Clone for KeyboardDeviceDescriptor
impl Clone for KeyboardDeviceDescriptor
Source§fn clone(&self) -> KeyboardDeviceDescriptor
fn clone(&self) -> KeyboardDeviceDescriptor
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 KeyboardDeviceDescriptor
impl Debug for KeyboardDeviceDescriptor
Source§impl From<KeyboardDeviceDescriptor> for InputDeviceDescriptor
impl From<KeyboardDeviceDescriptor> for InputDeviceDescriptor
Source§fn from(b: KeyboardDeviceDescriptor) -> Self
fn from(b: KeyboardDeviceDescriptor) -> Self
Converts to this type from the input type.
Source§impl PartialEq for KeyboardDeviceDescriptor
impl PartialEq for KeyboardDeviceDescriptor
impl StructuralPartialEq for KeyboardDeviceDescriptor
Auto Trait Implementations§
impl Freeze for KeyboardDeviceDescriptor
impl RefUnwindSafe for KeyboardDeviceDescriptor
impl Send for KeyboardDeviceDescriptor
impl Sync for KeyboardDeviceDescriptor
impl Unpin for KeyboardDeviceDescriptor
impl UnwindSafe for KeyboardDeviceDescriptor
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
)