pub enum SampleAttributeLoopMode {
Off,
Normal,
PingPong,
}Expand description
Sample attributes Loop mode options. See Octatrack Manaul section 13.2.4 ATTRIBUTES
Variants§
Off
Loop points are ignored and sample will never loop.
Normal
Loop by starting again at the loop start position once playback of the sample reaches loop end.
PingPong
Loop by continuously reversing once playback of the sample reaches loop end/loop start.
Trait Implementations§
Source§impl Clone for SampleAttributeLoopMode
impl Clone for SampleAttributeLoopMode
Source§fn clone(&self) -> SampleAttributeLoopMode
fn clone(&self) -> SampleAttributeLoopMode
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 SampleAttributeLoopMode
impl Debug for SampleAttributeLoopMode
Source§impl Default for SampleAttributeLoopMode
impl Default for SampleAttributeLoopMode
Source§fn default() -> SampleAttributeLoopMode
fn default() -> SampleAttributeLoopMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SampleAttributeLoopMode
impl<'de> Deserialize<'de> for SampleAttributeLoopMode
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 Hash for SampleAttributeLoopMode
impl Hash for SampleAttributeLoopMode
Source§impl PartialEq for SampleAttributeLoopMode
impl PartialEq for SampleAttributeLoopMode
Source§impl Serialize for SampleAttributeLoopMode
impl Serialize for SampleAttributeLoopMode
impl Copy for SampleAttributeLoopMode
impl Eq for SampleAttributeLoopMode
impl StructuralPartialEq for SampleAttributeLoopMode
Auto Trait Implementations§
impl Freeze for SampleAttributeLoopMode
impl RefUnwindSafe for SampleAttributeLoopMode
impl Send for SampleAttributeLoopMode
impl Sync for SampleAttributeLoopMode
impl Unpin for SampleAttributeLoopMode
impl UnwindSafe for SampleAttributeLoopMode
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more