Struct rustc_session::utils::FlattenNonterminals
source · [−]pub struct FlattenNonterminals<'a> {
pub parse_sess: &'a ParseSess,
pub synthesize_tokens: CanSynthesizeMissingTokens,
pub nt_to_tokenstream: NtToTokenstream,
}Fields
parse_sess: &'a ParseSesssynthesize_tokens: CanSynthesizeMissingTokensnt_to_tokenstream: NtToTokenstreamImplementations
sourceimpl<'a> FlattenNonterminals<'a>
impl<'a> FlattenNonterminals<'a>
pub fn process_token_stream(&mut self, tokens: TokenStream) -> TokenStream
pub fn process_token_tree(&mut self, tree: TokenTree) -> TokenStream
pub fn process_token(&mut self, token: Token) -> TokenStream
Auto Trait Implementations
impl<'a> !RefUnwindSafe for FlattenNonterminals<'a>
impl<'a> !Send for FlattenNonterminals<'a>
impl<'a> !Sync for FlattenNonterminals<'a>
impl<'a> Unpin for FlattenNonterminals<'a>
impl<'a> !UnwindSafe for FlattenNonterminals<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes