pub struct _Sub { /* private fields */ }Trait Implementations§
impl Eq for _Sub
Source§impl From<_Sub> for BinaryOperator
impl From<_Sub> for BinaryOperator
Source§impl From<_Sub> for PrefixOperator
impl From<_Sub> for PrefixOperator
Source§impl Parse for _Sub
impl Parse for _Sub
fn parse(input: &mut ParseStream) -> Result<Self, TokenParseError>
Source§impl PrettyTree for _Sub
impl PrettyTree for _Sub
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 _Subwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for _Subwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
impl StructuralPartialEq for _Sub
Source§impl Token for _Sub
impl Token for _Sub
Source§const SPELLING: &'static str = "-"
const SPELLING: &'static str = "-"
Canonical spelling used in diagnostics and freshly constructed atoms.
Source§fn matches_token_tree(token: &TokenTree) -> bool
fn matches_token_tree(token: &TokenTree) -> bool
Tests whether a raw atom belongs to this closed token type.
Source§fn from_token_tree(token: TokenTree) -> Option<Self>
fn from_token_tree(token: TokenTree) -> Option<Self>
Validates and retains a raw atom as this typed token.
Auto Trait Implementations§
impl Freeze for _Sub
impl RefUnwindSafe for _Sub
impl Send for _Sub
impl Sync for _Sub
impl Unpin for _Sub
impl UnsafeUnpin for _Sub
impl UnwindSafe for _Sub
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