Struct mpris::TrackID [−][src]
pub struct TrackID<'a>(_);
Represents the MPRIS Track_Id
type.
use mpris::TrackID; let no_track = TrackID::from("/org/mpris/MediaPlayer2/TrackList/NoTrack");
Note: There is currently no good way to retrieve values for this through the mpris
library. You will have to manually retrieve them through D-Bus until implemented.
Panics
Trying to construct a TrackID
from a string that is not a valid D-Bus Path will result in a
panic.
Trait Implementations
impl<'a> Debug for TrackID<'a>
[src]
impl<'a> Debug for TrackID<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> Clone for TrackID<'a>
[src]
impl<'a> Clone for TrackID<'a>
fn clone(&self) -> TrackID<'a>
[src]
fn clone(&self) -> TrackID<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a, T> From<T> for TrackID<'a> where
T: Into<Path<'a>>,
[src]
impl<'a, T> From<T> for TrackID<'a> where
T: Into<Path<'a>>,