pub enum MaxPowerAbility {
DoubleJump,
Flying,
DropShield,
MarioBounce,
}Expand description
A ability activated on a double jump.
Variants§
DoubleJump
Basic double jump
Flying
Basic flying ability akin to the normal wings power up
DropShield
Activates a sheild once you hit the ground for a short moment of time
MarioBounce
Allows you to bounce on enemies but not hurt them.
Trait Implementations§
Source§impl Clone for MaxPowerAbility
impl Clone for MaxPowerAbility
Source§fn clone(&self) -> MaxPowerAbility
fn clone(&self) -> MaxPowerAbility
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 MaxPowerAbility
impl Debug for MaxPowerAbility
Source§impl Default for MaxPowerAbility
impl Default for MaxPowerAbility
Source§fn default() -> MaxPowerAbility
fn default() -> MaxPowerAbility
Returns the “default value” for a type. Read more
Source§impl PartialEq for MaxPowerAbility
impl PartialEq for MaxPowerAbility
impl StructuralPartialEq for MaxPowerAbility
Auto Trait Implementations§
impl Freeze for MaxPowerAbility
impl RefUnwindSafe for MaxPowerAbility
impl Send for MaxPowerAbility
impl Sync for MaxPowerAbility
impl Unpin for MaxPowerAbility
impl UnwindSafe for MaxPowerAbility
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