pub struct ContextLine {
pub path: PathBuf,
pub kind: ContextKind,
pub line: Option<u64>,
pub bytes: Vec<u8>,
pub line_text: String,
}Fields§
§path: PathBuf§kind: ContextKind§line: Option<u64>§bytes: Vec<u8>§line_text: StringTrait Implementations§
Source§impl Clone for ContextLine
impl Clone for ContextLine
Source§fn clone(&self) -> ContextLine
fn clone(&self) -> ContextLine
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 ContextLine
impl RefUnwindSafe for ContextLine
impl Send for ContextLine
impl Sync for ContextLine
impl Unpin for ContextLine
impl UnsafeUnpin for ContextLine
impl UnwindSafe for ContextLine
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