Struct hidapi::HidDeviceInfo [−][src]
pub struct HidDeviceInfo { pub path: String, pub vendor_id: u16, pub product_id: u16, pub serial_number: Option<String>, pub release_number: u16, pub manufacturer_string: Option<String>, pub product_string: Option<String>, pub usage_page: u16, pub usage: u16, pub interface_number: i32, }
Storage for device related information
Fields
path: String
vendor_id: u16
product_id: u16
serial_number: Option<String>
release_number: u16
manufacturer_string: Option<String>
product_string: Option<String>
usage_page: u16
usage: u16
interface_number: i32
Trait Implementations
impl Debug for HidDeviceInfo
[src]
impl Debug for HidDeviceInfo
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for HidDeviceInfo
[src]
impl Clone for HidDeviceInfo
fn clone(&self) -> HidDeviceInfo
[src]
fn clone(&self) -> HidDeviceInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for HidDeviceInfo
impl Send for HidDeviceInfo
impl Sync for HidDeviceInfo
impl Sync for HidDeviceInfo