pub enum ExprOp {
Bin(ExprOpBin),
Prefix(ExprOpPrefix),
Postfix(ExprOpPostfix),
}Expand description
Enum generated by strutuct! for ExprOp.
Variants§
Bin(ExprOpBin)
Variant ExprOp::Bin generated by strutuct!.
Prefix(ExprOpPrefix)
Variant ExprOp::Prefix generated by strutuct!.
Postfix(ExprOpPostfix)
Variant ExprOp::Postfix generated by strutuct!.
Trait Implementations§
Source§impl From<ExprOp> for AssignmentArgument
impl From<ExprOp> for AssignmentArgument
Source§impl From<ExprOp> for AssignmentListContent
impl From<ExprOp> for AssignmentListContent
Source§impl From<ExprOp> for PackedContent
impl From<ExprOp> for PackedContent
Source§impl From<ExprOpBinAdj> for ExprOp
impl From<ExprOpBinAdj> for ExprOp
Source§fn from(value: ExprOpBinAdj) -> Self
fn from(value: ExprOpBinAdj) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpBinIndex> for ExprOp
impl From<ExprOpBinIndex> for ExprOp
Source§fn from(value: ExprOpBinIndex) -> Self
fn from(value: ExprOpBinIndex) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpBinMember> for ExprOp
impl From<ExprOpBinMember> for ExprOp
Source§fn from(value: ExprOpBinMember) -> Self
fn from(value: ExprOpBinMember) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpBinMemberDot> for ExprOp
impl From<ExprOpBinMemberDot> for ExprOp
Source§fn from(value: ExprOpBinMemberDot) -> Self
fn from(value: ExprOpBinMemberDot) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpBinMemberOptional> for ExprOp
impl From<ExprOpBinMemberOptional> for ExprOp
Source§fn from(value: ExprOpBinMemberOptional) -> Self
fn from(value: ExprOpBinMemberOptional) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpBinRegular> for ExprOp
impl From<ExprOpBinRegular> for ExprOp
Source§fn from(value: ExprOpBinRegular) -> Self
fn from(value: ExprOpBinRegular) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpPostfix> for ExprOp
impl From<ExprOpPostfix> for ExprOp
Source§fn from(value: ExprOpPostfix) -> Self
fn from(value: ExprOpPostfix) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpPrefix> for ExprOp
impl From<ExprOpPrefix> for ExprOp
Source§fn from(value: ExprOpPrefix) -> Self
fn from(value: ExprOpPrefix) -> Self
Converts to this type from the input type.
Source§impl Lex for ExprOp
impl Lex for ExprOp
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 ExprOpwhere
N: ExternalCstNode,
impl<N> Migrate<N> for ExprOpwhere
N: ExternalCstNode,
Source§impl PrettyTree for ExprOp
impl PrettyTree for ExprOp
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 ExprOp
impl RefUnwindSafe for ExprOp
impl Send for ExprOp
impl Sync for ExprOp
impl Unpin for ExprOp
impl UnsafeUnpin for ExprOp
impl UnwindSafe for ExprOp
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