pub struct _ElapsedTime { /* private fields */ }Expand description
The typed Token![elapsedTime] atom.
Trait Implementations§
Source§impl Clone for _ElapsedTime
impl Clone for _ElapsedTime
Source§fn clone(&self) -> _ElapsedTime
fn clone(&self) -> _ElapsedTime
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 _ElapsedTime
impl Debug for _ElapsedTime
impl Eq for _ElapsedTime
Source§impl From<_ElapsedTime> for ProfilingModifier
impl From<_ElapsedTime> for ProfilingModifier
Source§fn from(value: _ElapsedTime) -> Self
fn from(value: _ElapsedTime) -> Self
Converts to this type from the input type.
Source§impl Lex for _ElapsedTime
impl Lex for _ElapsedTime
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 _ElapsedTimewhere
N: ExternalCstNode,
impl<N> Migrate<N> for _ElapsedTimewhere
N: ExternalCstNode,
Source§impl Parse for _ElapsedTime
impl Parse for _ElapsedTime
Source§fn parse(input: &mut ParseStream) -> Result<Self, TokenParseError>
fn parse(input: &mut ParseStream) -> Result<Self, TokenParseError>
Consumes this value from
input. Read moreSource§impl PartialEq for _ElapsedTime
impl PartialEq for _ElapsedTime
Source§impl PrettyTree for _ElapsedTime
impl PrettyTree for _ElapsedTime
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Source§impl Spanned for _ElapsedTime
impl Spanned for _ElapsedTime
impl StructuralPartialEq for _ElapsedTime
Source§impl Terminal for _ElapsedTime
impl Terminal for _ElapsedTime
Source§fn leading_trivia(&self) -> &LeadingTrivia
fn leading_trivia(&self) -> &LeadingTrivia
Borrows the comments preceding this terminal.
Source§fn leading_trivia_mut(&mut self) -> &mut LeadingTrivia
fn leading_trivia_mut(&mut self) -> &mut LeadingTrivia
Mutably borrows the comments preceding this terminal.
Source§fn trailing_trivia(&self) -> &TrailingTrivia
fn trailing_trivia(&self) -> &TrailingTrivia
Borrows the comments following this terminal.
Source§fn trailing_trivia_mut(&mut self) -> &mut TrailingTrivia
fn trailing_trivia_mut(&mut self) -> &mut TrailingTrivia
Mutably borrows the comments following this terminal.
Source§fn set_leading_trivia(&mut self, trivia: impl IntoIterator<Item = Trivia>)where
Self: Sized,
fn set_leading_trivia(&mut self, trivia: impl IntoIterator<Item = Trivia>)where
Self: Sized,
Replaces the comments preceding this terminal.
Source§fn set_trailing_trivia(&mut self, trivia: impl IntoIterator<Item = Trivia>)where
Self: Sized,
fn set_trailing_trivia(&mut self, trivia: impl IntoIterator<Item = Trivia>)where
Self: Sized,
Replaces the comments and layout characters following this terminal.
Source§impl Token for _ElapsedTime
impl Token for _ElapsedTime
Source§const SPELLING: &'static str = "elapsedTime"
const SPELLING: &'static str = "elapsedTime"
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.
Source§fn from_token_tree_with_trivia(
token: TokenTree,
trailing_trivia: TrailingTrivia,
) -> Option<Self>
fn from_token_tree_with_trivia( token: TokenTree, trailing_trivia: TrailingTrivia, ) -> Option<Self>
Validates a raw atom and attaches the non-space trivia following it.
Auto Trait Implementations§
impl Freeze for _ElapsedTime
impl RefUnwindSafe for _ElapsedTime
impl Send for _ElapsedTime
impl Sync for _ElapsedTime
impl Unpin for _ElapsedTime
impl UnsafeUnpin for _ElapsedTime
impl UnwindSafe for _ElapsedTime
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