[−][src]Struct syntax::ext::tt::macro_rules::ParserAnyMacro
Methods
impl<'a> ParserAnyMacro<'a>
[src]
pub fn make(self: Box<ParserAnyMacro<'a>>, kind: AstFragmentKind) -> AstFragment
[src]
Trait Implementations
impl<'a> MacResult for ParserAnyMacro<'a>
[src]
fn make_expr(self: Box<ParserAnyMacro<'a>>) -> Option<P<Expr>>
[src]
fn make_pat(self: Box<ParserAnyMacro<'a>>) -> Option<P<Pat>>
[src]
fn make_ty(self: Box<ParserAnyMacro<'a>>) -> Option<P<Ty>>
[src]
fn make_stmts(self: Box<ParserAnyMacro<'a>>) -> Option<SmallVec<[Stmt; 1]>>
[src]
fn make_items(self: Box<ParserAnyMacro<'a>>) -> Option<SmallVec<[P<Item>; 1]>>
[src]
fn make_trait_items(
self: Box<ParserAnyMacro<'a>>
) -> Option<SmallVec<[TraitItem; 1]>>
[src]
self: Box<ParserAnyMacro<'a>>
) -> Option<SmallVec<[TraitItem; 1]>>
fn make_impl_items(
self: Box<ParserAnyMacro<'a>>
) -> Option<SmallVec<[ImplItem; 1]>>
[src]
self: Box<ParserAnyMacro<'a>>
) -> Option<SmallVec<[ImplItem; 1]>>
fn make_foreign_items(
self: Box<ParserAnyMacro<'a>>
) -> Option<SmallVec<[ForeignItem; 1]>>
[src]
self: Box<ParserAnyMacro<'a>>
) -> Option<SmallVec<[ForeignItem; 1]>>
Auto Trait Implementations
impl<'a> !Send for ParserAnyMacro<'a>
impl<'a> !Sync for ParserAnyMacro<'a>
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<E> SpecializationError for E
[src]
impl<T> Send for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
T: ?Sized,