pub struct DeviceEntry {
pub vendor: &'static str,
pub vendor_id: u16,
pub product: &'static str,
pub product_id: u16,
pub device_flags: u32,
}
Expand description
Contains information about the devices libmtp
supports. More information
on music-players.h
.
Fields§
§vendor: &'static str
§vendor_id: u16
§product: &'static str
§product_id: u16
§device_flags: u32
Trait Implementations§
Source§impl Clone for DeviceEntry
impl Clone for DeviceEntry
Source§fn clone(&self) -> DeviceEntry
fn clone(&self) -> DeviceEntry
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 moreAuto Trait Implementations§
impl Freeze for DeviceEntry
impl RefUnwindSafe for DeviceEntry
impl Send for DeviceEntry
impl Sync for DeviceEntry
impl Unpin for DeviceEntry
impl UnwindSafe for DeviceEntry
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