#[repr(C)]pub struct LIBMTP_filesampledata_struct {
pub width: u32,
pub height: u32,
pub duration: u32,
pub filetype: LIBMTP_filetype_t,
pub size: u64,
pub data: *mut c_char,
}Expand description
LIBMTP Object RepresentativeSampleData Structure
Fields§
§width: u32< Width of sample if it is an image
height: u32< Height of sample if it is an image
duration: u32< Duration in milliseconds if it is audio
filetype: LIBMTP_filetype_t< Filetype used for the sample
size: u64< Size of sample data in bytes
data: *mut c_char< Sample data
Auto Trait Implementations§
impl Freeze for LIBMTP_filesampledata_struct
impl RefUnwindSafe for LIBMTP_filesampledata_struct
impl !Send for LIBMTP_filesampledata_struct
impl !Sync for LIBMTP_filesampledata_struct
impl Unpin for LIBMTP_filesampledata_struct
impl UnwindSafe for LIBMTP_filesampledata_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