[][src]Struct libusb::ConfigDescriptor

pub struct ConfigDescriptor { /* fields omitted */ }

Describes a configuration.

Methods

impl ConfigDescriptor
[src]

Returns the configuration number.

Returns the device's maximum power consumption (in milliwatts) in this configuration.

Indicates if the device is self-powered in this configuration.

Indicates if the device has remote wakeup capability in this configuration.

Returns the index of the string descriptor that describes the configuration.

Returns the number of interfaces for this configuration.

Important traits for Interfaces<'a>

Returns a collection of the configuration's interfaces.

Trait Implementations

impl Drop for ConfigDescriptor
[src]

Executes the destructor for this type. Read more

impl Sync for ConfigDescriptor
[src]

impl Send for ConfigDescriptor
[src]

impl Debug for ConfigDescriptor
[src]

Formats the value using the given formatter. Read more

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

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

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more