Struct mpd::song::Range [] [src]

pub struct Range(pub Duration, pub Option<Duration>);

Song range

Trait Implementations

impl PartialEq for Range
[src]

fn eq(&self, __arg_0: &Range) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Range) -> bool

This method tests for !=.

impl Clone for Range
[src]

fn clone(&self) -> Range

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for Range
[src]

impl Debug for Range
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Encodable for Range
[src]

fn encode<S: Encoder>(&self, e: &mut S) -> Result<(), S::Error>

impl Default for Range
[src]

fn default() -> Range

Returns the "default value" for a type. Read more

impl Display for Range
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl FromStr for Range
[src]

type Err = ParseError

The associated error which can be returned from parsing.

fn from_str(s: &str) -> Result<RangeParseError>

Parses a string s to return a value of this type. Read more