pub struct Artwork { /* private fields */ }Expand description
Safe wrapper over a IITArtwork
Implementations§
Source§impl Artwork
impl Artwork
Sourcepub fn SetArtworkFromFile(&self, SetArtworkFromFile: &str) -> Result<()>
pub fn SetArtworkFromFile(&self, SetArtworkFromFile: &str) -> Result<()>
Replace existing artwork data with new artwork from an image file.
Sourcepub fn SaveArtworkToFile(&self, SaveArtworkToFile: &str) -> Result<()>
pub fn SaveArtworkToFile(&self, SaveArtworkToFile: &str) -> Result<()>
Save artwork data to an image file.
Sourcepub fn Format(&self) -> Result<ITArtworkFormat>
pub fn Format(&self) -> Result<ITArtworkFormat>
The format of the artwork.
Sourcepub fn is_IsDownloadedArtwork(&self) -> Result<bool>
pub fn is_IsDownloadedArtwork(&self) -> Result<bool>
True if the artwork was downloaded by iTunes.
Sourcepub fn Description(&self) -> Result<String>
pub fn Description(&self) -> Result<String>
The description for the artwork.
Sourcepub fn set_Description(&self, Description: &str) -> Result<()>
pub fn set_Description(&self, Description: &str) -> Result<()>
The description for the artwork.
Trait Implementations§
Source§impl ITunesRelatedObject for Artwork
impl ITunesRelatedObject for Artwork
Source§fn iTunes_instance(&self) -> Arc<iTunes>
fn iTunes_instance(&self) -> Arc<iTunes>
Return the related iTunes instance this object is related to
Auto Trait Implementations§
impl Freeze for Artwork
impl RefUnwindSafe for Artwork
impl !Send for Artwork
impl !Sync for Artwork
impl Unpin for Artwork
impl UnwindSafe for Artwork
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