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