#[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,
}Expand description
MTP device extension holder struct
Fields§
§name: *mut c_charName of extension e.g. “foo.com”
major: c_intMajor revision of extension
minor: c_intMinor revision of extension
next: *mut LIBMTP_device_extension_tPointer to the next extension or NULL if this is the last extension.
Trait Implementations§
Source§impl Clone for LIBMTP_device_extension_struct
impl Clone for LIBMTP_device_extension_struct
Source§fn clone(&self) -> LIBMTP_device_extension_struct
fn clone(&self) -> LIBMTP_device_extension_struct
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LIBMTP_device_extension_struct
Auto Trait Implementations§
impl Freeze for LIBMTP_device_extension_struct
impl RefUnwindSafe for LIBMTP_device_extension_struct
impl !Send for LIBMTP_device_extension_struct
impl !Sync for LIBMTP_device_extension_struct
impl Unpin for LIBMTP_device_extension_struct
impl UnwindSafe for LIBMTP_device_extension_struct
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more