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

Represents the Serato RelVolAd tag.

Note: This tag has not been reverse-engineered yet. Judging from the name it contains information about relative volume adjustments, but at this point that is just speculation.

Example

use triseratops::tag::{RelVolAd, format::flac::FLACTag};

// First, read the tag data from the FLAC VORBIS_COMMENT (the tag name can be accessed using the
// RelVolAd::FLAC_TAG), then parse the data like this:
fn parse(data: &[u8]) {
    let content = RelVolAd::parse_flac(data).expect("Failed to parse data!");
    println!("{:?}", content);
}

Fields

version: Version

The RelVolAd version.

data: Vec<u8>

The data (not reverse-engineered yet)

Trait Implementations

Formats the value using the given formatter. Read more

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