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

pub struct RenderLines {
    inner: HashMap<Flags, Vec<RenderLine>>,
}

Lines for underline and strikeout.

Fields

inner: HashMap<Flags, Vec<RenderLine>>

Implementations

impl RenderLines[src]

pub fn new() -> Self[src]

pub fn rects(&self, metrics: &Metrics, size: &SizeInfo) -> Vec<RenderRect>[src]

pub fn update(&mut self, cell: &RenderableCell)[src]

Update the stored lines with the next cell info.

fn update_flag(&mut self, cell: &RenderableCell, flag: Flags)[src]

Update the lines for a specific flag.

Trait Implementations

impl Default for RenderLines[src]

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

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.