pub struct HitFlash {
pub intensity: f32,
pub decay: f32,
}Expand description
Flashes an entity’s material white on hit.
Fields§
§intensity: f32§decay: f32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HitFlash
impl RefUnwindSafe for HitFlash
impl Send for HitFlash
impl Sync for HitFlash
impl Unpin for HitFlash
impl UnsafeUnpin for HitFlash
impl UnwindSafe for HitFlash
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