Enum wavv::ChunkId[][src]

pub enum ChunkId {
Show 18 variants RIFF, FMT, LIST, DATA, JUNK, WAVE, INFO, INAM, IART, IPRD, ISFT, ITCH, IGNR, ISGN, ICOP, TRCK, TLEN, Other([u8; 4]),
}
Expand description

4 byte chunk IDs used in RIFF files to describe various sections of data

Variants

RIFF

RIFF file header

FMT

FMT header containing wave file data

LIST

RIFF list chunk containing an id and list of chunks

DATA

Audio data

JUNK

Junk data

WAVE

WAVE data

INFO

Info list, containing metadata

INAM

Track title

IART

Artist

IPRD

Album title

ISFT

Software used to create the file

ITCH

Creation date (YYYY-MM-DD or YYYY)

IGNR

Genre

ISGN

Secondary genre

ICOP

Copywright information

TRCK

Track number

TLEN

Length

Other

Unimplemented or unknow chunk id

Tuple Fields of Other

0: [u8; 4]

Implementations

Parse raw bytes into ChunkId

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.