[][src]Struct libmtp_sys::bindings::LIBMTP_device_extension_struct

#[repr(C)]pub struct LIBMTP_device_extension_struct {
    pub name: *mut c_char,
    pub major: c_int,
    pub minor: c_int,
    pub next: *mut LIBMTP_device_extension_t,
}

MTP device extension holder struct

Fields

name: *mut c_char

Name of extension e.g. "foo.com"

major: c_int

Major revision of extension

minor: c_int

Minor revision of extension

next: *mut LIBMTP_device_extension_t

Pointer to the next extension or NULL if this is the last extension.

Trait Implementations

impl Clone for LIBMTP_device_extension_struct[src]

impl Copy for LIBMTP_device_extension_struct[src]

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