Trait term_model::grid::GridCell

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

Required Methods§

source

fn is_empty(&self) -> bool

source

fn flags(&self) -> &Flags

source

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

source

fn fast_eq(&self, other: Self) -> bool

Fast equality approximation.

This is a faster alternative to PartialEq, but might report inequal cells as equal.

Object Safety§

This trait is not object safe.

Implementors§