pub struct _TestKeyword { /* private fields */ }Trait Implementations§
Source§impl Clone for _TestKeyword
impl Clone for _TestKeyword
Source§fn clone(&self) -> _TestKeyword
fn clone(&self) -> _TestKeyword
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for _TestKeyword
impl Debug for _TestKeyword
impl Eq for _TestKeyword
Source§impl From<_TestKeyword> for DebugKeyword
impl From<_TestKeyword> for DebugKeyword
Source§fn from(value: _TestKeyword) -> Self
fn from(value: _TestKeyword) -> Self
Converts to this type from the input type.
Source§impl Parse for _TestKeyword
impl Parse for _TestKeyword
fn parse(input: &mut ParseStream) -> Result<Self, TokenParseError>
Source§impl PartialEq for _TestKeyword
impl PartialEq for _TestKeyword
Source§impl PrettyTree for _TestKeyword
impl PrettyTree for _TestKeyword
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 _TestKeywordwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for _TestKeywordwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
impl StructuralPartialEq for _TestKeyword
Source§impl ToTokens for _TestKeyword
impl ToTokens for _TestKeyword
Source§impl Token for _TestKeyword
impl Token for _TestKeyword
Source§const SPELLING: &'static str = "TEST"
const SPELLING: &'static str = "TEST"
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 _TestKeyword
impl RefUnwindSafe for _TestKeyword
impl Send for _TestKeyword
impl Sync for _TestKeyword
impl Unpin for _TestKeyword
impl UnsafeUnpin for _TestKeyword
impl UnwindSafe for _TestKeyword
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