Struct calyx_frontend::ast::Guard
source · pub struct Guard {
pub guard: Option<GuardExpr>,
pub expr: Atom,
}
Expand description
Guards expr
using the optional guard condition guard
.
Fields§
§guard: Option<GuardExpr>
§expr: Atom
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Guard
impl Send for Guard
impl Sync for Guard
impl Unpin for Guard
impl UnwindSafe for Guard
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