pub struct PaneTextMatch {
pub start_row: u16,
pub start_col: u16,
pub end_row: u16,
pub end_col: u16,
pub text: String,
}Expand description
A literal rendered-text match in a pane snapshot.
Fields§
§start_row: u16Zero-based visible row where the match starts.
start_col: u16Zero-based visible column where the match starts.
end_row: u16Zero-based visible row where the match ends.
end_col: u16Exclusive visible column where the match ends.
text: StringThe rendered text that matched.
Trait Implementations§
Source§impl Clone for PaneTextMatch
impl Clone for PaneTextMatch
Source§fn clone(&self) -> PaneTextMatch
fn clone(&self) -> PaneTextMatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PaneTextMatch
impl Debug for PaneTextMatch
impl Eq for PaneTextMatch
Source§impl Hash for PaneTextMatch
impl Hash for PaneTextMatch
Source§impl PartialEq for PaneTextMatch
impl PartialEq for PaneTextMatch
Source§fn eq(&self, other: &PaneTextMatch) -> bool
fn eq(&self, other: &PaneTextMatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PaneTextMatch
Auto Trait Implementations§
impl Freeze for PaneTextMatch
impl RefUnwindSafe for PaneTextMatch
impl Send for PaneTextMatch
impl Sync for PaneTextMatch
impl Unpin for PaneTextMatch
impl UnsafeUnpin for PaneTextMatch
impl UnwindSafe for PaneTextMatch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more