pub enum KeyOnMode {
Reload,
ResumeStep,
}Expand description
C22: what key-on (ON 0 -> 1) does to a waveform channel.
Variants§
Reload
the counter restarts from F, the address stays (MAME)
ResumeStep
the counter resumes where it stopped and the address steps once (Mednafen)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyOnMode
impl<'de> Deserialize<'de> for KeyOnMode
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 Copy for KeyOnMode
impl Eq for KeyOnMode
impl StructuralPartialEq for KeyOnMode
Auto Trait Implementations§
impl Freeze for KeyOnMode
impl RefUnwindSafe for KeyOnMode
impl Send for KeyOnMode
impl Sync for KeyOnMode
impl Unpin for KeyOnMode
impl UnwindSafe for KeyOnMode
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