pub struct ObservedLine<'a> { /* private fields */ }
Expand description
Represents a single line of observed screen.
Implementations
sourceimpl<'a> ObservedLine<'a>
impl<'a> ObservedLine<'a>
sourcepub fn expanded_line(&self, left: usize, right: usize) -> Self
pub fn expanded_line(&self, left: usize, right: usize) -> Self
Returns the same line, but expanded.
Asserts whether request can be satisfied
Trait Implementations
sourceimpl<'a> ObservedPieceInterface for ObservedLine<'a>
impl<'a> ObservedPieceInterface for ObservedLine<'a>
sourcefn parent(&self) -> &ObservedScreen
fn parent(&self) -> &ObservedScreen
Reference of ObservablePiece this one is a subsection of or Self
sourcefn as_strings(&self) -> Vec<String>
fn as_strings(&self) -> Vec<String>
Returns a string representation of consecutive lines of this piece.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ObservedLine<'a>
impl<'a> !Send for ObservedLine<'a>
impl<'a> !Sync for ObservedLine<'a>
impl<'a> Unpin for ObservedLine<'a>
impl<'a> UnwindSafe for ObservedLine<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more