[][src]Struct audiotags::Album

pub struct Album<'a> {
    pub title: &'a str,
    pub artist: Option<&'a str>,
    pub cover: Option<Picture<'a>>,
}

A struct for representing an album for convinience.

Fields

title: &'a strartist: Option<&'a str>cover: Option<Picture<'a>>

Implementations

impl<'a> Album<'a>[src]

pub fn with_title(title: &'a str) -> Self[src]

pub fn and_artist(self, artist: &'a str) -> Self[src]

pub fn and_cover(self, cover: Picture<'a>) -> Self[src]

pub fn with_all(title: &'a str, artist: &'a str, cover: Picture<'a>) -> Self[src]

Trait Implementations

impl<'a> Debug for Album<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Album<'a>

impl<'a> Send for Album<'a>

impl<'a> Sync for Album<'a>

impl<'a> Unpin for Album<'a>

impl<'a> UnwindSafe for Album<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.