pub struct ElseBlock<'s>(pub TokenRef<'s>, pub Box<Expression<'s>>);Expand description
else (block_expr | if_expr)
Tuple Fields§
§0: TokenRef<'s>§1: Box<Expression<'s>>Trait Implementations§
impl<'s> StructuralPartialEq for ElseBlock<'s>
Auto Trait Implementations§
impl<'s> Freeze for ElseBlock<'s>
impl<'s> RefUnwindSafe for ElseBlock<'s>
impl<'s> Send for ElseBlock<'s>
impl<'s> Sync for ElseBlock<'s>
impl<'s> Unpin for ElseBlock<'s>
impl<'s> UnsafeUnpin for ElseBlock<'s>
impl<'s> UnwindSafe for ElseBlock<'s>
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