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 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<N> Reconstruct<N> for _ElapsedTimewhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for _ElapsedTimewhere
N: ExternalCstNode,
Source§impl Spanned for _ElapsedTime
impl Spanned for _ElapsedTime
impl StructuralPartialEq for _ElapsedTime
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.
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