[−][src]Trait cursive::backend::puppet::observed::ObservedPieceInterface
Represents rectangular piece of observed screen (Puppet backend output)
Required methods
fn min(&self) -> Vec2
Minimums of coordinates
fn max(&self) -> Vec2
Maximums of coordinates
fn parent(&self) -> &ObservedScreen
Reference of ObservablePiece this one is a subsection of or Self
Provided methods
fn size(&self) -> Vec2
Size of piece
fn as_strings(&self) -> Vec<String>
Returns a string representation of consecutive lines of this piece.
fn expanded(&self, up_left: Vec2, down_right: Vec2) -> ObservedPiece
Returns expanded sibling of this piece
Asserts if request can be satisfied.