pub struct Program {
pub body: Rc<[Statement]>,
pub source_type: SourceType,
}Expand description
A complete program (script or module)
Fields§
§body: Rc<[Statement]>§source_type: SourceTypeTrait Implementations§
Auto Trait Implementations§
impl !Send for Program
impl !Sync for Program
impl Freeze for Program
impl RefUnwindSafe for Program
impl Unpin for Program
impl UnsafeUnpin for Program
impl UnwindSafe for Program
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