pub struct StringParser<'a> {
pub text: &'a str,
pub pos: FileLocation,
}
Fields§
§text: &'a str
§pos: FileLocation
Implementations§
Trait Implementations§
Source§impl<'a> Clone for StringParser<'a>
impl<'a> Clone for StringParser<'a>
Source§fn clone(&self) -> StringParser<'a>
fn clone(&self) -> StringParser<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for StringParser<'a>
impl<'a> Debug for StringParser<'a>
impl<'a> Copy for StringParser<'a>
Auto Trait Implementations§
impl<'a> Freeze for StringParser<'a>
impl<'a> RefUnwindSafe for StringParser<'a>
impl<'a> Send for StringParser<'a>
impl<'a> Sync for StringParser<'a>
impl<'a> Unpin for StringParser<'a>
impl<'a> UnwindSafe for StringParser<'a>
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