[][src]Struct libusb_native::core::libusb_device

#[repr(C)]pub struct libusb_device {
    pub lock: usbi_mutex_t,
    pub refcnt: c_int,
    pub ctx: *mut libusb_context,
    pub parent_dev: *mut libusb_device,
    pub bus_number: uint8_t,
    pub port_number: uint8_t,
    pub device_address: uint8_t,
    pub speed: libusb_speed,
    pub list: list_head,
    pub session_data: c_ulong,
    pub device_descriptor: libusb_device_descriptor,
    pub attached: c_int,
}

Fields

lock: usbi_mutex_trefcnt: c_intctx: *mut libusb_contextparent_dev: *mut libusb_devicebus_number: uint8_tport_number: uint8_tdevice_address: uint8_tspeed: libusb_speedlist: list_headsession_data: c_ulongdevice_descriptor: libusb_device_descriptorattached: c_int

Trait Implementations

impl Clone for libusb_device[src]

impl Copy for libusb_device[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.