Skip to main content

Tag

Trait Tag 

Source
pub trait Tag: Sized {
    const NAME: &'static str;

    // Required methods
    fn parse(input: &[u8]) -> Result<Self, Error>;
    fn write(&self, writer: &mut impl Write) -> Result<usize, Error>;
}

Required Associated Constants§

Source

const NAME: &'static str

Required Methods§

Source

fn parse(input: &[u8]) -> Result<Self, Error>

Source

fn write(&self, writer: &mut impl Write) -> Result<usize, Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Tag for Analysis

Source§

const NAME: &'static str = "Serato Analysis"

Source§

impl Tag for Autotags

Source§

const NAME: &'static str = "Serato Autotags"

Source§

impl Tag for Beatgrid

Source§

const NAME: &'static str = "Serato BeatGrid"

Source§

impl Tag for Markers

Source§

const NAME: &'static str = "Serato Markers_"

Source§

impl Tag for Markers2

Source§

const NAME: &'static str = "Serato Markers2"

Source§

impl Tag for Overview

Source§

const NAME: &'static str = "Serato Overview"

Source§

impl Tag for RelVolAd

Source§

const NAME: &'static str = "Serato RelVolAd"

Source§

impl Tag for VidAssoc

Source§

const NAME: &'static str = "Serato VidAssoc"