Struct fuzzy_pickles::ast::While
source · pub struct While {
pub extent: Extent,
pub label: Option<Lifetime>,
pub value: Box<Attributed<Expression>>,
pub body: Box<Block>,
pub whitespace: Vec<Whitespace>,
}
Expand description
The boolean-based loop
Example Source
ⓘ
fn a() { while players_count < 1 {} }
// ^^^^^^^^^^^^^^^^^^^^^^^^^^
Fields§
§extent: Extent
§label: Option<Lifetime>
§value: Box<Attributed<Expression>>
§body: Box<Block>
§whitespace: Vec<Whitespace>