[][src]Struct cfg::classification::useful::UselessRules

pub struct UselessRules<'a, G, R> where
    G: 'a, 
{ /* fields omitted */ }

An iterator over the grammar's useless rules.

Trait Implementations

impl<'a, G> Iterator for UselessRules<'a, G, <&'a G as ContextFreeRef<'a>>::Rules> where
    G: ContextFree + 'a,
    &'a G: ContextFreeRef<'a, Target = G>, 
[src]

type Item = UselessRule<<<&'a G as ContextFreeRef<'a>>::Rules as Iterator>::Item>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, G, R> Send for UselessRules<'a, G, R> where
    G: Sync,
    R: Send

impl<'a, G, R> Sync for UselessRules<'a, G, R> where
    G: Sync,
    R: Sync

impl<'a, G, R> Unpin for UselessRules<'a, G, R> where
    R: Unpin

impl<'a, G, R> UnwindSafe for UselessRules<'a, G, R> where
    G: RefUnwindSafe,
    R: UnwindSafe

impl<'a, G, R> RefUnwindSafe for UselessRules<'a, G, R> where
    G: RefUnwindSafe,
    R: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]