Enum mpris_server::Property
source · #[repr(u32)]pub enum Property {
Show 22 variants
CanQuit = 1,
Fullscreen = 2,
CanSetFullscreen = 4,
CanRaise = 8,
HasTrackList = 16,
Identity = 32,
DesktopEntry = 64,
SupportedUriSchemes = 128,
SupportedMimeTypes = 256,
PlaybackStatus = 512,
LoopStatus = 1_024,
Rate = 2_048,
Shuffle = 4_096,
Metadata = 8_192,
Volume = 16_384,
MinimumRate = 32_768,
MaximumRate = 65_536,
CanGoNext = 131_072,
CanGoPrevious = 262_144,
CanPlay = 524_288,
CanPause = 1_048_576,
CanSeek = 2_097_152,
}Expand description
Used for emitting PropertiesChanged signals on
Server::properties_changed and LocalServer::properties_changed.
Variants§
CanQuit = 1
Fullscreen = 2
CanSetFullscreen = 4
CanRaise = 8
HasTrackList = 16
Identity = 32
DesktopEntry = 64
SupportedUriSchemes = 128
SupportedMimeTypes = 256
PlaybackStatus = 512
LoopStatus = 1_024
Rate = 2_048
Shuffle = 4_096
Metadata = 8_192
Volume = 16_384
MinimumRate = 32_768
MaximumRate = 65_536
CanGoNext = 131_072
CanGoPrevious = 262_144
CanPlay = 524_288
CanPause = 1_048_576
CanSeek = 2_097_152
Trait Implementations§
source§impl PartialEq for Property
impl PartialEq 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 = "BitFlags<Property>"
const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<Property>"
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