pub struct ThenClause {
pub then_token: _Then,
pub expr: Box<Expr>,
}Expand description
Struct generated by strutuct! for ThenClause.
Fields§
§then_token: _ThenField ThenClause::then_token generated by strutuct!.
expr: Box<Expr>Field ThenClause::expr generated by strutuct!.
Implementations§
Trait Implementations§
Source§impl Debug for ThenClause
impl Debug for ThenClause
Source§impl Lex for ThenClause
impl Lex for ThenClause
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 ThenClausewhere
N: ExternalCstNode,
impl<N> Migrate<N> for ThenClausewhere
N: ExternalCstNode,
Source§impl PrettyTree for ThenClause
impl PrettyTree for ThenClause
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 ThenClause
impl RefUnwindSafe for ThenClause
impl Send for ThenClause
impl Sync for ThenClause
impl Unpin for ThenClause
impl UnsafeUnpin for ThenClause
impl UnwindSafe for ThenClause
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