pub enum ExprControl {
Break(ExprControlBreak),
Continue(ExprControlContinue),
Return(ExprControlReturn),
}Expand description
Enum generated by strutuct! for ExprControl.
Variants§
Break(ExprControlBreak)
Variant ExprControl::Break generated by strutuct!.
Continue(ExprControlContinue)
Variant ExprControl::Continue generated by strutuct!.
Return(ExprControlReturn)
Variant ExprControl::Return generated by strutuct!.
Trait Implementations§
Source§impl Debug for ExprControl
impl Debug for ExprControl
Source§impl From<ExprControl> for Component
impl From<ExprControl> for Component
Source§fn from(value: ExprControl) -> Self
fn from(value: ExprControl) -> Self
Converts to this type from the input type.
Source§impl From<ExprControl> for Expr
impl From<ExprControl> for Expr
Source§fn from(value: ExprControl) -> Self
fn from(value: ExprControl) -> Self
Converts to this type from the input type.
Source§impl From<ExprControl> for PackedContent
impl From<ExprControl> for PackedContent
Source§fn from(value: ExprControl) -> Self
fn from(value: ExprControl) -> Self
Converts to this type from the input type.
Source§impl From<ExprControlBreak> for ExprControl
impl From<ExprControlBreak> for ExprControl
Source§fn from(value: ExprControlBreak) -> Self
fn from(value: ExprControlBreak) -> Self
Converts to this type from the input type.
Source§impl From<ExprControlContinue> for ExprControl
impl From<ExprControlContinue> for ExprControl
Source§fn from(value: ExprControlContinue) -> Self
fn from(value: ExprControlContinue) -> Self
Converts to this type from the input type.
Source§impl From<ExprControlReturn> for ExprControl
impl From<ExprControlReturn> for ExprControl
Source§fn from(value: ExprControlReturn) -> Self
fn from(value: ExprControlReturn) -> Self
Converts to this type from the input type.
Source§impl Lex for ExprControl
impl Lex for ExprControl
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 ExprControlwhere
N: ExternalCstNode,
impl<N> Migrate<N> for ExprControlwhere
N: ExternalCstNode,
Source§impl PrettyTree for ExprControl
impl PrettyTree for ExprControl
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 ExprControl
impl RefUnwindSafe for ExprControl
impl Send for ExprControl
impl Sync for ExprControl
impl Unpin for ExprControl
impl UnsafeUnpin for ExprControl
impl UnwindSafe for ExprControl
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