pub struct VastTreeWalkProgramPlan {
pub preorder: Program,
pub postorder: Program,
}Expand description
Primitive-owned VAST traversal programs for passes that need both orders.
Fields§
§preorder: ProgramTop-down walk used by declaration discovery and source-order diagnostics.
postorder: ProgramBottom-up walk used by expression typing and lowering passes.
Trait Implementations§
Source§impl Clone for VastTreeWalkProgramPlan
impl Clone for VastTreeWalkProgramPlan
Source§fn clone(&self) -> VastTreeWalkProgramPlan
fn clone(&self) -> VastTreeWalkProgramPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VastTreeWalkProgramPlan
impl !RefUnwindSafe for VastTreeWalkProgramPlan
impl !UnwindSafe for VastTreeWalkProgramPlan
impl Send for VastTreeWalkProgramPlan
impl Sync for VastTreeWalkProgramPlan
impl Unpin for VastTreeWalkProgramPlan
impl UnsafeUnpin for VastTreeWalkProgramPlan
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