pub enum PostfixOperator {
Graded(_Graded),
CrtMul(_CrtMul),
CrtTld(_CrtTld),
UbsMul(_UbsMul),
UbsTld(_UbsTld),
Bng(_Bng),
CrtBng(_CrtBng),
UbsBng(_UbsBng),
}Expand description
The typed PostfixOperator syntax category.
Variants§
Graded(_Graded)
The Graded syntax alternative.
CrtMul(_CrtMul)
The CrtMul syntax alternative.
CrtTld(_CrtTld)
The CrtTld syntax alternative.
UbsMul(_UbsMul)
The UbsMul syntax alternative.
UbsTld(_UbsTld)
The UbsTld syntax alternative.
Bng(_Bng)
The Bng syntax alternative.
CrtBng(_CrtBng)
The CrtBng syntax alternative.
UbsBng(_UbsBng)
The UbsBng syntax alternative.
Implementations§
Source§impl PostfixOperator
impl PostfixOperator
Sourcepub fn from_token_tree(token: TokenTree) -> Option<Self>
pub fn from_token_tree(token: TokenTree) -> Option<Self>
Converts a matching raw operator token into this category.
Sourcepub fn from_token_tree_with_trivia(
token: TokenTree,
trailing_trivia: TrailingTrivia,
) -> Option<Self>
pub fn from_token_tree_with_trivia( token: TokenTree, trailing_trivia: TrailingTrivia, ) -> Option<Self>
Converts a matching raw operator and its following trivia into this category.
Trait Implementations§
Source§impl Debug for PostfixOperator
impl Debug for PostfixOperator
Source§impl From<_Bng> for PostfixOperator
impl From<_Bng> for PostfixOperator
Source§impl From<_CrtBng> for PostfixOperator
impl From<_CrtBng> for PostfixOperator
Source§impl From<_CrtMul> for PostfixOperator
impl From<_CrtMul> for PostfixOperator
Source§impl From<_CrtTld> for PostfixOperator
impl From<_CrtTld> for PostfixOperator
Source§impl From<_Graded> for PostfixOperator
impl From<_Graded> for PostfixOperator
Source§impl From<_UbsBng> for PostfixOperator
impl From<_UbsBng> for PostfixOperator
Source§impl From<_UbsMul> for PostfixOperator
impl From<_UbsMul> for PostfixOperator
Source§impl From<_UbsTld> for PostfixOperator
impl From<_UbsTld> for PostfixOperator
Source§impl Lex for PostfixOperator
impl Lex for PostfixOperator
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 PostfixOperatorwhere
N: ExternalCstNode,
impl<N> Migrate<N> for PostfixOperatorwhere
N: ExternalCstNode,
Source§impl PrettyTree for PostfixOperator
impl PrettyTree for PostfixOperator
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 PostfixOperator
impl RefUnwindSafe for PostfixOperator
impl Send for PostfixOperator
impl Sync for PostfixOperator
impl Unpin for PostfixOperator
impl UnsafeUnpin for PostfixOperator
impl UnwindSafe for PostfixOperator
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