pub struct IfClause {
pub span: Span,
pub begin: IfClauseBegin,
pub condition: IfCondition,
pub contents: Vec<PASTNode>,
}Fields§
§span: Span§begin: IfClauseBegin§condition: IfCondition§contents: Vec<PASTNode>Implementations§
Source§impl IfClause
impl IfClause
pub fn new( span: Span, begin: IfClauseBegin, condition: IfCondition, contents: Vec<PASTNode>, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IfClause
impl RefUnwindSafe for IfClause
impl Send for IfClause
impl Sync for IfClause
impl Unpin for IfClause
impl UnwindSafe for IfClause
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