#[repr(C)]pub struct LIBMTP_playlist_struct {
pub playlist_id: u32,
pub parent_id: u32,
pub storage_id: u32,
pub name: *mut c_char,
pub tracks: *mut u32,
pub no_tracks: u32,
pub next: *mut LIBMTP_playlist_t,
}Expand description
MTP Playlist structure
Fields§
§playlist_id: u32< Unique playlist ID
parent_id: u32< ID of parent folder
storage_id: u32< ID of storage holding this playlist
name: *mut c_char< Name of playlist
tracks: *mut u32< The tracks in this playlist
no_tracks: u32< The number of tracks in this playlist
next: *mut LIBMTP_playlist_t< Next playlist or NULL if last playlist
Auto Trait Implementations§
impl Freeze for LIBMTP_playlist_struct
impl RefUnwindSafe for LIBMTP_playlist_struct
impl !Send for LIBMTP_playlist_struct
impl !Sync for LIBMTP_playlist_struct
impl Unpin for LIBMTP_playlist_struct
impl UnwindSafe for LIBMTP_playlist_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