pub struct MatchLocation {
pub line: usize,
pub preview: String,
pub context_before: Vec<String>,
pub context_after: Vec<String>,
}Fields§
§line: usize§preview: String§context_before: Vec<String>§context_after: Vec<String>Trait Implementations§
Source§impl Clone for MatchLocation
impl Clone for MatchLocation
Source§fn clone(&self) -> MatchLocation
fn clone(&self) -> MatchLocation
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 MatchLocation
impl Debug for MatchLocation
Source§impl<'de> Deserialize<'de> for MatchLocation
impl<'de> Deserialize<'de> for MatchLocation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MatchLocation
impl RefUnwindSafe for MatchLocation
impl Send for MatchLocation
impl Sync for MatchLocation
impl Unpin for MatchLocation
impl UnsafeUnpin for MatchLocation
impl UnwindSafe for MatchLocation
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