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