[][src]Struct alacritty::renderer::rects::Rects

pub struct Rects<'a> { /* fields omitted */ }

Rects for underline, strikeout and more.

Methods

impl<'a> Rects<'a>[src]

pub fn new(metrics: &'a Metrics, size: &'a SizeInfo) -> Self[src]

pub fn rects(&self) -> &Vec<(Rect<f32>, Rgb)>[src]

Convert the stored rects to rectangles for the renderer.

pub fn update_lines(&mut self, size_info: &SizeInfo, cell: &RenderableCell)[src]

Update the stored lines with the next cell info.

pub fn push(&mut self, rect: Rect<f32>, color: Rgb)[src]

Auto Trait Implementations

impl<'a> Send for Rects<'a>

impl<'a> Sync for Rects<'a>

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> SetParameter for T[src]

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 
[src]

Sets value as a parameter of self.

impl<T> Erased for T[src]