pub enum LoopStatus {
None,
Track,
Playlist,
}Expand description
A repeat / loop status
Variants§
None
The playback will stop when there are no more tracks to play.
Track
The current track will start again from the begining once it has finished playing.
Playlist
The playback loops through a list of tracks.
Trait Implementations§
Source§impl Clone for LoopStatus
impl Clone for LoopStatus
Source§fn clone(&self) -> LoopStatus
fn clone(&self) -> LoopStatus
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 LoopStatus
impl Debug for LoopStatus
Source§impl<'de> Deserialize<'de> for LoopStatus
impl<'de> Deserialize<'de> for LoopStatus
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 Display for LoopStatus
impl Display for LoopStatus
Source§impl From<LoopStatus> for Value<'_>
impl From<LoopStatus> for Value<'_>
Source§fn from(value: LoopStatus) -> Self
fn from(value: LoopStatus) -> Self
Converts to this type from the input type.
Source§impl FromStr for LoopStatus
impl FromStr for LoopStatus
Source§impl PartialEq for LoopStatus
impl PartialEq for LoopStatus
Source§impl Serialize for LoopStatus
impl Serialize for LoopStatus
Source§impl TryFrom<OwnedValue> for LoopStatus
impl TryFrom<OwnedValue> for LoopStatus
Source§impl TryFrom<Value<'_>> for LoopStatus
impl TryFrom<Value<'_>> for LoopStatus
Source§impl Type for LoopStatus
impl Type for LoopStatus
impl Copy for LoopStatus
impl Eq for LoopStatus
impl StructuralPartialEq for LoopStatus
Auto Trait Implementations§
impl Freeze for LoopStatus
impl RefUnwindSafe for LoopStatus
impl Send for LoopStatus
impl Sync for LoopStatus
impl Unpin for LoopStatus
impl UnsafeUnpin for LoopStatus
impl UnwindSafe for LoopStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.