Enum mpris_server::Property
source · pub enum Property {
Show 22 variants
CanQuit(bool),
Fullscreen(bool),
CanSetFullscreen(bool),
CanRaise(bool),
HasTrackList(bool),
Identity(String),
DesktopEntry(String),
SupportedUriSchemes(Vec<String>),
SupportedMimeTypes(Vec<String>),
PlaybackStatus(PlaybackStatus),
LoopStatus(LoopStatus),
Rate(PlaybackRate),
Shuffle(bool),
Metadata(Metadata),
Volume(Volume),
MinimumRate(PlaybackRate),
MaximumRate(PlaybackRate),
CanGoNext(bool),
CanGoPrevious(bool),
CanPlay(bool),
CanPause(bool),
CanSeek(bool),
}
Expand description
Used for emitting PropertiesChanged
signals on
Server::properties_changed
and LocalServer::properties_changed
.
Variants§
CanQuit(bool)
Fullscreen(bool)
CanSetFullscreen(bool)
CanRaise(bool)
HasTrackList(bool)
Identity(String)
DesktopEntry(String)
SupportedUriSchemes(Vec<String>)
SupportedMimeTypes(Vec<String>)
PlaybackStatus(PlaybackStatus)
LoopStatus(LoopStatus)
Rate(PlaybackRate)
Shuffle(bool)
Metadata(Metadata)
Volume(Volume)
MinimumRate(PlaybackRate)
MaximumRate(PlaybackRate)
CanGoNext(bool)
CanGoPrevious(bool)
CanPlay(bool)
CanPause(bool)
CanSeek(bool)
Trait Implementations§
impl StructuralPartialEq for Property
Auto Trait Implementations§
impl Freeze for Property
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)