pub struct ScreenFlash {
pub color: Vec4,
pub duration: f32,
pub age: f32,
}Expand description
A full-screen flash overlay effect.
Fields§
§color: Vec4§duration: f32§age: f32Implementations§
Trait Implementations§
Source§impl Clone for ScreenFlash
impl Clone for ScreenFlash
Source§fn clone(&self) -> ScreenFlash
fn clone(&self) -> ScreenFlash
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 moreAuto Trait Implementations§
impl Freeze for ScreenFlash
impl RefUnwindSafe for ScreenFlash
impl Send for ScreenFlash
impl Sync for ScreenFlash
impl Unpin for ScreenFlash
impl UnsafeUnpin for ScreenFlash
impl UnwindSafe for ScreenFlash
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