pub struct Else<'a> {
pub body: Suite<'a>,
pub leading_lines: Vec<EmptyLine<'a>>,
pub whitespace_before_colon: SimpleWhitespace<'a>,
}
Fields§
§body: Suite<'a>
§leading_lines: Vec<EmptyLine<'a>>
Sequence of empty lines appearing before this compound statement line.
whitespace_before_colon: SimpleWhitespace<'a>
The whitespace appearing after the else
keyword but before the colon.
Trait Implementations§
impl<'a> Eq for Else<'a>
impl<'a> StructuralPartialEq for Else<'a>
Auto Trait Implementations§
impl<'a> Freeze for Else<'a>
impl<'a> RefUnwindSafe for Else<'a>
impl<'a> Send for Else<'a>
impl<'a> Sync for Else<'a>
impl<'a> Unpin for Else<'a>
impl<'a> UnwindSafe for Else<'a>
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