pub struct Program<'ast> {
pub statements: &'ast [StmtId<'ast>],
pub errors: &'ast [ParseError],
pub span: Span,
}Fields§
§statements: &'ast [StmtId<'ast>]§errors: &'ast [ParseError]§span: SpanTrait Implementations§
Auto Trait Implementations§
impl<'ast> Freeze for Program<'ast>
impl<'ast> RefUnwindSafe for Program<'ast>
impl<'ast> Send for Program<'ast>
impl<'ast> Sync for Program<'ast>
impl<'ast> Unpin for Program<'ast>
impl<'ast> UnwindSafe for Program<'ast>
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