pub enum AssignmentPackComponent {
AssignmentPack(Box<AssignmentPack>),
Empty(Empty),
Symbol(Symbol),
OperatorExpr(OperatorExpr),
}Expand description
The typed AssignmentPackComponent syntax category.
Variants§
AssignmentPack(Box<AssignmentPack>)
The AssignmentPack syntax alternative.
Empty(Empty)
The Empty syntax alternative.
Symbol(Symbol)
The Symbol syntax alternative.
OperatorExpr(OperatorExpr)
The OperatorExpr syntax alternative.
Trait Implementations§
Source§impl Debug for AssignmentPackComponent
impl Debug for AssignmentPackComponent
Source§impl From<AdjacentExpr> for AssignmentPackComponent
impl From<AdjacentExpr> for AssignmentPackComponent
Source§fn from(value: AdjacentExpr) -> Self
fn from(value: AdjacentExpr) -> Self
Converts to this type from the input type.
Source§impl From<AssignmentPack> for AssignmentPackComponent
impl From<AssignmentPack> for AssignmentPackComponent
Source§fn from(value: AssignmentPack) -> Self
fn from(value: AssignmentPack) -> Self
Converts to this type from the input type.
Source§impl From<BinaryExpr> for AssignmentPackComponent
impl From<BinaryExpr> for AssignmentPackComponent
Source§fn from(value: BinaryExpr) -> Self
fn from(value: BinaryExpr) -> Self
Converts to this type from the input type.
Source§impl From<Empty> for AssignmentPackComponent
impl From<Empty> for AssignmentPackComponent
Source§impl From<OperatorExpr> for AssignmentPackComponent
impl From<OperatorExpr> for AssignmentPackComponent
Source§fn from(value: OperatorExpr) -> Self
fn from(value: OperatorExpr) -> Self
Converts to this type from the input type.
Source§impl From<PostfixExpr> for AssignmentPackComponent
impl From<PostfixExpr> for AssignmentPackComponent
Source§fn from(value: PostfixExpr) -> Self
fn from(value: PostfixExpr) -> Self
Converts to this type from the input type.
Source§impl From<PrefixExpr> for AssignmentPackComponent
impl From<PrefixExpr> for AssignmentPackComponent
Source§fn from(value: PrefixExpr) -> Self
fn from(value: PrefixExpr) -> Self
Converts to this type from the input type.
Source§impl From<Symbol> for AssignmentPackComponent
impl From<Symbol> for AssignmentPackComponent
Source§impl Lex for AssignmentPackComponent
impl Lex for AssignmentPackComponent
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 PrettyTree for AssignmentPackComponent
impl PrettyTree for AssignmentPackComponent
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Source§impl<N> Reconstruct<N> for AssignmentPackComponentwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for AssignmentPackComponentwhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for AssignmentPackComponent
impl RefUnwindSafe for AssignmentPackComponent
impl Send for AssignmentPackComponent
impl Sync for AssignmentPackComponent
impl Unpin for AssignmentPackComponent
impl UnsafeUnpin for AssignmentPackComponent
impl UnwindSafe for AssignmentPackComponent
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