pub struct VorbisCommentHeader {
pub vendor: String,
pub comments: Vec<String>,
}Expand description
Vorbis comment header (metadata tags)
Fields§
§vendor: StringVendor string
comments: Vec<String>User comment strings (e.g., “ARTIST=Example”)
Implementations§
Source§impl VorbisCommentHeader
impl VorbisCommentHeader
Sourcepub fn parse(packet: &[u8]) -> CodecResult<Self>
pub fn parse(packet: &[u8]) -> CodecResult<Self>
Parse from a Vorbis comment packet
Trait Implementations§
Source§impl Clone for VorbisCommentHeader
impl Clone for VorbisCommentHeader
Source§fn clone(&self) -> VorbisCommentHeader
fn clone(&self) -> VorbisCommentHeader
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VorbisCommentHeader
impl Debug for VorbisCommentHeader
Source§impl PartialEq for VorbisCommentHeader
impl PartialEq for VorbisCommentHeader
impl Eq for VorbisCommentHeader
impl StructuralPartialEq for VorbisCommentHeader
Auto Trait Implementations§
impl Freeze for VorbisCommentHeader
impl RefUnwindSafe for VorbisCommentHeader
impl Send for VorbisCommentHeader
impl Sync for VorbisCommentHeader
impl Unpin for VorbisCommentHeader
impl UnwindSafe for VorbisCommentHeader
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)