pub struct Analysis {
    pub version: Version,
}
Expand description

Represents the Serato Analysis tag.

This is probably the Serato Version number that performed the analysis.

Example

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

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

Fields

version: Version

The analysis version.

Trait Implementations

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.

Name of the 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 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.