pub enum OptionalBlockType {
Padding = 1,
Application = 2,
SeekTable = 3,
VorbisComment = 4,
Cuesheet = 5,
Picture = 6,
}Expand description
A block type for optional FLAC metadata blocks
This is a subset of BlockType which contains
no STREAMINFO, which is a required block.
Variants§
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 Clone for OptionalBlockType
impl Clone for OptionalBlockType
Source§fn clone(&self) -> OptionalBlockType
fn clone(&self) -> OptionalBlockType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OptionalBlockType
impl Debug for OptionalBlockType
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 Ord for OptionalBlockType
impl Ord for OptionalBlockType
Source§fn cmp(&self, other: &OptionalBlockType) -> Ordering
fn cmp(&self, other: &OptionalBlockType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OptionalBlockType
impl PartialEq for OptionalBlockType
Source§impl PartialOrd for OptionalBlockType
impl PartialOrd for OptionalBlockType
impl Copy for OptionalBlockType
impl Eq for OptionalBlockType
impl StructuralPartialEq for OptionalBlockType
Auto Trait Implementations§
impl Freeze for OptionalBlockType
impl RefUnwindSafe for OptionalBlockType
impl Send for OptionalBlockType
impl Sync for OptionalBlockType
impl Unpin for OptionalBlockType
impl UnwindSafe for OptionalBlockType
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