pub enum VorbisCommentFieldsAction {
Copy,
Delete,
}Expand description
Identifies which strategy to use to optimize the Vorbis user comment string pairs in the Vorbis comment header.
Variants§
Copy
The comment pairs will be copied as-is to the optimized stream.
Delete
Every comment will be removed, to save space on the optimized stream.
This may delete comment strings which contain invalid UTF-8 characters and are against the specification, improving interoperability.
Trait Implementations§
source§impl Clone for VorbisCommentFieldsAction
impl Clone for VorbisCommentFieldsAction
source§fn clone(&self) -> VorbisCommentFieldsAction
fn clone(&self) -> VorbisCommentFieldsAction
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 VorbisCommentFieldsAction
impl Debug for VorbisCommentFieldsAction
source§impl Default for VorbisCommentFieldsAction
impl Default for VorbisCommentFieldsAction
source§impl PartialEq<VorbisCommentFieldsAction> for VorbisCommentFieldsAction
impl PartialEq<VorbisCommentFieldsAction> for VorbisCommentFieldsAction
source§fn eq(&self, other: &VorbisCommentFieldsAction) -> bool
fn eq(&self, other: &VorbisCommentFieldsAction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for VorbisCommentFieldsAction
impl Eq for VorbisCommentFieldsAction
impl StructuralEq for VorbisCommentFieldsAction
impl StructuralPartialEq for VorbisCommentFieldsAction
Auto Trait Implementations§
impl RefUnwindSafe for VorbisCommentFieldsAction
impl Send for VorbisCommentFieldsAction
impl Sync for VorbisCommentFieldsAction
impl Unpin for VorbisCommentFieldsAction
impl UnwindSafe for VorbisCommentFieldsAction
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.