pub struct Overlay {
pub rect: PxRect,
pub color: Rgb,
pub layer: Layer,
}Expand description
A solid rectangle drawn on top of the cell grid (game ADR-0018).
Fields§
§rect: PxRectWhere, in console pixels.
color: RgbFill colour.
layer: LayerUnder or over the glyphs.
Implementations§
Trait Implementations§
impl Copy for Overlay
impl Eq for Overlay
impl StructuralPartialEq for Overlay
Auto Trait Implementations§
impl Freeze for Overlay
impl RefUnwindSafe for Overlay
impl Send for Overlay
impl Sync for Overlay
impl Unpin for Overlay
impl UnsafeUnpin for Overlay
impl UnwindSafe for Overlay
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