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