pub struct InspectResult {
pub file_path: String,
pub total_lines: usize,
pub shown_lines: usize,
pub lines: Vec<InspectLine>,
}Fields§
§file_path: String§total_lines: usize§shown_lines: usize§lines: Vec<InspectLine>Trait Implementations§
Source§impl Clone for InspectResult
impl Clone for InspectResult
Source§fn clone(&self) -> InspectResult
fn clone(&self) -> InspectResult
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 InspectResult
impl RefUnwindSafe for InspectResult
impl Send for InspectResult
impl Sync for InspectResult
impl Unpin for InspectResult
impl UnwindSafe for InspectResult
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