pub struct Playlist(/* private fields */);
Implementations§
§impl Playlist
impl Playlist
pub fn new() -> Result<Self>
pub fn Files(&self) -> Result<IVector<StorageFile>>
pub fn SaveAsync(&self) -> Result<IAsyncAction>
pub fn SaveAsAsync<P0>(
&self,
savelocation: P0,
desiredname: &HSTRING,
option: NameCollisionOption
) -> Result<IAsyncOperation<StorageFile>>where
P0: IntoParam<IStorageFolder>,
pub fn SaveAsWithFormatAsync<P0>(
&self,
savelocation: P0,
desiredname: &HSTRING,
option: NameCollisionOption,
playlistformat: PlaylistFormat
) -> Result<IAsyncOperation<StorageFile>>where
P0: IntoParam<IStorageFolder>,
pub fn LoadAsync<P0>(file: P0) -> Result<IAsyncOperation<Playlist>>where
P0: IntoParam<IStorageFile>,
Trait Implementations§
§impl From<&Playlist> for &IInspectable
impl From<&Playlist> for &IInspectable
§impl From<Playlist> for IInspectable
impl From<Playlist> for IInspectable
§impl Interface for Playlist
impl Interface for Playlist
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read moreimpl Eq for Playlist
impl StructuralPartialEq for Playlist
Auto Trait Implementations§
impl RefUnwindSafe for Playlist
impl !Send for Playlist
impl !Sync for Playlist
impl Unpin for Playlist
impl UnwindSafe for Playlist
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