pub enum CoverChange {
Keep,
Remove,
Set(Vec<u8>),
}Expand description
What to do with the track’s embedded front-cover picture on save.
Variants§
Keep
Leave the existing picture untouched.
Remove
Strip the front-cover picture from the file.
Set(Vec<u8>)
Replace the front cover with these image bytes (format auto-detected).
Trait Implementations§
Source§impl Clone for CoverChange
impl Clone for CoverChange
Source§fn clone(&self) -> CoverChange
fn clone(&self) -> CoverChange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CoverChange
impl Debug for CoverChange
Source§impl Default for CoverChange
impl Default for CoverChange
Source§fn default() -> CoverChange
fn default() -> CoverChange
Returns the “default value” for a type. Read more
Source§impl PartialEq for CoverChange
impl PartialEq for CoverChange
Source§fn eq(&self, other: &CoverChange) -> bool
fn eq(&self, other: &CoverChange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CoverChange
Auto Trait Implementations§
impl Freeze for CoverChange
impl RefUnwindSafe for CoverChange
impl Send for CoverChange
impl Sync for CoverChange
impl Unpin for CoverChange
impl UnsafeUnpin for CoverChange
impl UnwindSafe for CoverChange
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