pub enum MatroskaSpec {
Show 268 variants
Ebml(Master<MatroskaSpec>),
EbmlVersion(u64),
EbmlReadVersion(u64),
EbmlMaxIdLength(u64),
EbmlMaxSizeLength(u64),
DocType(String),
DocTypeVersion(u64),
DocTypeReadVersion(u64),
DocTypeExtension(Master<MatroskaSpec>),
DocTypeExtensionName(String),
DocTypeExtensionVersion(u64),
Segment(Master<MatroskaSpec>),
Attachments(Master<MatroskaSpec>),
AttachedFile(Master<MatroskaSpec>),
FileData(Vec<u8>),
FileDescription(String),
FileMimeType(String),
FileName(String),
FileReferral(Vec<u8>),
FileUID(u64),
FileUsedEndTime(u64),
FileUsedStartTime(u64),
Chapters(Master<MatroskaSpec>),
EditionEntry(Master<MatroskaSpec>),
ChapterAtom(Master<MatroskaSpec>),
ChapProcess(Master<MatroskaSpec>),
ChapProcessCodecID(u64),
ChapProcessCommand(Master<MatroskaSpec>),
ChapProcessData(Vec<u8>),
ChapProcessTime(u64),
ChapProcessPrivate(Vec<u8>),
ChapterDisplay(Master<MatroskaSpec>),
ChapCountry(String),
ChapLanguage(String),
ChapLanguageIETF(String),
ChapString(String),
ChapterFlagEnabled(u64),
ChapterFlagHidden(u64),
ChapterPhysicalEquiv(u64),
ChapterSegmentEditionUID(u64),
ChapterSegmentUID(Vec<u8>),
ChapterStringUID(String),
ChapterTimeEnd(u64),
ChapterTimeStart(u64),
ChapterTrack(Master<MatroskaSpec>),
ChapterTrackUID(u64),
ChapterUID(u64),
EditionFlagDefault(u64),
EditionFlagHidden(u64),
EditionFlagOrdered(u64),
EditionUID(u64),
Cluster(Master<MatroskaSpec>),
BlockGroup(Master<MatroskaSpec>),
Block(Vec<u8>),
BlockAdditions(Master<MatroskaSpec>),
BlockMore(Master<MatroskaSpec>),
BlockAddID(u64),
BlockAdditional(Vec<u8>),
BlockDuration(u64),
BlockVirtual(Vec<u8>),
CodecState(Vec<u8>),
DiscardPadding(i64),
ReferenceBlock(i64),
ReferenceFrame(Master<MatroskaSpec>),
ReferenceOffset(u64),
ReferenceTimestamp(u64),
ReferencePriority(u64),
ReferenceVirtual(i64),
Slices(Master<MatroskaSpec>),
TimeSlice(Master<MatroskaSpec>),
BlockAdditionID(u64),
Delay(u64),
FrameNumber(u64),
LaceNumber(u64),
SliceDuration(u64),
EncryptedBlock(Vec<u8>),
Position(u64),
PrevSize(u64),
SilentTracks(Master<MatroskaSpec>),
SilentTrackNumber(u64),
SimpleBlock(Vec<u8>),
Timestamp(u64),
Cues(Master<MatroskaSpec>),
CuePoint(Master<MatroskaSpec>),
CueTime(u64),
CueTrackPositions(Master<MatroskaSpec>),
CueBlockNumber(u64),
CueClusterPosition(u64),
CueCodecState(u64),
CueDuration(u64),
CueReference(Master<MatroskaSpec>),
CueRefCluster(u64),
CueRefCodecState(u64),
CueRefNumber(u64),
CueRefTime(u64),
CueRelativePosition(u64),
CueTrack(u64),
Info(Master<MatroskaSpec>),
ChapterTranslate(Master<MatroskaSpec>),
ChapterTranslateCodec(u64),
ChapterTranslateEditionUID(u64),
ChapterTranslateID(Vec<u8>),
DateUTC(i64),
Duration(f64),
MuxingApp(String),
NextFilename(String),
NextUID(Vec<u8>),
PrevFilename(String),
PrevUID(Vec<u8>),
SegmentFamily(Vec<u8>),
SegmentFilename(String),
SegmentUID(Vec<u8>),
TimestampScale(u64),
Title(String),
WritingApp(String),
SeekHead(Master<MatroskaSpec>),
Seek(Master<MatroskaSpec>),
SeekID(Vec<u8>),
SeekPosition(u64),
Tags(Master<MatroskaSpec>),
Tag(Master<MatroskaSpec>),
SimpleTag(Master<MatroskaSpec>),
TagBinary(Vec<u8>),
TagDefault(u64),
TagDefaultBogus(u64),
TagLanguage(String),
TagLanguageIETF(String),
TagName(String),
TagString(String),
Targets(Master<MatroskaSpec>),
TagAttachmentUID(u64),
TagChapterUID(u64),
TagEditionUID(u64),
TagTrackUID(u64),
TargetType(String),
TargetTypeValue(u64),
Tracks(Master<MatroskaSpec>),
TrackEntry(Master<MatroskaSpec>),
AttachmentLink(u64),
Audio(Master<MatroskaSpec>),
BitDepth(u64),
ChannelPositions(Vec<u8>),
Channels(u64),
OutputSamplingFrequency(f64),
SamplingFrequency(f64),
BlockAdditionMapping(Master<MatroskaSpec>),
BlockAddIDExtraData(Vec<u8>),
BlockAddIDName(String),
BlockAddIDType(u64),
BlockAddIDValue(u64),
CodecDecodeAll(u64),
CodecDelay(u64),
CodecDownloadURL(String),
CodecID(String),
CodecInfoURL(String),
CodecName(String),
CodecPrivate(Vec<u8>),
CodecSettings(String),
ContentEncodings(Master<MatroskaSpec>),
ContentEncoding(Master<MatroskaSpec>),
ContentCompression(Master<MatroskaSpec>),
ContentCompAlgo(u64),
ContentCompSettings(Vec<u8>),
ContentEncodingOrder(u64),
ContentEncodingScope(u64),
ContentEncodingType(u64),
ContentEncryption(Master<MatroskaSpec>),
ContentEncAESSettings(Master<MatroskaSpec>),
AESSettingsCipherMode(u64),
ContentEncAlgo(u64),
ContentEncKeyID(Vec<u8>),
ContentSigAlgo(u64),
ContentSigHashAlgo(u64),
ContentSigKeyID(Vec<u8>),
ContentSignature(Vec<u8>),
DefaultDecodedFieldDuration(u64),
DefaultDuration(u64),
FlagCommentary(u64),
FlagDefault(u64),
FlagEnabled(u64),
FlagForced(u64),
FlagHearingImpaired(u64),
FlagLacing(u64),
FlagOriginal(u64),
FlagTextDescriptions(u64),
FlagVisualImpaired(u64),
Language(String),
LanguageIETF(String),
MaxBlockAdditionID(u64),
MaxCache(u64),
MinCache(u64),
Name(String),
SeekPreRoll(u64),
TrackNumber(u64),
TrackOffset(i64),
TrackOperation(Master<MatroskaSpec>),
TrackCombinePlanes(Master<MatroskaSpec>),
TrackPlane(Master<MatroskaSpec>),
TrackPlaneType(u64),
TrackPlaneUID(u64),
TrackJoinBlocks(Master<MatroskaSpec>),
TrackJoinUID(u64),
TrackOverlay(u64),
TrackTimestampScale(f64),
TrackTranslate(Master<MatroskaSpec>),
TrackTranslateCodec(u64),
TrackTranslateEditionUID(u64),
TrackTranslateTrackID(Vec<u8>),
TrackType(u64),
TrackUID(u64),
TrickMasterTrackSegmentUID(Vec<u8>),
TrickMasterTrackUID(u64),
TrickTrackFlag(u64),
TrickTrackSegmentUID(Vec<u8>),
TrickTrackUID(u64),
Video(Master<MatroskaSpec>),
AlphaMode(u64),
AspectRatioType(u64),
Colour(Master<MatroskaSpec>),
BitsPerChannel(u64),
CbSubsamplingHorz(u64),
CbSubsamplingVert(u64),
ChromaSitingHorz(u64),
ChromaSitingVert(u64),
ChromaSubsamplingHorz(u64),
ChromaSubsamplingVert(u64),
MasteringMetadata(Master<MatroskaSpec>),
LuminanceMax(f64),
LuminanceMin(f64),
PrimaryBChromaticityX(f64),
PrimaryBChromaticityY(f64),
PrimaryGChromaticityX(f64),
PrimaryGChromaticityY(f64),
PrimaryRChromaticityX(f64),
PrimaryRChromaticityY(f64),
WhitePointChromaticityX(f64),
WhitePointChromaticityY(f64),
MatrixCoefficients(u64),
MaxCLL(u64),
MaxFALL(u64),
Primaries(u64),
Range(u64),
TransferCharacteristics(u64),
DisplayHeight(u64),
DisplayUnit(u64),
DisplayWidth(u64),
FieldOrder(u64),
FlagInterlaced(u64),
FrameRate(f64),
GammaValue(f64),
OldStereoMode(u64),
PixelCropBottom(u64),
PixelCropLeft(u64),
PixelCropRight(u64),
PixelCropTop(u64),
PixelHeight(u64),
PixelWidth(u64),
Projection(Master<MatroskaSpec>),
ProjectionPosePitch(f64),
ProjectionPoseRoll(f64),
ProjectionPoseYaw(f64),
ProjectionPrivate(Vec<u8>),
ProjectionType(u64),
StereoMode(u64),
UncompressedFourCC(Vec<u8>),
Crc32(Vec<u8>),
Void(Vec<u8>),
RawTag(u64, Vec<u8>),
}
Expand description
The Matroska specification
Variants are all of the different tag types defined by the Matroska spec.
Variants§
Ebml(Master<MatroskaSpec>)
EbmlVersion(u64)
EbmlReadVersion(u64)
EbmlMaxIdLength(u64)
EbmlMaxSizeLength(u64)
DocType(String)
DocTypeVersion(u64)
DocTypeReadVersion(u64)
DocTypeExtension(Master<MatroskaSpec>)
DocTypeExtensionName(String)
DocTypeExtensionVersion(u64)
Segment(Master<MatroskaSpec>)
Attachments(Master<MatroskaSpec>)
AttachedFile(Master<MatroskaSpec>)
FileData(Vec<u8>)
FileDescription(String)
FileMimeType(String)
FileName(String)
FileReferral(Vec<u8>)
FileUID(u64)
FileUsedEndTime(u64)
FileUsedStartTime(u64)
Chapters(Master<MatroskaSpec>)
EditionEntry(Master<MatroskaSpec>)
ChapterAtom(Master<MatroskaSpec>)
ChapProcess(Master<MatroskaSpec>)
ChapProcessCodecID(u64)
ChapProcessCommand(Master<MatroskaSpec>)
ChapProcessData(Vec<u8>)
ChapProcessTime(u64)
ChapProcessPrivate(Vec<u8>)
ChapterDisplay(Master<MatroskaSpec>)
ChapCountry(String)
ChapLanguage(String)
ChapLanguageIETF(String)
ChapString(String)
ChapterFlagEnabled(u64)
ChapterFlagHidden(u64)
ChapterPhysicalEquiv(u64)
ChapterSegmentEditionUID(u64)
ChapterSegmentUID(Vec<u8>)
ChapterStringUID(String)
ChapterTimeEnd(u64)
ChapterTimeStart(u64)
ChapterTrack(Master<MatroskaSpec>)
ChapterTrackUID(u64)
ChapterUID(u64)
EditionFlagDefault(u64)
EditionFlagHidden(u64)
EditionFlagOrdered(u64)
EditionUID(u64)
Cluster(Master<MatroskaSpec>)
BlockGroup(Master<MatroskaSpec>)
Block(Vec<u8>)
BlockAdditions(Master<MatroskaSpec>)
BlockMore(Master<MatroskaSpec>)
BlockAddID(u64)
BlockAdditional(Vec<u8>)
BlockDuration(u64)
BlockVirtual(Vec<u8>)
CodecState(Vec<u8>)
DiscardPadding(i64)
ReferenceBlock(i64)
ReferenceFrame(Master<MatroskaSpec>)
ReferenceOffset(u64)
ReferenceTimestamp(u64)
ReferencePriority(u64)
ReferenceVirtual(i64)
Slices(Master<MatroskaSpec>)
TimeSlice(Master<MatroskaSpec>)
BlockAdditionID(u64)
Delay(u64)
FrameNumber(u64)
LaceNumber(u64)
SliceDuration(u64)
EncryptedBlock(Vec<u8>)
Position(u64)
PrevSize(u64)
SilentTracks(Master<MatroskaSpec>)
SilentTrackNumber(u64)
SimpleBlock(Vec<u8>)
Timestamp(u64)
Cues(Master<MatroskaSpec>)
CuePoint(Master<MatroskaSpec>)
CueTime(u64)
CueTrackPositions(Master<MatroskaSpec>)
CueBlockNumber(u64)
CueClusterPosition(u64)
CueCodecState(u64)
CueDuration(u64)
CueReference(Master<MatroskaSpec>)
CueRefCluster(u64)
CueRefCodecState(u64)
CueRefNumber(u64)
CueRefTime(u64)
CueRelativePosition(u64)
CueTrack(u64)
Info(Master<MatroskaSpec>)
ChapterTranslate(Master<MatroskaSpec>)
ChapterTranslateCodec(u64)
ChapterTranslateEditionUID(u64)
ChapterTranslateID(Vec<u8>)
DateUTC(i64)
Duration(f64)
MuxingApp(String)
NextFilename(String)
NextUID(Vec<u8>)
PrevFilename(String)
PrevUID(Vec<u8>)
SegmentFamily(Vec<u8>)
SegmentFilename(String)
SegmentUID(Vec<u8>)
TimestampScale(u64)
Title(String)
WritingApp(String)
SeekHead(Master<MatroskaSpec>)
Seek(Master<MatroskaSpec>)
SeekID(Vec<u8>)
SeekPosition(u64)
Tags(Master<MatroskaSpec>)
Tag(Master<MatroskaSpec>)
SimpleTag(Master<MatroskaSpec>)
TagBinary(Vec<u8>)
TagDefault(u64)
TagDefaultBogus(u64)
TagLanguage(String)
TagLanguageIETF(String)
TagName(String)
TagString(String)
Targets(Master<MatroskaSpec>)
TagAttachmentUID(u64)
TagChapterUID(u64)
TagEditionUID(u64)
TagTrackUID(u64)
TargetType(String)
TargetTypeValue(u64)
Tracks(Master<MatroskaSpec>)
TrackEntry(Master<MatroskaSpec>)
AttachmentLink(u64)
Audio(Master<MatroskaSpec>)
BitDepth(u64)
ChannelPositions(Vec<u8>)
Channels(u64)
OutputSamplingFrequency(f64)
SamplingFrequency(f64)
BlockAdditionMapping(Master<MatroskaSpec>)
BlockAddIDExtraData(Vec<u8>)
BlockAddIDName(String)
BlockAddIDType(u64)
BlockAddIDValue(u64)
CodecDecodeAll(u64)
CodecDelay(u64)
CodecDownloadURL(String)
CodecID(String)
CodecInfoURL(String)
CodecName(String)
CodecPrivate(Vec<u8>)
CodecSettings(String)
ContentEncodings(Master<MatroskaSpec>)
ContentEncoding(Master<MatroskaSpec>)
ContentCompression(Master<MatroskaSpec>)
ContentCompAlgo(u64)
ContentCompSettings(Vec<u8>)
ContentEncodingOrder(u64)
ContentEncodingScope(u64)
ContentEncodingType(u64)
ContentEncryption(Master<MatroskaSpec>)
ContentEncAESSettings(Master<MatroskaSpec>)
AESSettingsCipherMode(u64)
ContentEncAlgo(u64)
ContentEncKeyID(Vec<u8>)
ContentSigAlgo(u64)
ContentSigHashAlgo(u64)
ContentSigKeyID(Vec<u8>)
ContentSignature(Vec<u8>)
DefaultDecodedFieldDuration(u64)
DefaultDuration(u64)
FlagCommentary(u64)
FlagDefault(u64)
FlagEnabled(u64)
FlagForced(u64)
FlagHearingImpaired(u64)
FlagLacing(u64)
FlagOriginal(u64)
FlagTextDescriptions(u64)
FlagVisualImpaired(u64)
Language(String)
LanguageIETF(String)
MaxBlockAdditionID(u64)
MaxCache(u64)
MinCache(u64)
Name(String)
SeekPreRoll(u64)
TrackNumber(u64)
TrackOffset(i64)
TrackOperation(Master<MatroskaSpec>)
TrackCombinePlanes(Master<MatroskaSpec>)
TrackPlane(Master<MatroskaSpec>)
TrackPlaneType(u64)
TrackPlaneUID(u64)
TrackJoinBlocks(Master<MatroskaSpec>)
TrackJoinUID(u64)
TrackOverlay(u64)
TrackTimestampScale(f64)
TrackTranslate(Master<MatroskaSpec>)
TrackTranslateCodec(u64)
TrackTranslateEditionUID(u64)
TrackTranslateTrackID(Vec<u8>)
TrackType(u64)
TrackUID(u64)
TrickMasterTrackSegmentUID(Vec<u8>)
TrickMasterTrackUID(u64)
TrickTrackFlag(u64)
TrickTrackSegmentUID(Vec<u8>)
TrickTrackUID(u64)
Video(Master<MatroskaSpec>)
AlphaMode(u64)
AspectRatioType(u64)
Colour(Master<MatroskaSpec>)
BitsPerChannel(u64)
CbSubsamplingHorz(u64)
CbSubsamplingVert(u64)
ChromaSitingHorz(u64)
ChromaSitingVert(u64)
ChromaSubsamplingHorz(u64)
ChromaSubsamplingVert(u64)
MasteringMetadata(Master<MatroskaSpec>)
LuminanceMax(f64)
LuminanceMin(f64)
PrimaryBChromaticityX(f64)
PrimaryBChromaticityY(f64)
PrimaryGChromaticityX(f64)
PrimaryGChromaticityY(f64)
PrimaryRChromaticityX(f64)
PrimaryRChromaticityY(f64)
WhitePointChromaticityX(f64)
WhitePointChromaticityY(f64)
MatrixCoefficients(u64)
MaxCLL(u64)
MaxFALL(u64)
Primaries(u64)
Range(u64)
TransferCharacteristics(u64)
DisplayHeight(u64)
DisplayUnit(u64)
DisplayWidth(u64)
FieldOrder(u64)
FlagInterlaced(u64)
FrameRate(f64)
GammaValue(f64)
OldStereoMode(u64)
PixelCropBottom(u64)
PixelCropLeft(u64)
PixelCropRight(u64)
PixelCropTop(u64)
PixelHeight(u64)
PixelWidth(u64)
Projection(Master<MatroskaSpec>)
ProjectionPosePitch(f64)
ProjectionPoseRoll(f64)
ProjectionPoseYaw(f64)
ProjectionPrivate(Vec<u8>)
ProjectionType(u64)
StereoMode(u64)
UncompressedFourCC(Vec<u8>)
Crc32(Vec<u8>)
Void(Vec<u8>)
RawTag(u64, Vec<u8>)
Trait Implementations§
Source§impl Clone for MatroskaSpec
impl Clone for MatroskaSpec
Source§fn clone(&self) -> MatroskaSpec
fn clone(&self) -> MatroskaSpec
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MatroskaSpec
impl Debug for MatroskaSpec
Source§impl EbmlSpecification<MatroskaSpec> for MatroskaSpec
impl EbmlSpecification<MatroskaSpec> for MatroskaSpec
Source§fn get_tag_data_type(id: u64) -> Option<TagDataType>
fn get_tag_data_type(id: u64) -> Option<TagDataType>
Pulls the data type for a tag from the spec, based on the tag id. Read more
Source§fn get_path_by_id(id: u64) -> &'static [PathPart]
fn get_path_by_id(id: u64) -> &'static [PathPart]
Gets the schema path of a specific tag. Read more
Source§fn get_unsigned_int_tag(id: u64, data: u64) -> Option<MatroskaSpec>
fn get_unsigned_int_tag(id: u64, data: u64) -> Option<MatroskaSpec>
Creates an unsigned integer type tag from the spec. Read more
Source§fn get_signed_int_tag(id: u64, data: i64) -> Option<MatroskaSpec>
fn get_signed_int_tag(id: u64, data: i64) -> Option<MatroskaSpec>
Creates a signed integer type tag from the spec. Read more
Source§fn get_utf8_tag(id: u64, data: String) -> Option<MatroskaSpec>
fn get_utf8_tag(id: u64, data: String) -> Option<MatroskaSpec>
Creates a utf8 type tag from the spec. Read more
Source§fn get_binary_tag(id: u64, data: &[u8]) -> Option<MatroskaSpec>
fn get_binary_tag(id: u64, data: &[u8]) -> Option<MatroskaSpec>
Creates a binary type tag from the spec. Read more
Source§fn get_float_tag(id: u64, data: f64) -> Option<MatroskaSpec>
fn get_float_tag(id: u64, data: f64) -> Option<MatroskaSpec>
Creates a float type tag from the spec. Read more
Source§fn get_master_tag(id: u64, data: Master<MatroskaSpec>) -> Option<MatroskaSpec>
fn get_master_tag(id: u64, data: Master<MatroskaSpec>) -> Option<MatroskaSpec>
Creates a master type tag from the spec. Read more
Source§fn get_raw_tag(id: u64, data: &[u8]) -> MatroskaSpec
fn get_raw_tag(id: u64, data: &[u8]) -> MatroskaSpec
Creates a tag that does not conform to the spec. Read more
Source§impl EbmlTag<MatroskaSpec> for MatroskaSpec
impl EbmlTag<MatroskaSpec> for MatroskaSpec
Source§fn as_unsigned_int(&self) -> Option<&u64>
fn as_unsigned_int(&self) -> Option<&u64>
Gets a reference to the data contained in
self
as an unsigned integer. Read moreSource§fn as_signed_int(&self) -> Option<&i64>
fn as_signed_int(&self) -> Option<&i64>
Gets a reference to the data contained in
self
as an integer. Read moreSource§fn as_utf8(&self) -> Option<&str>
fn as_utf8(&self) -> Option<&str>
Gets a reference to the data contained in
self
as string slice. Read moreSource§fn as_binary(&self) -> Option<&[u8]>
fn as_binary(&self) -> Option<&[u8]>
Gets a reference to the data contained in
self
as binary data. Read moreSource§impl<'a> From<Block<'a>> for MatroskaSpec
impl<'a> From<Block<'a>> for MatroskaSpec
Source§impl<'a> From<SimpleBlock<'a>> for MatroskaSpec
impl<'a> From<SimpleBlock<'a>> for MatroskaSpec
Source§fn from(simple_block: SimpleBlock<'_>) -> Self
fn from(simple_block: SimpleBlock<'_>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MatroskaSpec
impl PartialEq for MatroskaSpec
Source§impl<'a> TryFrom<&'a MatroskaSpec> for Block<'a>
impl<'a> TryFrom<&'a MatroskaSpec> for Block<'a>
Source§type Error = WebmCoercionError
type Error = WebmCoercionError
The type returned in the event of a conversion error.
Source§impl<'a> TryFrom<&'a MatroskaSpec> for SimpleBlock<'a>
impl<'a> TryFrom<&'a MatroskaSpec> for SimpleBlock<'a>
Source§type Error = WebmCoercionError
type Error = WebmCoercionError
The type returned in the event of a conversion error.
impl StructuralPartialEq for MatroskaSpec
Auto Trait Implementations§
impl Freeze for MatroskaSpec
impl RefUnwindSafe for MatroskaSpec
impl Send for MatroskaSpec
impl Sync for MatroskaSpec
impl Unpin for MatroskaSpec
impl UnwindSafe for MatroskaSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)