Struct hidapi::HidDeviceInfo [] [src]

pub struct HidDeviceInfo {
    // some fields omitted
}

Methods

impl HidDeviceInfo
[src]

fn get_path(&self) -> String

Platform-specific device path

fn get_vendor_id(&self) -> u16

fn get_product_id(&self) -> u16

fn get_serial_number(&self) -> Option<String>

fn get_release_number(&self) -> u16

fn get_manufacturer_string(&self) -> Option<String>

fn get_product_string(&self) -> Option<String>

fn get_usage_page(&self) -> u16

fn get_usage(&self) -> u16

fn get_interface_number(&self) -> i32

Trait Implementations

impl Clone for HidDeviceInfo
[src]

fn clone(&self) -> HidDeviceInfo

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for HidDeviceInfo
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.