Struct alacritty::renderer::rects::RenderLines
source · pub struct RenderLines {
inner: HashMap<Flags, Vec<RenderLine>>,
}
Expand description
Lines for underline and strikeout.
Fields§
§inner: HashMap<Flags, Vec<RenderLine>>
Implementations§
source§impl RenderLines
impl RenderLines
pub fn new() -> Self
pub fn rects(&self, metrics: &Metrics, size: &SizeInfo) -> Vec<RenderRect> ⓘ
sourcepub fn update(&mut self, cell: &RenderableCell)
pub fn update(&mut self, cell: &RenderableCell)
Update the stored lines with the next cell info.
sourcefn update_flag(&mut self, cell: &RenderableCell, flag: Flags)
fn update_flag(&mut self, cell: &RenderableCell, flag: Flags)
Update the lines for a specific flag.
Trait Implementations§
source§impl Default for RenderLines
impl Default for RenderLines
source§fn default() -> RenderLines
fn default() -> RenderLines
Returns the “default value” for a type. Read more