pub struct ExprThrow {
pub throw_token: _Throw,
pub value: Box<Expr>,
}Expand description
Struct generated by strutuct! for ExprThrow.
Fields§
§throw_token: _ThrowField ExprThrow::throw_token generated by strutuct!.
value: Box<Expr>Field ExprThrow::value generated by strutuct!.
Implementations§
Trait Implementations§
Source§impl From<ExprThrow> for PackedContent
impl From<ExprThrow> for PackedContent
Source§impl Lex for ExprThrow
impl Lex for ExprThrow
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 ExprThrowwhere
N: ExternalCstNode,
impl<N> Migrate<N> for ExprThrowwhere
N: ExternalCstNode,
Source§impl PrettyTree for ExprThrow
impl PrettyTree for ExprThrow
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 ExprThrow
impl RefUnwindSafe for ExprThrow
impl Send for ExprThrow
impl Sync for ExprThrow
impl Unpin for ExprThrow
impl UnsafeUnpin for ExprThrow
impl UnwindSafe for ExprThrow
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