pub enum BlockRef<'b> {
Streaminfo(&'b Streaminfo),
Padding(&'b Padding),
Application(&'b Application),
SeekTable(&'b SeekTable),
VorbisComment(&'b VorbisComment),
Cuesheet(&'b Cuesheet),
Picture(&'b Picture),
}Expand description
A shared reference to a metadata block
Variants§
Streaminfo(&'b Streaminfo)
The STREAMINFO block
Padding(&'b Padding)
The PADDING block
Application(&'b Application)
The APPLICATION block
SeekTable(&'b SeekTable)
The SEEKTABLE block
VorbisComment(&'b VorbisComment)
The VORBIS_COMMENT block
Cuesheet(&'b Cuesheet)
The CUESHEET block
Picture(&'b Picture)
The PICTURE block
Implementations§
Trait Implementations§
Source§impl AsBlockRef for BlockRef<'_>
impl AsBlockRef for BlockRef<'_>
Source§fn as_block_ref(&self) -> BlockRef<'_>
fn as_block_ref(&self) -> BlockRef<'_>
Returns fresh reference to ourself.
Source§impl ToBitStreamUsing for BlockRef<'_>
impl ToBitStreamUsing for BlockRef<'_>
impl<'b> Copy for BlockRef<'b>
impl<'b> Eq for BlockRef<'b>
impl<'b> StructuralPartialEq for BlockRef<'b>
Auto Trait Implementations§
impl<'b> Freeze for BlockRef<'b>
impl<'b> RefUnwindSafe for BlockRef<'b>
impl<'b> Send for BlockRef<'b>
impl<'b> Sync for BlockRef<'b>
impl<'b> Unpin for BlockRef<'b>
impl<'b> UnwindSafe for BlockRef<'b>
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