Trait alacritty_terminal::grid::GridCell

source ·
pub trait GridCell: Sized {
    // Required methods
    fn is_empty(&self) -> bool;
    fn reset(&mut self, template: &Self);
    fn flags(&self) -> &Flags;
    fn flags_mut(&mut self) -> &mut Flags;
}

Required Methods§

source

fn is_empty(&self) -> bool

Check if the cell contains any content.

source

fn reset(&mut self, template: &Self)

Perform an opinionated cell reset based on a template cell.

source

fn flags(&self) -> &Flags

source

fn flags_mut(&mut self) -> &mut Flags

Object Safety§

This trait is not object safe.

Implementors§