pub struct ParseResult<'src> {
pub comments: CommentMap<'src>,
pub tokens: Vec<Token<'src>>,
pub syntax: Syntax<'src>,
}
Fields§
§comments: CommentMap<'src>
§tokens: Vec<Token<'src>>
§syntax: Syntax<'src>
Trait Implementations§
Source§impl<'src> Clone for ParseResult<'src>
impl<'src> Clone for ParseResult<'src>
Source§fn clone(&self) -> ParseResult<'src>
fn clone(&self) -> ParseResult<'src>
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<'src> Freeze for ParseResult<'src>
impl<'src> RefUnwindSafe for ParseResult<'src>
impl<'src> Send for ParseResult<'src>
impl<'src> Sync for ParseResult<'src>
impl<'src> Unpin for ParseResult<'src>
impl<'src> UnwindSafe for ParseResult<'src>
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