pub enum TopLevel {
Module(Module),
FnDef(FnDef),
Verify(VerifyBlock),
Decision(DecisionBlock),
Stmt(Stmt),
TypeDef(TypeDef),
EffectSet {
name: String,
effects: Vec<String>,
},
}Variants§
Module(Module)
FnDef(FnDef)
Verify(VerifyBlock)
Decision(DecisionBlock)
Stmt(Stmt)
TypeDef(TypeDef)
EffectSet
effects AppIO = [Console, Disk] — named effect set (alias)
Trait Implementations§
impl StructuralPartialEq for TopLevel
Auto Trait Implementations§
impl Freeze for TopLevel
impl RefUnwindSafe for TopLevel
impl !Send for TopLevel
impl !Sync for TopLevel
impl Unpin for TopLevel
impl UnsafeUnpin for TopLevel
impl UnwindSafe for TopLevel
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