pub enum PlayableItem {
Track(Track),
Episode(Episode),
}Expand description
An item that can be played.
Variants§
Trait Implementations§
Source§impl Clone for PlayableItem
impl Clone for PlayableItem
Source§fn clone(&self) -> PlayableItem
fn clone(&self) -> PlayableItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlayableItem
impl Debug for PlayableItem
Source§impl<'de> Deserialize<'de> for PlayableItem
impl<'de> Deserialize<'de> for PlayableItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PlayableItem
impl PartialEq for PlayableItem
Source§fn eq(&self, other: &PlayableItem) -> bool
fn eq(&self, other: &PlayableItem) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlayableItem
Auto Trait Implementations§
impl Freeze for PlayableItem
impl RefUnwindSafe for PlayableItem
impl Send for PlayableItem
impl Sync for PlayableItem
impl Unpin for PlayableItem
impl UnsafeUnpin for PlayableItem
impl UnwindSafe for PlayableItem
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