[][src]Struct uvc_src::uvc_device_descriptor

#[repr(C)]pub struct uvc_device_descriptor {
    pub idVendor: u16,
    pub idProduct: u16,
    pub bcdUVC: u16,
    pub serialNumber: *const c_char,
    pub manufacturer: *const c_char,
    pub product: *const c_char,
}

Structure representing a UVC device descriptor.

(This isn't a standard structure.)

Fields

idVendor: u16

Vendor ID

idProduct: u16

Product ID

bcdUVC: u16

UVC compliance level, e.g. 0x0100 (1.0), 0x0110

serialNumber: *const c_char

Serial number (null if unavailable)

manufacturer: *const c_char

Device-reported manufacturer name (or null)

product: *const c_char

Device-reporter product name (or null)

Trait Implementations

impl Clone for uvc_device_descriptor[src]

impl Copy for uvc_device_descriptor[src]

impl Debug for uvc_device_descriptor[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.