[][src]Struct audiotags::Picture

pub struct Picture {
    pub data: Vec<u8>,
    pub mime_type: MimeType,
}

Fields

data: Vec<u8>mime_type: MimeType

Implementations

impl Picture[src]

pub fn try_with_mime(data: Vec<u8>, mime: &str) -> Result<Self, ()>[src]

Trait Implementations

impl Clone for Picture[src]

impl Debug for Picture[src]

impl Eq for Picture[src]

impl PartialEq<Picture> for Picture[src]

impl StructuralEq for Picture[src]

impl StructuralPartialEq for Picture[src]

Auto Trait Implementations

impl RefUnwindSafe for Picture

impl Send for Picture

impl Sync for Picture

impl Unpin for Picture

impl UnwindSafe for Picture

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.