pub enum Tempo {
SlideDown(RangedU8<1, 0x0F>),
SlideUp(RangedU8<1, 0x0F>),
Set(RangedU8<0x20, 0xFF>),
}Expand description
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 Copy for Tempo
impl StructuralPartialEq for Tempo
Auto Trait Implementations§
impl Freeze for Tempo
impl RefUnwindSafe for Tempo
impl Send for Tempo
impl Sync for Tempo
impl Unpin for Tempo
impl UnwindSafe for Tempo
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