pub struct FindMatch {
pub path: String,
pub line: u32,
pub text: String,
}Expand description
One text match returned by FsDir::find_grep.
Fields§
§path: StringRelative file path using / separators.
line: u32One-based line number.
text: StringMatching line text without its trailing line break.
Trait Implementations§
impl Eq for FindMatch
impl StructuralPartialEq for FindMatch
Auto Trait Implementations§
impl Freeze for FindMatch
impl RefUnwindSafe for FindMatch
impl Send for FindMatch
impl Sync for FindMatch
impl Unpin for FindMatch
impl UnsafeUnpin for FindMatch
impl UnwindSafe for FindMatch
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