pub struct _Profile { /* private fields */ }Expand description
The typed Token![profile] atom.
Trait Implementations§
impl Eq for _Profile
Source§impl From<_Profile> for ProfilingModifier
impl From<_Profile> for ProfilingModifier
Source§impl Lex for _Profile
impl Lex for _Profile
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 _Profile
impl Parse for _Profile
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 PrettyTree for _Profile
impl PrettyTree for _Profile
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 _Profilewhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for _Profilewhere
N: ExternalCstNode,
impl StructuralPartialEq for _Profile
Source§impl Token for _Profile
impl Token for _Profile
Source§const SPELLING: &'static str = "profile"
const SPELLING: &'static str = "profile"
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 _Profile
impl RefUnwindSafe for _Profile
impl Send for _Profile
impl Sync for _Profile
impl Unpin for _Profile
impl UnsafeUnpin for _Profile
impl UnwindSafe for _Profile
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