pub enum FlashLook {
Blend,
Invert,
}Expand description
How a tile whose terrain just changed shows while it flashes.
Variants§
Blend
Its background tinted toward its glyph color by the flash’s strength, each flash in turn, fading out.
Invert
While its strongest flash is at least FLASH_SHOWN, covered by a
rectangle in the invert ink, which a one-bit frame
draws by flipping the pixels under it.
Trait Implementations§
impl Copy for FlashLook
impl Eq for FlashLook
impl StructuralPartialEq for FlashLook
Auto Trait Implementations§
impl Freeze for FlashLook
impl RefUnwindSafe for FlashLook
impl Send for FlashLook
impl Sync for FlashLook
impl Unpin for FlashLook
impl UnsafeUnpin for FlashLook
impl UnwindSafe for FlashLook
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