Enum ittech::Tempo[][src]

pub enum Tempo {
    SlideDown(RangedU8<1, 0x0F>),
    SlideUp(RangedU8<1, 0x0F>),
    Set(RangedU8<0x20, 0xFF>),
}

Effect Txx Change tempo

OpenMPT documents only the Set variant. Schism Tracker sets tempo on the first tick of the row if it got the Set variant, or increases/decreases the tempo on every other tick of the row by x and clipping it to 0x20..=0xFF.

Canonicalization

0x00 is used for memory and parses as None, but 0x10 would increase tempo by 0 which is useless so the parser just skips the effect.

Variants

SlideDown(RangedU8<1, 0x0F>)

T0x Tempo slide down by x

SlideUp(RangedU8<1, 0x0F>)

T1x Tempo slide up by x

Set(RangedU8<0x20, 0xFF>)

Txx Set Tempo to xx

Trait Implementations

impl Clone for Tempo[src]

impl Copy for Tempo[src]

impl Debug for Tempo[src]

impl PartialEq<Tempo> for Tempo[src]

impl StructuralPartialEq for Tempo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.