pub struct SearchMatch { /* private fields */ }Available on crate features
Debugger and Runtime only.Expand description
Search match for resource.
Implementations§
Source§impl SearchMatch
impl SearchMatch
pub fn new(line_number: f64, line_content: String) -> Self
Sourcepub fn line_number(&self) -> f64
pub fn line_number(&self) -> f64
Line number in resource content.
Sourcepub fn line_content(&self) -> &str
pub fn line_content(&self) -> &str
Line with match content.
Trait Implementations§
Source§impl Clone for SearchMatch
impl Clone for SearchMatch
Source§fn clone(&self) -> SearchMatch
fn clone(&self) -> SearchMatch
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 SearchMatch
impl Debug for SearchMatch
Source§impl<'de> Deserialize<'de> for SearchMatch
impl<'de> Deserialize<'de> for SearchMatch
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 SearchMatch
impl RefUnwindSafe for SearchMatch
impl Send for SearchMatch
impl Sync for SearchMatch
impl Unpin for SearchMatch
impl UnwindSafe for SearchMatch
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