pub struct While<'a> {
pub label: Option<Identifier<'a>>,
pub while_span: Span,
pub condition: Expression<'a>,
pub do_span: Span,
pub body: Vec<Statement<'a>>,
pub end_while_span: Span,
pub end_label: Option<Identifier<'a>>,
}Expand description
MariaDB/MySQL WHILE condition DO body END WHILE construct.
[label:] WHILE condition DO body END WHILE [label]
Fields§
§label: Option<Identifier<'a>>§while_span: Span§condition: Expression<'a>§do_span: Span§body: Vec<Statement<'a>>§end_while_span: Span§end_label: Option<Identifier<'a>>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for While<'a>
impl<'a> RefUnwindSafe for While<'a>
impl<'a> Send for While<'a>
impl<'a> Sync for While<'a>
impl<'a> Unpin for While<'a>
impl<'a> UnsafeUnpin for While<'a>
impl<'a> UnwindSafe for While<'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