Struct cursive::backends::puppet::observed::ObservedCell [−][src]
pub struct ObservedCell {
pub pos: Vec2,
pub style: Rc<ObservedStyle>,
pub letter: GraphemePart,
}
Expand description
Represents a single cell of terminal.
Fields
pos: Vec2
Absolute position
style: Rc<ObservedStyle>
Style
letter: GraphemePart
Part of grapheme - either it’s beginning or continuation when character is multi-cell long.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ObservedCell
impl !Send for ObservedCell
impl !Sync for ObservedCell
impl Unpin for ObservedCell
impl UnwindSafe for ObservedCell
Blanket Implementations
Mutably borrows from an owned value. Read more
Calls the given closure and return the result. Read more
Calls the given closure on self
.