pub enum RangeLook {
Tint,
Fill {
glyphs: &'static str,
skip: &'static [RangeName],
},
}Expand description
How a range shows on its tiles.
Variants§
Tint
Each range in turn, the first laid on undermost, tints the tile’s
background toward its color (OVERLAY_BLEND).
Fill
The range laid on last fills the tile: its background the range’s
color, its glyphs kept, in the palette’s color named glyphs.
Ranges in skip are never a fill (a game shows them another way,
in its painter’s paint_under).
Trait Implementations§
impl Copy for RangeLook
impl Eq for RangeLook
impl StructuralPartialEq for RangeLook
Auto Trait Implementations§
impl Freeze for RangeLook
impl RefUnwindSafe for RangeLook
impl Send for RangeLook
impl Sync for RangeLook
impl Unpin for RangeLook
impl UnsafeUnpin for RangeLook
impl UnwindSafe for RangeLook
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