pub enum BlockType {
Streaminfo = 0,
Padding = 1,
Application = 2,
SeekTable = 3,
VorbisComment = 4,
Cuesheet = 5,
Picture = 6,
}Expand description
A defined FLAC metadata block type
Variants§
Streaminfo = 0
The STREAMINFO block
Padding = 1
The PADDING block
Application = 2
The APPLICATION block
SeekTable = 3
The SEEKTABLE block
VorbisComment = 4
The VORBIS_COMMENT block
Cuesheet = 5
The CUESHEET block
Picture = 6
The PICTURE block
Trait Implementations§
Source§impl From<OptionalBlockType> for BlockType
impl From<OptionalBlockType> for BlockType
Source§fn from(block: OptionalBlockType) -> Self
fn from(block: OptionalBlockType) -> Self
Converts to this type from the input type.
Source§impl FromBitStream for BlockType
impl FromBitStream for BlockType
Source§impl Ord for BlockType
impl Ord for BlockType
Source§impl PartialOrd for BlockType
impl PartialOrd for BlockType
Source§impl ToBitStream for BlockType
impl ToBitStream for BlockType
impl Copy for BlockType
impl Eq for BlockType
impl StructuralPartialEq for BlockType
Auto Trait Implementations§
impl Freeze for BlockType
impl RefUnwindSafe for BlockType
impl Send for BlockType
impl Sync for BlockType
impl Unpin for BlockType
impl UnwindSafe for BlockType
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