pub enum CurrentPlayMode {
Normal,
RepeatAll,
RepeatOne,
ShuffleNorepeat,
Shuffle,
ShuffleRepeatOne,
Unspecified(String),
}Variants§
Normal
RepeatAll
RepeatOne
ShuffleNorepeat
Shuffle
ShuffleRepeatOne
Unspecified(String)
Allows passing a value that was not known at the time that this crate was generated from the available device descriptions
Trait Implementations§
Source§impl Clone for CurrentPlayMode
impl Clone for CurrentPlayMode
Source§fn clone(&self) -> CurrentPlayMode
fn clone(&self) -> CurrentPlayMode
Returns a duplicate 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 CurrentPlayMode
impl Debug for CurrentPlayMode
Source§impl Default for CurrentPlayMode
impl Default for CurrentPlayMode
Source§fn default() -> CurrentPlayMode
fn default() -> CurrentPlayMode
Returns the “default value” for a type. Read more
Source§impl FromStr for CurrentPlayMode
impl FromStr for CurrentPlayMode
Source§impl<'xml> FromXml<'xml> for CurrentPlayMode
impl<'xml> FromXml<'xml> for CurrentPlayMode
const KIND: Kind = instant_xml::Kind::Scalar
type Accumulator = Option<CurrentPlayMode>
fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
fn deserialize<'cx>( into: &mut Self::Accumulator, field: &'static str, deserializer: &mut Deserializer<'cx, 'xml>, ) -> Result<(), Error>
Source§impl PartialEq for CurrentPlayMode
impl PartialEq for CurrentPlayMode
Source§impl ToString for CurrentPlayMode
impl ToString for CurrentPlayMode
Source§impl ToXml for CurrentPlayMode
impl ToXml for CurrentPlayMode
impl Eq for CurrentPlayMode
impl StructuralPartialEq for CurrentPlayMode
Auto Trait Implementations§
impl Freeze for CurrentPlayMode
impl RefUnwindSafe for CurrentPlayMode
impl Send for CurrentPlayMode
impl Sync for CurrentPlayMode
impl Unpin for CurrentPlayMode
impl UnwindSafe for CurrentPlayMode
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