pub struct CursorInk {
pub color: Rgb,
pub dark: Rgb,
pub foot_px: i32,
}Expand description
How the cursor looks: its color, the color it fades toward as it pulses (the console’s background, which a light theme makes light), and how many pixels at a tile’s foot its lower arms keep clear of (a game’s HP bar).
Fields§
§color: RgbAt full brightness.
dark: RgbWhat it fades toward.
foot_px: i32The pixels left clear at the foot of the tile.
Trait Implementations§
impl Copy for CursorInk
impl Eq for CursorInk
impl StructuralPartialEq for CursorInk
Auto Trait Implementations§
impl Freeze for CursorInk
impl RefUnwindSafe for CursorInk
impl Send for CursorInk
impl Sync for CursorInk
impl Unpin for CursorInk
impl UnsafeUnpin for CursorInk
impl UnwindSafe for CursorInk
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