pub enum ExprFor {
Bare(ExprForBare),
Range(ExprForRange),
In(ExprForIn),
}Expand description
Enum generated by strutuct! for ExprFor.
Variants§
Bare(ExprForBare)
Variant ExprFor::Bare generated by strutuct!.
Range(ExprForRange)
Variant ExprFor::Range generated by strutuct!.
In(ExprForIn)
Variant ExprFor::In generated by strutuct!.
Trait Implementations§
Source§impl From<ExprFor> for PackedContent
impl From<ExprFor> for PackedContent
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<ExprForRange> for ExprFor
impl From<ExprForRange> for ExprFor
Source§fn from(value: ExprForRange) -> Self
fn from(value: ExprForRange) -> Self
Converts to this type from the input type.
Source§impl Lex for ExprFor
impl Lex for ExprFor
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 ExprForwhere
N: ExternalCstNode,
impl<N> Migrate<N> for ExprForwhere
N: ExternalCstNode,
Source§impl PrettyTree for ExprFor
impl PrettyTree for ExprFor
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 ExprFor
impl RefUnwindSafe for ExprFor
impl Send for ExprFor
impl Sync for ExprFor
impl Unpin for ExprFor
impl UnsafeUnpin for ExprFor
impl UnwindSafe for ExprFor
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