pub struct ExprForBare {
pub for_token: _For,
pub variable: Symbol,
pub condition: Option<WhenCondition>,
pub body: LoopBody,
}Expand description
Struct generated by strutuct! for ExprForBare.
Fields§
§for_token: _ForField ExprForBare::for_token generated by strutuct!.
variable: SymbolField ExprForBare::variable generated by strutuct!.
condition: Option<WhenCondition>Field ExprForBare::condition generated by strutuct!.
body: LoopBodyField ExprForBare::body generated by strutuct!.
Implementations§
Source§impl ExprForBare
impl ExprForBare
Trait Implementations§
Source§impl Debug for ExprForBare
impl Debug for ExprForBare
Source§impl From<ExprForBare> for Component
impl From<ExprForBare> for Component
Source§fn from(value: ExprForBare) -> Self
fn from(value: ExprForBare) -> Self
Converts to this type from the input type.
Source§impl From<ExprForBare> for Expr
impl From<ExprForBare> for Expr
Source§fn from(value: ExprForBare) -> Self
fn from(value: ExprForBare) -> Self
Converts to this type from the input type.
Source§impl From<ExprForBare> for ExprFor
impl From<ExprForBare> for ExprFor
Source§fn from(value: ExprForBare) -> Self
fn from(value: ExprForBare) -> Self
Converts to this type from the input type.
Source§impl From<ExprForBare> for PackedContent
impl From<ExprForBare> for PackedContent
Source§fn from(value: ExprForBare) -> Self
fn from(value: ExprForBare) -> Self
Converts to this type from the input type.
Source§impl Lex for ExprForBare
impl Lex for ExprForBare
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 ExprForBarewhere
N: ExternalCstNode,
impl<N> Migrate<N> for ExprForBarewhere
N: ExternalCstNode,
Source§impl PrettyTree for ExprForBare
impl PrettyTree for ExprForBare
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 ExprForBare
impl RefUnwindSafe for ExprForBare
impl Send for ExprForBare
impl Sync for ExprForBare
impl Unpin for ExprForBare
impl UnsafeUnpin for ExprForBare
impl UnwindSafe for ExprForBare
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