pub enum PlaybackStyle {
Normal,
PingPong,
}Expand description
What happens when the playhead reaches the far end of the range.
Variants§
Normal
Jump back to the start, or stop, according to the loop count.
PingPong
Turn around and walk back, so one loop is a full round trip.
Implementations§
Trait Implementations§
Source§impl Clone for PlaybackStyle
impl Clone for PlaybackStyle
impl Copy for PlaybackStyle
Source§impl Debug for PlaybackStyle
impl Debug for PlaybackStyle
impl Eq for PlaybackStyle
Source§impl From<PlaybackStyle> for PlaybackStyle
impl From<PlaybackStyle> for PlaybackStyle
Source§fn from(value: PlaybackStyle) -> Self
fn from(value: PlaybackStyle) -> Self
Converts to this type from the input type.
Source§impl From<PlaybackStyle> for PlaybackStyle
impl From<PlaybackStyle> for PlaybackStyle
Source§impl PartialEq for PlaybackStyle
impl PartialEq for PlaybackStyle
impl StructuralPartialEq for PlaybackStyle
Auto Trait Implementations§
impl Freeze for PlaybackStyle
impl RefUnwindSafe for PlaybackStyle
impl Send for PlaybackStyle
impl Sync for PlaybackStyle
impl Unpin for PlaybackStyle
impl UnsafeUnpin for PlaybackStyle
impl UnwindSafe for PlaybackStyle
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.