[][src]Struct libmtp_sys::bindings::LIBMTP_device_entry_struct

#[repr(C)]pub struct LIBMTP_device_entry_struct {
    pub vendor: *mut c_char,
    pub vendor_id: u16,
    pub product: *mut c_char,
    pub product_id: u16,
    pub device_flags: u32,
}

A data structure to hold MTP device entries.

Fields

vendor: *mut c_char

< The vendor of this device

vendor_id: u16

< Vendor ID for this device

product: *mut c_char

< The product name of this device

product_id: u16

< Product ID for this device

device_flags: u32

< Bugs, device specifics etc

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, 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.