pub struct ExprWhile {
pub while_token: _While,
pub condition: Box<Expr>,
pub body: LoopBody,
}Expand description
Struct generated by strutuct! for ExprWhile.
Fields§
§while_token: _WhileField ExprWhile::while_token generated by strutuct!.
condition: Box<Expr>Field ExprWhile::condition generated by strutuct!.
body: LoopBodyField ExprWhile::body generated by strutuct!.
Implementations§
Trait Implementations§
Source§impl From<ExprWhile> for PackedContent
impl From<ExprWhile> for PackedContent
Source§impl Lex for ExprWhile
impl Lex for ExprWhile
Source§fn to_tokens(&self, output: &mut TokenStream)
fn to_tokens(&self, output: &mut TokenStream)
Appends this value’s token trees to
output.Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Emits this value into a fresh token stream.
Source§impl<N> Migrate<N> for ExprWhilewhere
N: ExternalCstNode,
impl<N> Migrate<N> for ExprWhilewhere
N: ExternalCstNode,
Source§impl PrettyTree for ExprWhile
impl PrettyTree for ExprWhile
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Auto Trait Implementations§
impl Freeze for ExprWhile
impl RefUnwindSafe for ExprWhile
impl Send for ExprWhile
impl Sync for ExprWhile
impl Unpin for ExprWhile
impl UnsafeUnpin for ExprWhile
impl UnwindSafe for ExprWhile
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