pub struct ExprControlBreak {
pub break_token: _Break,
pub value: Option<Box<Expr>>,
}Expand description
Struct generated by strutuct! for ExprControlBreak.
Fields§
§break_token: _BreakField ExprControlBreak::break_token generated by strutuct!.
value: Option<Box<Expr>>Field ExprControlBreak::value generated by strutuct!.
Implementations§
Trait Implementations§
Source§impl Debug for ExprControlBreak
impl Debug for ExprControlBreak
Source§impl From<ExprControlBreak> for Component
impl From<ExprControlBreak> for Component
Source§fn from(value: ExprControlBreak) -> Self
fn from(value: ExprControlBreak) -> Self
Converts to this type from the input type.
Source§impl From<ExprControlBreak> for Expr
impl From<ExprControlBreak> for Expr
Source§fn from(value: ExprControlBreak) -> Self
fn from(value: ExprControlBreak) -> 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<ExprControlBreak> for PackedContent
impl From<ExprControlBreak> for PackedContent
Source§fn from(value: ExprControlBreak) -> Self
fn from(value: ExprControlBreak) -> Self
Converts to this type from the input type.
Source§impl Lex for ExprControlBreak
impl Lex for ExprControlBreak
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 ExprControlBreakwhere
N: ExternalCstNode,
impl<N> Migrate<N> for ExprControlBreakwhere
N: ExternalCstNode,
Source§impl PrettyTree for ExprControlBreak
impl PrettyTree for ExprControlBreak
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 ExprControlBreak
impl RefUnwindSafe for ExprControlBreak
impl Send for ExprControlBreak
impl Sync for ExprControlBreak
impl Unpin for ExprControlBreak
impl UnsafeUnpin for ExprControlBreak
impl UnwindSafe for ExprControlBreak
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