Struct lewton::header::CommentHeader
source · pub struct CommentHeader {
pub vendor: String,
pub comment_list: Vec<(String, String)>,
}
Expand description
Representation of the comment header
The comment header is the second of the three headers inside each vorbis stream.
It contains text comment metadata about the stream, encoded as key-value pairs, and the vendor name.
Fields§
§vendor: String
An identification string of the software/library that encoded the stream.
comment_list: Vec<(String, String)>
A key-value list of the comments attached to the stream.
Trait Implementations§
source§impl Clone for CommentHeader
impl Clone for CommentHeader
source§fn clone(&self) -> CommentHeader
fn clone(&self) -> CommentHeader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CommentHeader
impl Debug for CommentHeader
source§impl Hash for CommentHeader
impl Hash for CommentHeader
source§impl PartialEq for CommentHeader
impl PartialEq for CommentHeader
source§fn eq(&self, other: &CommentHeader) -> bool
fn eq(&self, other: &CommentHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CommentHeader
impl StructuralEq for CommentHeader
impl StructuralPartialEq for CommentHeader
Auto Trait Implementations§
impl RefUnwindSafe for CommentHeader
impl Send for CommentHeader
impl Sync for CommentHeader
impl Unpin for CommentHeader
impl UnwindSafe for CommentHeader
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