#[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,
}Expand description
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§
impl Freeze for LIBMTP_device_entry_struct
impl RefUnwindSafe for LIBMTP_device_entry_struct
impl !Send for LIBMTP_device_entry_struct
impl !Sync for LIBMTP_device_entry_struct
impl Unpin for LIBMTP_device_entry_struct
impl UnwindSafe for LIBMTP_device_entry_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