pub enum Statement<'a> {
Simple(SimpleStatementLine<'a>),
Compound(CompoundStatement<'a>),
}
Variants§
Simple(SimpleStatementLine<'a>)
Compound(CompoundStatement<'a>)
Trait Implementations§
Source§impl<'a> WithLeadingLines<'a> for Statement<'a>
impl<'a> WithLeadingLines<'a> for Statement<'a>
fn leading_lines(&mut self) -> &mut Vec<EmptyLine<'a>>
impl<'a> Eq for Statement<'a>
impl<'a> StructuralPartialEq for Statement<'a>
Auto Trait Implementations§
impl<'a> Freeze for Statement<'a>
impl<'a> RefUnwindSafe for Statement<'a>
impl<'a> Send for Statement<'a>
impl<'a> Sync for Statement<'a>
impl<'a> Unpin for Statement<'a>
impl<'a> UnwindSafe for Statement<'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