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
Auto Trait Implementations§
impl RefUnwindSafe for RenderLines
impl Send for RenderLines
impl Sync for RenderLines
impl Unpin for RenderLines
impl UnwindSafe for RenderLines
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