#[repr(u32)]pub enum WaveformMode {
Circle = 0,
XyOscopeOctagonal = 1,
XyOscopeQuadrilateral = 2,
Blob = 3,
DerivativeLine = 4,
ExplosiveHash = 5,
DoubleLine = 6,
DoubleHorizontal = 7,
}Expand description
MilkDrop 2 waveform mode (nWaveMode, 0..7).
Numbering matches the MD2 preset format: presets read
nWaveMode = 4 as DerivativeLine, etc.
Variants§
Circle = 0
XyOscopeOctagonal = 1
XyOscopeQuadrilateral = 2
Blob = 3
DerivativeLine = 4
ExplosiveHash = 5
DoubleLine = 6
DoubleHorizontal = 7
Implementations§
Source§impl WaveformMode
impl WaveformMode
Trait Implementations§
Source§impl Clone for WaveformMode
impl Clone for WaveformMode
Source§fn clone(&self) -> WaveformMode
fn clone(&self) -> WaveformMode
Returns a duplicate 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 WaveformMode
impl Debug for WaveformMode
Source§impl PartialEq for WaveformMode
impl PartialEq for WaveformMode
impl Copy for WaveformMode
impl Eq for WaveformMode
impl StructuralPartialEq for WaveformMode
Auto Trait Implementations§
impl Freeze for WaveformMode
impl RefUnwindSafe for WaveformMode
impl Send for WaveformMode
impl Sync for WaveformMode
impl Unpin for WaveformMode
impl UnwindSafe for WaveformMode
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
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