pub struct SnippetResult {
pub snippet: String,
pub line: usize,
}Expand description
Snippet extraction result.
Fields§
§snippet: StringExtracted snippet text.
line: usizeLine number where snippet starts.
Trait Implementations§
Source§impl Clone for SnippetResult
impl Clone for SnippetResult
Source§fn clone(&self) -> SnippetResult
fn clone(&self) -> SnippetResult
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 moreAuto Trait Implementations§
impl Freeze for SnippetResult
impl RefUnwindSafe for SnippetResult
impl Send for SnippetResult
impl Sync for SnippetResult
impl Unpin for SnippetResult
impl UnwindSafe for SnippetResult
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