pub enum PrefixOperator {
}Expand description
The typed PrefixOperator syntax category.
Variants§
LstLst(_LstLst)
The LstLst syntax alternative.
PipSub(_PipSub)
The PipSub syntax alternative.
LstEqlEqlEql(_LstEqlEqlEql)
The LstEqlEqlEql syntax alternative.
LstEqlEql(_LstEqlEql)
The LstEqlEql syntax alternative.
QsmQsm(_QsmQsm)
The QsmQsm syntax alternative.
Not(_Not)
The Not syntax alternative.
Lst(_Lst)
The Lst syntax alternative.
LstEql(_LstEql)
The LstEql syntax alternative.
Gst(_Gst)
The Gst syntax alternative.
GstEql(_GstEql)
The GstEql syntax alternative.
Qsm(_Qsm)
The Qsm syntax alternative.
Tld(_Tld)
The Tld syntax alternative.
Add(_Add)
The Add syntax alternative.
Sub(_Sub)
The Sub syntax alternative.
Mul(_Mul)
The Mul syntax alternative.
Hsh(_Hsh)
The Hsh syntax alternative.
Implementations§
Source§impl PrefixOperator
impl PrefixOperator
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 PrefixOperator
impl Debug for PrefixOperator
Source§impl From<_Add> for PrefixOperator
impl From<_Add> for PrefixOperator
Source§impl From<_Gst> for PrefixOperator
impl From<_Gst> for PrefixOperator
Source§impl From<_GstEql> for PrefixOperator
impl From<_GstEql> for PrefixOperator
Source§impl From<_Hsh> for PrefixOperator
impl From<_Hsh> for PrefixOperator
Source§impl From<_Lst> for PrefixOperator
impl From<_Lst> for PrefixOperator
Source§impl From<_LstEql> for PrefixOperator
impl From<_LstEql> for PrefixOperator
Source§impl From<_LstEqlEql> for PrefixOperator
impl From<_LstEqlEql> for PrefixOperator
Source§fn from(value: _LstEqlEql) -> Self
fn from(value: _LstEqlEql) -> Self
Converts to this type from the input type.
Source§impl From<_LstEqlEqlEql> for PrefixOperator
impl From<_LstEqlEqlEql> for PrefixOperator
Source§fn from(value: _LstEqlEqlEql) -> Self
fn from(value: _LstEqlEqlEql) -> Self
Converts to this type from the input type.
Source§impl From<_LstLst> for PrefixOperator
impl From<_LstLst> for PrefixOperator
Source§impl From<_Mul> for PrefixOperator
impl From<_Mul> for PrefixOperator
Source§impl From<_Not> for PrefixOperator
impl From<_Not> for PrefixOperator
Source§impl From<_PipSub> for PrefixOperator
impl From<_PipSub> for PrefixOperator
Source§impl From<_Qsm> for PrefixOperator
impl From<_Qsm> for PrefixOperator
Source§impl From<_QsmQsm> for PrefixOperator
impl From<_QsmQsm> for PrefixOperator
Source§impl From<_Sub> for PrefixOperator
impl From<_Sub> for PrefixOperator
Source§impl From<_Tld> for PrefixOperator
impl From<_Tld> for PrefixOperator
Source§impl Lex for PrefixOperator
impl Lex for PrefixOperator
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 PrefixOperatorwhere
N: ExternalCstNode,
impl<N> Migrate<N> for PrefixOperatorwhere
N: ExternalCstNode,
Source§impl PrettyTree for PrefixOperator
impl PrettyTree for PrefixOperator
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 PrefixOperator
impl RefUnwindSafe for PrefixOperator
impl Send for PrefixOperator
impl Sync for PrefixOperator
impl Unpin for PrefixOperator
impl UnsafeUnpin for PrefixOperator
impl UnwindSafe for PrefixOperator
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