Struct windows::Storage::FileProperties::MusicProperties
pub struct MusicProperties(/* private fields */);
Implementations§
§impl MusicProperties
impl MusicProperties
pub fn Album(&self) -> Result<HSTRING>
pub fn SetAlbum(&self, value: &HSTRING) -> Result<()>
pub fn Artist(&self) -> Result<HSTRING>
pub fn SetArtist(&self, value: &HSTRING) -> Result<()>
pub fn Genre(&self) -> Result<IVector<HSTRING>>
pub fn TrackNumber(&self) -> Result<u32>
pub fn SetTrackNumber(&self, value: u32) -> Result<()>
pub fn Title(&self) -> Result<HSTRING>
pub fn SetTitle(&self, value: &HSTRING) -> Result<()>
pub fn Rating(&self) -> Result<u32>
pub fn SetRating(&self, value: u32) -> Result<()>
pub fn Duration(&self) -> Result<TimeSpan>
pub fn Bitrate(&self) -> Result<u32>
pub fn AlbumArtist(&self) -> Result<HSTRING>
pub fn SetAlbumArtist(&self, value: &HSTRING) -> Result<()>
pub fn Composers(&self) -> Result<IVector<HSTRING>>
pub fn Conductors(&self) -> Result<IVector<HSTRING>>
pub fn Subtitle(&self) -> Result<HSTRING>
pub fn SetSubtitle(&self, value: &HSTRING) -> Result<()>
pub fn Producers(&self) -> Result<IVector<HSTRING>>
pub fn Publisher(&self) -> Result<HSTRING>
pub fn SetPublisher(&self, value: &HSTRING) -> Result<()>
pub fn Writers(&self) -> Result<IVector<HSTRING>>
pub fn Year(&self) -> Result<u32>
pub fn SetYear(&self, value: u32) -> Result<()>
pub fn RetrievePropertiesAsync<P0>( &self, propertiestoretrieve: P0 ) -> Result<IAsyncOperation<IMap<HSTRING, IInspectable>>>
pub fn SavePropertiesAsync<P0>( &self, propertiestosave: P0 ) -> Result<IAsyncAction>
pub fn SavePropertiesAsyncOverloadDefault(&self) -> Result<IAsyncAction>
Trait Implementations§
§impl Clone for MusicProperties
impl Clone for MusicProperties
§fn clone(&self) -> MusicProperties
fn clone(&self) -> MusicProperties
Returns a copy 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 more§impl Debug for MusicProperties
impl Debug for MusicProperties
§impl From<&MusicProperties> for &IInspectable
impl From<&MusicProperties> for &IInspectable
§fn from(value: &MusicProperties) -> Self
fn from(value: &MusicProperties) -> Self
Converts to this type from the input type.
§impl From<&MusicProperties> for &IUnknown
impl From<&MusicProperties> for &IUnknown
§fn from(value: &MusicProperties) -> Self
fn from(value: &MusicProperties) -> Self
Converts to this type from the input type.
§impl From<MusicProperties> for IInspectable
impl From<MusicProperties> for IInspectable
§fn from(value: MusicProperties) -> Self
fn from(value: MusicProperties) -> Self
Converts to this type from the input type.
§impl From<MusicProperties> for IUnknown
impl From<MusicProperties> for IUnknown
§fn from(value: MusicProperties) -> Self
fn from(value: MusicProperties) -> Self
Converts to this type from the input type.
§impl Interface for MusicProperties
impl Interface for MusicProperties
§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 more§impl PartialEq for MusicProperties
impl PartialEq for MusicProperties
§fn eq(&self, other: &MusicProperties) -> bool
fn eq(&self, other: &MusicProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MusicProperties
impl StructuralPartialEq for MusicProperties
Auto Trait Implementations§
impl RefUnwindSafe for MusicProperties
impl !Send for MusicProperties
impl !Sync for MusicProperties
impl Unpin for MusicProperties
impl UnwindSafe for MusicProperties
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