pub struct ParseContext {
pub file_path: String,
pub row: usize,
}Fields§
§file_path: String§row: usizeTrait Implementations§
Source§impl Clone for ParseContext
impl Clone for ParseContext
Source§fn clone(&self) -> ParseContext
fn clone(&self) -> ParseContext
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 ParseContext
impl Debug for ParseContext
Source§impl Display for ParseContext
impl Display for ParseContext
Source§impl From<&ParseContext> for ParseContext
impl From<&ParseContext> for ParseContext
Source§fn from(val: &ParseContext) -> Self
fn from(val: &ParseContext) -> Self
Converts to this type from the input type.
Source§impl From<&mut ParseContext> for ParseContext
impl From<&mut ParseContext> for ParseContext
Source§fn from(val: &mut ParseContext) -> Self
fn from(val: &mut ParseContext) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParseContext
impl RefUnwindSafe for ParseContext
impl Send for ParseContext
impl Sync for ParseContext
impl Unpin for ParseContext
impl UnwindSafe for ParseContext
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