pub struct Program<'ast> {
pub source: &'ast str,
pub body: NodeList<'ast, Statement<'ast>>,
}
Fields§
§source: &'ast str
§body: NodeList<'ast, Statement<'ast>>
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