pub struct ResolvedTheme {
pub fg: [f32; 4],
pub bg: [f32; 4],
pub cursor: Option<[f32; 4]>,
pub palette: [[f32; 4]; 256],
/* private fields */
}Expand description
Every color a cell walk can ask for, linearized once per theme
change: resolving at cell time costs a powf per channel per cell
per frame.
Fields§
§fg: [f32; 4]§bg: [f32; 4]§cursor: Option<[f32; 4]>§palette: [[f32; 4]; 256]Implementations§
Trait Implementations§
Source§impl Clone for ResolvedTheme
impl Clone for ResolvedTheme
Auto Trait Implementations§
impl Freeze for ResolvedTheme
impl RefUnwindSafe for ResolvedTheme
impl Send for ResolvedTheme
impl Sync for ResolvedTheme
impl Unpin for ResolvedTheme
impl UnsafeUnpin for ResolvedTheme
impl UnwindSafe for ResolvedTheme
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