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