Struct HandlerCode

Source
pub struct HandlerCode(pub FourCC);
Expand description

Codes identifying handlers, that declare track-types.

Commonly used values,

See also,

Tuple Fields§

§0: FourCC

Implementations§

§

impl HandlerCode

pub const THREE_GSD: HandlerCode

3GPP Scene Description

FourCC: 3gsd

Specification: 3GPP

pub const AUXV: HandlerCode

Auxiliary video

FourCC: auxv

Specification: ISO

pub const AVMD: HandlerCode

Avid Metadata

FourCC: avmd

Specification: Avid

pub const CLCP: HandlerCode

Closed Caption

FourCC: clcp

Specification: Apple

pub const CPAD: HandlerCode

CPCM Auxiliary Metadata

FourCC: cpad

Specification: DVB

pub const CRSM: HandlerCode

ClockReferenceStream

FourCC: crsm

Specification: MPEG-4

pub const DMBD: HandlerCode

DVB Mandatory Metadata

FourCC: dmbd

Specification: DVB

pub const DTVA: HandlerCode

TV-Anytime Metadata, according to DVB specifications

FourCC: dtva

Specification: DVB

pub const DVMD: HandlerCode

withdrawn, unused, do not use (was Dolby Vision Metadata)

FourCC: dvmd

Specification: Deprecated

pub const FDSM: HandlerCode

Font

FourCC: fdsm

Specification: MPEG-4

pub const GESM: HandlerCode

General MPEG-4 systems streams (without specific handler)

FourCC: gesm

Specification: see (1) below

pub const GRAP: HandlerCode

Subtitle Graphics

FourCC: GRAP

Specification: Sony

pub const HINT: HandlerCode

Hint

FourCC: hint

Specification: ISO

pub const HPIX: HandlerCode

Hipix Rich Picture Format

FourCC: hpix

Specification: Hipix

pub const ID32: HandlerCode

ID3 version 2 meta-data handler (meta box)

FourCC: ID32

Specification: id3v2

pub const IPDC: HandlerCode

DVB IPDC ESG Metadata

FourCC: ipdc

Specification: DVB

pub const IPSM: HandlerCode

IPMP Stream

FourCC: ipsm

Specification: MPEG-4

pub const M7SM: HandlerCode

MPEG7Stream

FourCC: m7sm

Specification: MPEG-4

pub const META: HandlerCode

Metadata

FourCC: meta

Specification: ISO

pub const MJSM: HandlerCode

MPEG-J Stream

FourCC: mjsm

Specification: MPEG-4

pub const MP21: HandlerCode

MPEG-21 Digital item

FourCC: mp21

Specification: MPEG-21

pub const MP7B: HandlerCode

MPEG-7 (binary meta-data)

FourCC: mp7b

Specification: ISO

pub const MP7T: HandlerCode

MPEG-7 (textual meta-data)

FourCC: mp7t

Specification: ISO

pub const MPD: HandlerCode

MPD contained in a metabox

FourCC: mpd

Specification: 3GPP

pub const MPDL: HandlerCode

MPD link contained in a metabox

FourCC: mpdl

Specification: 3GPP

pub const MPEG: HandlerCode

QuickTime MPEG track handler

FourCC: MPEG

Specification: Apple

pub const MUSI: HandlerCode

QuickTime Music track handler

FourCC: musi

Specification: Apple

pub const NRTM: HandlerCode

Non-Real Time Metadata (XAVC Format)

FourCC: nrtm

Specification: Sony

pub const NULL: HandlerCode

No handling required (meta-data)

FourCC: null

Specification: ISO

pub const OCSM: HandlerCode

ObjectContentInfoStream

FourCC: ocsm

Specification: MPEG-4

pub const ODSM: HandlerCode

ObjectDescriptorStream

FourCC: odsm

Specification: MPEG-4

pub const PICT: HandlerCode

Image Item and Image sequences

FourCC: pict

Specification: HEIF

pub const QD3D: HandlerCode

QuickTime QuickDraw 3D ttrack handler

FourCC: qd3d

Specification: Apple

pub const SBTL: HandlerCode

QuickTime Subtitle track handler

FourCC: sbtl

Specification: Apple

pub const SDSM: HandlerCode

SceneDescriptionStream

FourCC: sdsm

Specification: MPEG-4

pub const SKMM: HandlerCode

Key Management Messages

FourCC: skmm

Specification: DVB

pub const SMHR: HandlerCode

Samsung Video Metadata Handler

FourCC: smhr

Specification: Samsung

pub const SOUN: HandlerCode

Audio

FourCC: soun

Specification: ISO

pub const SPRT: HandlerCode

QuickTime Sprite track handler

FourCC: sprt

Specification: Apple

pub const STRM: HandlerCode

QuickTime Streaming track handler

FourCC: strm

Specification: Apple

pub const SUBT: HandlerCode

Subtitles

FourCC: subt

Specification: ISO

pub const TEXT: HandlerCode

Text

FourCC: text

Specification: 3GPP

pub const TMCD: HandlerCode

Timecode

FourCC: tmcd

Specification: Apple

pub const TWEN: HandlerCode

QuickTime Tween track handler

FourCC: twen

Specification: Apple

pub const URI: HandlerCode

URI identified metadata

FourCC: uri

Specification: DVB

pub const VIDE: HandlerCode

Video

FourCC: vide

Specification: ISO

pub const VOLV: HandlerCode

Volumetric visual media

FourCC: volv

Specification: ISO

pub const HAPT: HandlerCode

Haptics

FourCC: hapt

Specification: ISO

Source§

impl HandlerCode

Source

pub const fn new(code: [u8; 4]) -> HandlerCode

Construct a HandlerCode from its four-cc value

Trait Implementations§

Source§

impl Clone for HandlerCode

Source§

fn clone(&self) -> HandlerCode

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for HandlerCode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<FourCC> for HandlerCode

Source§

fn from(val: FourCC) -> Self

Converts to this type from the input type.
Source§

impl From<HandlerCode> for FourCC

Source§

fn from(val: HandlerCode) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for HandlerCode

Source§

fn eq(&self, other: &HandlerCode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for HandlerCode

Source§

impl Eq for HandlerCode

Source§

impl StructuralPartialEq for HandlerCode

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.