pub struct _WhileKeyword { /* private fields */ }Trait Implementations§
Source§impl Clone for _WhileKeyword
impl Clone for _WhileKeyword
Source§fn clone(&self) -> _WhileKeyword
fn clone(&self) -> _WhileKeyword
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 _WhileKeyword
impl Debug for _WhileKeyword
impl Eq for _WhileKeyword
Source§impl Parse for _WhileKeyword
impl Parse for _WhileKeyword
fn parse(input: &mut ParseStream) -> Result<Self, TokenParseError>
Source§impl PartialEq for _WhileKeyword
impl PartialEq for _WhileKeyword
Source§impl PrettyTree for _WhileKeyword
impl PrettyTree for _WhileKeyword
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 _WhileKeywordwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for _WhileKeywordwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
impl StructuralPartialEq for _WhileKeyword
Source§impl ToTokens for _WhileKeyword
impl ToTokens for _WhileKeyword
Source§impl Token for _WhileKeyword
impl Token for _WhileKeyword
Source§const SPELLING: &'static str = "while"
const SPELLING: &'static str = "while"
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 _WhileKeyword
impl RefUnwindSafe for _WhileKeyword
impl Send for _WhileKeyword
impl Sync for _WhileKeyword
impl Unpin for _WhileKeyword
impl UnsafeUnpin for _WhileKeyword
impl UnwindSafe for _WhileKeyword
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