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