pub struct GrepFileMatches {
pub path: String,
pub matches: Vec<GrepLineMatch>,
/* private fields */
}Expand description
All matches within a single file.
Fields§
§path: StringFile path.
matches: Vec<GrepLineMatch>Matches in this file, in line order.
Trait Implementations§
Source§impl Clone for GrepFileMatches
impl Clone for GrepFileMatches
Source§fn clone(&self) -> GrepFileMatches
fn clone(&self) -> GrepFileMatches
Returns a duplicate of the value. Read more
1.0.0 · 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 GrepFileMatches
impl Debug for GrepFileMatches
Source§impl Serialize for GrepFileMatches
impl Serialize for GrepFileMatches
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for GrepFileMatches
impl RefUnwindSafe for GrepFileMatches
impl Send for GrepFileMatches
impl Sync for GrepFileMatches
impl Unpin for GrepFileMatches
impl UnwindSafe for GrepFileMatches
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