Enum mpris_server::TrackListProperty
source · #[repr(u32)]pub enum TrackListProperty {
Tracks,
CanEditTracks,
}Expand description
Used for emitting PropertiesChanged signals on
Server::track_list_properties_changed and
LocalServer::track_list_properties_changed, if T implements
TrackListInterface or LocalTrackListInterface.
Variants§
Trait Implementations§
source§impl BitAnd<TrackListProperty> for TrackListProperty
impl BitAnd<TrackListProperty> for TrackListProperty
§type Output = BitFlags<TrackListProperty, <TrackListProperty as RawBitFlags>::Numeric>
type Output = BitFlags<TrackListProperty, <TrackListProperty as RawBitFlags>::Numeric>
The resulting type after applying the
& operator.source§impl BitFlag for TrackListProperty
impl BitFlag for TrackListProperty
source§impl BitOr<TrackListProperty> for TrackListProperty
impl BitOr<TrackListProperty> for TrackListProperty
§type Output = BitFlags<TrackListProperty, <TrackListProperty as RawBitFlags>::Numeric>
type Output = BitFlags<TrackListProperty, <TrackListProperty as RawBitFlags>::Numeric>
The resulting type after applying the
| operator.source§impl BitXor<TrackListProperty> for TrackListProperty
impl BitXor<TrackListProperty> for TrackListProperty
§type Output = BitFlags<TrackListProperty, <TrackListProperty as RawBitFlags>::Numeric>
type Output = BitFlags<TrackListProperty, <TrackListProperty as RawBitFlags>::Numeric>
The resulting type after applying the
^ operator.source§impl Clone for TrackListProperty
impl Clone for TrackListProperty
source§fn clone(&self) -> TrackListProperty
fn clone(&self) -> TrackListProperty
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TrackListProperty
impl Debug for TrackListProperty
source§impl Not for TrackListProperty
impl Not for TrackListProperty
§type Output = BitFlags<TrackListProperty, <TrackListProperty as RawBitFlags>::Numeric>
type Output = BitFlags<TrackListProperty, <TrackListProperty as RawBitFlags>::Numeric>
The resulting type after applying the
! operator.source§impl PartialEq<TrackListProperty> for TrackListProperty
impl PartialEq<TrackListProperty> for TrackListProperty
source§fn eq(&self, other: &TrackListProperty) -> bool
fn eq(&self, other: &TrackListProperty) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RawBitFlags for TrackListProperty
impl RawBitFlags for TrackListProperty
source§const EMPTY: Self::Numeric = {transmute(0x00000000): <property::TrackListProperty as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: Self::Numeric = {transmute(0x00000000): <property::TrackListProperty as enumflags2::_internal::RawBitFlags>::Numeric}
A value with no bits set.
source§const DEFAULT: Self::Numeric = {transmute(0x00000000): <property::TrackListProperty as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: Self::Numeric = {transmute(0x00000000): <property::TrackListProperty as enumflags2::_internal::RawBitFlags>::Numeric}
The value used by the Default implementation. Equivalent to EMPTY, unless
customized.
source§const ALL_BITS: Self::Numeric = {transmute(0x00000003): <property::TrackListProperty as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: Self::Numeric = {transmute(0x00000003): <property::TrackListProperty 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 TrackListProperty
impl Eq for TrackListProperty
impl StructuralEq for TrackListProperty
impl StructuralPartialEq for TrackListProperty
Auto Trait Implementations§
impl RefUnwindSafe for TrackListProperty
impl Send for TrackListProperty
impl Sync for TrackListProperty
impl Unpin for TrackListProperty
impl UnwindSafe for TrackListProperty
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