Enum mpd::status::ReplayGain
source · pub enum ReplayGain {
Off,
Track,
Album,
Auto,
}
Expand description
Replay gain mode
Variants§
Trait Implementations§
source§impl Clone for ReplayGain
impl Clone for ReplayGain
source§fn clone(&self) -> ReplayGain
fn clone(&self) -> ReplayGain
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 ReplayGain
impl Debug for ReplayGain
source§impl Display for ReplayGain
impl Display for ReplayGain
source§impl FromStr for ReplayGain
impl FromStr for ReplayGain
§type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
source§fn from_str(s: &str) -> Result<ReplayGain, ParseError>
fn from_str(s: &str) -> Result<ReplayGain, ParseError>
Parses a string
s
to return a value of this type. Read moresource§impl PartialEq<ReplayGain> for ReplayGain
impl PartialEq<ReplayGain> for ReplayGain
source§fn eq(&self, other: &ReplayGain) -> bool
fn eq(&self, other: &ReplayGain) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ReplayGain
impl StructuralPartialEq for ReplayGain
Auto Trait Implementations§
impl RefUnwindSafe for ReplayGain
impl Send for ReplayGain
impl Sync for ReplayGain
impl Unpin for ReplayGain
impl UnwindSafe for ReplayGain
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