#[repr(C)]pub struct LIBMTP_folder_struct {
pub folder_id: u32,
pub parent_id: u32,
pub storage_id: u32,
pub name: *mut c_char,
pub sibling: *mut LIBMTP_folder_t,
pub child: *mut LIBMTP_folder_t,
}Expand description
MTP Folder structure
Fields§
§folder_id: u32< Unique folder ID
parent_id: u32< ID of parent folder
storage_id: u32< ID of storage holding this folder
name: *mut c_char< Name of folder
sibling: *mut LIBMTP_folder_t< Next folder at same level or NULL if no more
child: *mut LIBMTP_folder_t< Child folder or NULL if no children
Auto Trait Implementations§
impl Freeze for LIBMTP_folder_struct
impl RefUnwindSafe for LIBMTP_folder_struct
impl !Send for LIBMTP_folder_struct
impl !Sync for LIBMTP_folder_struct
impl Unpin for LIBMTP_folder_struct
impl UnwindSafe for LIBMTP_folder_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