pub struct IncrementalParseResult {
pub program: Program,
pub statements: Vec<StatementUnit>,
pub stats: ParseCacheStats,
}Expand description
Result from parsing source through a ParserSession.
Fields§
§program: ProgramParsed program assembled from statement fragments.
statements: Vec<StatementUnit>Statement units discovered in source order.
stats: ParseCacheStatsCache statistics for this parse.
Trait Implementations§
Source§impl Clone for IncrementalParseResult
impl Clone for IncrementalParseResult
Source§fn clone(&self) -> IncrementalParseResult
fn clone(&self) -> IncrementalParseResult
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 IncrementalParseResult
impl RefUnwindSafe for IncrementalParseResult
impl Send for IncrementalParseResult
impl Sync for IncrementalParseResult
impl Unpin for IncrementalParseResult
impl UnsafeUnpin for IncrementalParseResult
impl UnwindSafe for IncrementalParseResult
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