pub enum Preset {
Pickup,
Laser,
Explosion,
PowerUp,
Hit,
Jump,
Blip,
}Expand description
Kinds of effect that Effect::preset draws from a seed.
Variants§
Pickup
A coin or item: a short, bright tone, often with a jump up in pitch.
Laser
A shot: a fast downward slide.
Explosion
Filtered noise that falls and fades.
PowerUp
A rising tone, often repeated or with vibrato.
Hit
A short, falling thud of noise or a harsh tone.
Jump
A quick upward slide.
Blip
A short beep for menus.
Implementations§
Trait Implementations§
impl Copy for Preset
impl Eq for Preset
impl StructuralPartialEq for Preset
Auto Trait Implementations§
impl Freeze for Preset
impl RefUnwindSafe for Preset
impl Send for Preset
impl Sync for Preset
impl Unpin for Preset
impl UnsafeUnpin for Preset
impl UnwindSafe for Preset
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