Struct id3::frame::SynchronisedLyrics[][src]

pub struct SynchronisedLyrics {
    pub lang: String,
    pub timestamp_format: TimestampFormat,
    pub content_type: SynchronisedLyricsType,
    pub content: Vec<(u32, String)>,
}

The parsed contents of an unsynchronized lyrics frame.

Fields

lang: Stringtimestamp_format: TimestampFormatcontent_type: SynchronisedLyricsTypecontent: Vec<(u32, String)>

Implementations

impl SynchronisedLyrics[src]

pub fn fmt_table(&self, mut writer: impl Write) -> Result<()>[src]

Write the lyrics to the provided writer as a plain text table.

A typical table might look like:

Timecode        Lyrics
00:00:12.123    Song line one
00:00:22.456    Song line two
…

Errors

This function will return any I/O error reported while formatting.

Trait Implementations

impl Clone for SynchronisedLyrics[src]

impl Debug for SynchronisedLyrics[src]

impl Eq for SynchronisedLyrics[src]

impl Hash for SynchronisedLyrics[src]

impl PartialEq<SynchronisedLyrics> for SynchronisedLyrics[src]

impl StructuralEq for SynchronisedLyrics[src]

Auto Trait Implementations

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.