pub struct If<'tree> {
pub span: Span,
pub alternative: Option<IfAlternative<'tree>>,
pub condition: Statement<'tree>,
pub consequence: Option<Then<'tree>>,
}Fields§
§span: Span§alternative: Option<IfAlternative<'tree>>§condition: Statement<'tree>§consequence: Option<Then<'tree>>Trait Implementations§
impl<'tree> Eq for If<'tree>
impl<'tree> StructuralPartialEq for If<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for If<'tree>
impl<'tree> RefUnwindSafe for If<'tree>
impl<'tree> Send for If<'tree>
impl<'tree> Sync for If<'tree>
impl<'tree> Unpin for If<'tree>
impl<'tree> UnsafeUnpin for If<'tree>
impl<'tree> UnwindSafe for If<'tree>
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