#[repr(C)]pub struct LIBMTP_raw_device_struct {
pub device_entry: LIBMTP_device_entry_t,
pub bus_location: u32,
pub devnum: u8,
}Expand description
A data structure to hold a raw MTP device connected to the bus.
Fields§
§device_entry: LIBMTP_device_entry_t< The device entry for this raw device
bus_location: u32< Location of the bus, if device available
devnum: u8< Device number on the bus, if device available
Auto Trait Implementations§
impl Freeze for LIBMTP_raw_device_struct
impl RefUnwindSafe for LIBMTP_raw_device_struct
impl !Send for LIBMTP_raw_device_struct
impl !Sync for LIBMTP_raw_device_struct
impl Unpin for LIBMTP_raw_device_struct
impl UnwindSafe for LIBMTP_raw_device_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