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>)

§

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

source§

fn clone(&self) -> MatroskaSpec

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 MatroskaSpec

source§

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

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

impl EbmlSpecification<MatroskaSpec> for MatroskaSpec

source§

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]

Gets the schema path of a specific tag. Read more
source§

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>

Creates a signed integer type tag from the spec. Read more
source§

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>

Creates a binary type tag from the spec. Read more
source§

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>

Creates a master type tag from the spec. Read more
source§

fn get_raw_tag(id: u64, data: &[u8]) -> MatroskaSpec

Creates a tag that does not conform to the spec. Read more
source§

fn get_tag_id(item: &T) -> u64

Gets the id of a specific tag variant. Read more
source§

fn get_path_by_tag(item: &T) -> &'static [PathPart]

Gets the schema path of a specific tag variant. Read more
source§

impl EbmlTag<MatroskaSpec> for MatroskaSpec

source§

fn get_id(&self) -> u64

Gets the id of self. Read more
source§

fn as_unsigned_int(&self) -> Option<&u64>

Gets a reference to the data contained in self as an unsigned integer. Read more
source§

fn as_signed_int(&self) -> Option<&i64>

Gets a reference to the data contained in self as an integer. Read more
source§

fn as_utf8(&self) -> Option<&str>

Gets a reference to the data contained in self as string slice. Read more
source§

fn as_binary(&self) -> Option<&[u8]>

Gets a reference to the data contained in self as binary data. Read more
source§

fn as_float(&self) -> Option<&f64>

Gets a reference to the data contained in self as float data. Read more
source§

fn as_master(&self) -> Option<&Master<MatroskaSpec>>

Gets a reference to master data contained in self. Read more
source§

impl<'a> From<Block<'a>> for MatroskaSpec

source§

fn from(block: Block<'_>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<SimpleBlock<'a>> for MatroskaSpec

source§

fn from(simple_block: SimpleBlock<'_>) -> Self

Converts to this type from the input type.
source§

impl PartialEq for MatroskaSpec

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a> TryFrom<&'a MatroskaSpec> for Block<'a>

§

type Error = WebmCoercionError

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

fn try_from(value: &'a MatroskaSpec) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a MatroskaSpec> for SimpleBlock<'a>

§

type Error = WebmCoercionError

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

fn try_from(value: &'a MatroskaSpec) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl StructuralPartialEq for MatroskaSpec

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> 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,

§

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>,

§

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>,

§

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.