pub struct LoopBody {
pub list_step: Option<ListStep>,
pub do_step: Option<DoStep>,
}Expand description
Struct generated by strutuct! for LoopBody.
Fields§
§list_step: Option<ListStep>Field LoopBody::list_step generated by strutuct!.
do_step: Option<DoStep>Field LoopBody::do_step generated by strutuct!.
Implementations§
Trait Implementations§
Source§impl Lex for LoopBody
impl Lex for LoopBody
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 LoopBodywhere
N: ExternalCstNode,
impl<N> Migrate<N> for LoopBodywhere
N: ExternalCstNode,
Source§impl PrettyTree for LoopBody
impl PrettyTree for LoopBody
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 LoopBody
impl RefUnwindSafe for LoopBody
impl Send for LoopBody
impl Sync for LoopBody
impl Unpin for LoopBody
impl UnsafeUnpin for LoopBody
impl UnwindSafe for LoopBody
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