pub struct WhenCondition {
pub when_token: _When,
pub condition: Box<Expr>,
}Expand description
Struct generated by strutuct! for WhenCondition.
Fields§
§when_token: _WhenField WhenCondition::when_token generated by strutuct!.
condition: Box<Expr>Field WhenCondition::condition generated by strutuct!.
Implementations§
Trait Implementations§
Source§impl Debug for WhenCondition
impl Debug for WhenCondition
Source§impl Lex for WhenCondition
impl Lex for WhenCondition
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 WhenConditionwhere
N: ExternalCstNode,
impl<N> Migrate<N> for WhenConditionwhere
N: ExternalCstNode,
Source§impl PrettyTree for WhenCondition
impl PrettyTree for WhenCondition
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 WhenCondition
impl RefUnwindSafe for WhenCondition
impl Send for WhenCondition
impl Sync for WhenCondition
impl Unpin for WhenCondition
impl UnsafeUnpin for WhenCondition
impl UnwindSafe for WhenCondition
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