pub struct IfNode {
pub branches: Vec<(Expr, Vec<Node>)>,
pub otherwise: Option<Vec<Node>>,
pub span: Span,
}Fields§
§branches: Vec<(Expr, Vec<Node>)>§otherwise: Option<Vec<Node>>§span: SpanTrait Implementations§
Auto Trait Implementations§
impl !Send for IfNode
impl !Sync for IfNode
impl Freeze for IfNode
impl RefUnwindSafe for IfNode
impl Unpin for IfNode
impl UnsafeUnpin for IfNode
impl UnwindSafe for IfNode
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