pub struct Basic {
pub name: String,
pub vendor_id: u16,
pub product_id: u16,
pub manufacturer: String,
pub product_name: String,
pub serial_number: String,
}Expand description
Keyboard’s basic info
Fields§
§name: StringKeyboard name
vendor_id: u16Vender id
product_id: u16Product id
manufacturer: StringManufacturer
product_name: StringProduct name
serial_number: StringSerial number
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Basic
impl RefUnwindSafe for Basic
impl Send for Basic
impl Sync for Basic
impl Unpin for Basic
impl UnwindSafe for Basic
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)