pub struct Overview {
    pub version: Version,
    pub data: Vec<Vec<u8>>,
}
Expand description

Represents the Serato Overview tag.

It contains waveform overview data as multiple chunks of 16 bytes.

Example

use triseratops::tag::{Overview, format::id3::ID3Tag};

// First, read the tag data from the ID3 GEOB tag (the tag name can be accessed using the
// Overview::ID3_TAG), then parse the data like this:
fn parse(data: &[u8]) {
    let content = Overview::parse_id3(data).expect("Failed to parse data!");
    println!("{:?}", content);
}

Fields

version: Version

The tag version.

data: Vec<Vec<u8>>

The Waveform overview data.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Name of the VORBIS_COMMENT that this data is stored in.

Name of the ID3 tag that this data is stored in.

The mean part of the freeform MP4_ATOM that this data is stored in.

The mean part of the freeform MP4_ATOM that this data is stored in.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.