#[repr(u8)]pub enum TrigQuantizationMode {
Show 18 variants
Direct = 255,
PatternLength = 0,
OneStep = 1,
TwoSteps = 2,
ThreeSteps = 3,
FourSteps = 4,
SixSteps = 5,
EightSteps = 6,
TwelveSteps = 7,
SixteenSteps = 8,
TwentyFourSteps = 9,
ThirtyTwoSteps = 10,
FortyEightSteps = 11,
SixtyFourSteps = 12,
NinetySixSteps = 13,
OneTwentyEightSteps = 14,
OneNinetyTwoSteps = 15,
TwoFiveSixSteps = 16,
}Expand description
Sample attributes Trig Quantization options (quantization when manually triggering samples via track buttons). See Octatrack Manual section 13.2.4 ATTRIBUTES
Variants§
Direct = 255
Play back immediately, no quantization.
PatternLength = 0
Play once the pattern ends
OneStep = 1
Play after 1 sequencer step(s).
TwoSteps = 2
Play after 2 sequencer step(s).
ThreeSteps = 3
Play after 3 sequencer step(s).
FourSteps = 4
Play after 4 sequencer step(s).
SixSteps = 5
Play after 6 sequencer step(s).
EightSteps = 6
Play after 8 sequencer step(s).
TwelveSteps = 7
Play after 12 sequencer step(s).
SixteenSteps = 8
Play after 16 sequencer step(s).
TwentyFourSteps = 9
Play after 24 sequencer step(s).
ThirtyTwoSteps = 10
Play after 32 sequencer step(s).
FortyEightSteps = 11
Play after 48 sequencer step(s).
SixtyFourSteps = 12
Play after 64 sequencer step(s).
NinetySixSteps = 13
Play after 96 sequencer step(s).
OneTwentyEightSteps = 14
Play after 128 sequencer step(s).
OneNinetyTwoSteps = 15
Play after 192 sequencer step(s).
TwoFiveSixSteps = 16
Play after 256 sequencer step(s).
Trait Implementations§
Source§impl AsMut<TrigQuantizationMode> for TrigQuantizationMode
impl AsMut<TrigQuantizationMode> for TrigQuantizationMode
Source§fn as_mut(&mut self) -> &mut TrigQuantizationMode
fn as_mut(&mut self) -> &mut TrigQuantizationMode
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<TrigQuantizationMode> for TrigQuantizationMode
impl AsRef<TrigQuantizationMode> for TrigQuantizationMode
Source§fn as_ref(&self) -> &TrigQuantizationMode
fn as_ref(&self) -> &TrigQuantizationMode
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for TrigQuantizationMode
impl Clone for TrigQuantizationMode
Source§fn clone(&self) -> TrigQuantizationMode
fn clone(&self) -> TrigQuantizationMode
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 moreimpl Copy for TrigQuantizationMode
Source§impl Debug for TrigQuantizationMode
impl Debug for TrigQuantizationMode
Source§impl Default for TrigQuantizationMode
impl Default for TrigQuantizationMode
Source§fn default() -> TrigQuantizationMode
fn default() -> TrigQuantizationMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrigQuantizationMode
impl<'de> Deserialize<'de> for TrigQuantizationMode
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
impl Eq for TrigQuantizationMode
Source§impl Hash for TrigQuantizationMode
impl Hash for TrigQuantizationMode
Source§impl Into<u8> for TrigQuantizationMode
impl Into<u8> for TrigQuantizationMode
Source§impl Into<u16> for TrigQuantizationMode
impl Into<u16> for TrigQuantizationMode
Source§impl Into<u32> for TrigQuantizationMode
impl Into<u32> for TrigQuantizationMode
Source§impl Ord for TrigQuantizationMode
impl Ord for TrigQuantizationMode
Source§fn cmp(&self, other: &TrigQuantizationMode) -> Ordering
fn cmp(&self, other: &TrigQuantizationMode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TrigQuantizationMode
impl PartialEq for TrigQuantizationMode
Source§impl PartialOrd for TrigQuantizationMode
impl PartialOrd for TrigQuantizationMode
Source§impl Serialize for TrigQuantizationMode
impl Serialize for TrigQuantizationMode
impl StructuralPartialEq for TrigQuantizationMode
Source§impl TryFrom<&u8> for TrigQuantizationMode
impl TryFrom<&u8> for TrigQuantizationMode
Source§impl TryFrom<&u16> for TrigQuantizationMode
impl TryFrom<&u16> for TrigQuantizationMode
Source§impl TryFrom<&u32> for TrigQuantizationMode
impl TryFrom<&u32> for TrigQuantizationMode
Source§impl TryFrom<u8> for TrigQuantizationMode
impl TryFrom<u8> for TrigQuantizationMode
Source§impl TryFrom<u16> for TrigQuantizationMode
impl TryFrom<u16> for TrigQuantizationMode
Source§impl TryFrom<u32> for TrigQuantizationMode
impl TryFrom<u32> for TrigQuantizationMode
Auto Trait Implementations§
impl Freeze for TrigQuantizationMode
impl RefUnwindSafe for TrigQuantizationMode
impl Send for TrigQuantizationMode
impl Sync for TrigQuantizationMode
impl Unpin for TrigQuantizationMode
impl UnsafeUnpin for TrigQuantizationMode
impl UnwindSafe for TrigQuantizationMode
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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