Enum mpris_server::Property
source · #[repr(u32)]pub enum Property {
Show 22 variants
CanQuit,
Fullscreen,
CanSetFullscreen,
CanRaise,
HasTrackList,
Identity,
DesktopEntry,
SupportedUriSchemes,
SupportedMimeTypes,
PlaybackStatus,
LoopStatus,
Rate,
Shuffle,
Metadata,
Volume,
MinimumRate,
MaximumRate,
CanGoNext,
CanGoPrevious,
CanPlay,
CanPause,
CanSeek,
}Expand description
Used for emitting PropertiesChanged signals on
Server::properties_changed and LocalServer::properties_changed.
Variants§
CanQuit
Fullscreen
CanSetFullscreen
CanRaise
HasTrackList
Identity
DesktopEntry
SupportedUriSchemes
SupportedMimeTypes
PlaybackStatus
LoopStatus
Rate
Shuffle
Metadata
Volume
MinimumRate
MaximumRate
CanGoNext
CanGoPrevious
CanPlay
CanPause
CanSeek
Trait Implementations§
source§impl PartialEq<Property> for Property
impl PartialEq<Property> for Property
source§impl RawBitFlags for Property
impl RawBitFlags for Property
source§const EMPTY: Self::Numeric = {transmute(0x00000000): <property::Property as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: Self::Numeric = {transmute(0x00000000): <property::Property as enumflags2::_internal::RawBitFlags>::Numeric}
A value with no bits set.
source§const DEFAULT: Self::Numeric = {transmute(0x00000000): <property::Property as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: Self::Numeric = {transmute(0x00000000): <property::Property as enumflags2::_internal::RawBitFlags>::Numeric}
The value used by the Default implementation. Equivalent to EMPTY, unless
customized.
source§const ALL_BITS: Self::Numeric = {transmute(0x003fffff): <property::Property as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: Self::Numeric = {transmute(0x003fffff): <property::Property as enumflags2::_internal::RawBitFlags>::Numeric}
A value with all flag bits set.
source§const BITFLAGS_TYPE_NAME: &'static str = _
const BITFLAGS_TYPE_NAME: &'static str = _
The name of the type for debug formatting purposes. Read more
impl Copy for Property
impl Eq for Property
impl StructuralEq for Property
impl StructuralPartialEq for Property
Auto Trait Implementations§
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