Struct alacritty::display::content::RenderableCell [−][src]
pub struct RenderableCell {
pub character: char,
pub zerowidth: Option<Vec<char>>,
pub point: Point<usize>,
pub fg: Rgb,
pub bg: Rgb,
pub bg_alpha: f32,
pub flags: Flags,
}Expand description
Cell ready for rendering.
Fields
character: charzerowidth: Option<Vec<char>>point: Point<usize>fg: Rgbbg: Rgbbg_alpha: f32flags: FlagsImplementations
Apply CellRgb colors to the cell’s colors.
Get the RGB color from a cell’s foreground color.
Get the RGB color from a cell’s background color.
Compute background alpha based on cell’s original color.
Since an RGB color matching the background should not be transparent, this is computed using the named input color, rather than checking the RGB of the background after its color is computed.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RenderableCell
impl Send for RenderableCell
impl Sync for RenderableCell
impl Unpin for RenderableCell
impl UnwindSafe for RenderableCell
Blanket Implementations
Mutably borrows from an owned value. Read more