pub enum ExplosionDrop {
Metroid,
Minikraid,
}Variants§
Implementations§
Source§impl ExplosionDrop
impl ExplosionDrop
Sourcepub fn explosion_interval(&self) -> u32
pub fn explosion_interval(&self) -> u32
The number of frames between explosions.
Sourcepub fn num_explosions(&self) -> u32
pub fn num_explosions(&self) -> u32
The number of explosions before generating the final drop.
Sourcepub fn rng_per_explosion(&self) -> u32
pub fn rng_per_explosion(&self) -> u32
The number of RNG calls per explosion.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExplosionDrop
impl<'de> Deserialize<'de> for ExplosionDrop
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
Auto Trait Implementations§
impl Freeze for ExplosionDrop
impl RefUnwindSafe for ExplosionDrop
impl Send for ExplosionDrop
impl Sync for ExplosionDrop
impl Unpin for ExplosionDrop
impl UnwindSafe for ExplosionDrop
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