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
sourceimpl EnvelopedTag for Overview
impl EnvelopedTag for Overview
sourceimpl MP4Tag for Overview
impl MP4Tag for Overview
sourceconst MP4_ATOM_FREEFORM_NAME: &'static str
const MP4_ATOM_FREEFORM_NAME: &'static str
The mean part of the freeform MP4_ATOM
that this data is stored in.
sourceconst MP4_ATOM_FREEFORM_MEAN: &'static str
const MP4_ATOM_FREEFORM_MEAN: &'static str
The mean part of the freeform MP4_ATOM
that this data is stored in.
fn parse_mp4(input: &[u8]) -> Result<Self, Error>
fn write_mp4(&self, writer: &mut impl Write) -> Result<usize, Error>
Auto Trait Implementations
impl RefUnwindSafe for Overview
impl Send for Overview
impl Sync for Overview
impl Unpin for Overview
impl UnwindSafe for Overview
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more