[−][src]Enum rustc_expand::mbe::macro_check::NestedMacroState
Represents the processed prefix of a nested macro.
Variants
Nothing that matches a nested macro definition was processed yet.
The token macro_rules was processed.
The tokens macro_rules! were processed.
The tokens macro_rules! followed by a name were processed. The name may be either directly
an identifier or a meta-variable (that hopefully would be instantiated by an identifier).
The keyword macro was processed.
The keyword macro followed by a name was processed.
The keyword macro followed by a name and a token delimited by parentheses was processed.
Trait Implementations
impl Clone for NestedMacroState[src]
pub fn clone(&self) -> NestedMacroState[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for NestedMacroState[src]
impl Eq for NestedMacroState[src]
impl PartialEq<NestedMacroState> for NestedMacroState[src]
pub fn eq(&self, other: &NestedMacroState) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for NestedMacroState[src]
impl StructuralPartialEq for NestedMacroState[src]
Auto Trait Implementations
impl RefUnwindSafe for NestedMacroState
impl Send for NestedMacroState
impl Sync for NestedMacroState
impl Unpin for NestedMacroState
impl UnwindSafe for NestedMacroState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,