Struct intaglio::AllSymbols[][src]

pub struct AllSymbols<'a> { /* fields omitted */ }

An iterator over all Symbols in a SymbolTable.

See the all_symbols method in SymbolTable.

Usage

let mut table = SymbolTable::new();
let sym = table.intern("abc")?;
let all_symbols = table.all_symbols();
assert_eq!(vec![sym], all_symbols.collect::<Vec<_>>());

Trait Implementations

impl<'a> Clone for AllSymbols<'a>[src]

impl<'a> Debug for AllSymbols<'a>[src]

impl<'a> DoubleEndedIterator for AllSymbols<'a>[src]

impl<'a> Eq for AllSymbols<'a>[src]

impl<'a> FusedIterator for AllSymbols<'a>[src]

impl<'a> Hash for AllSymbols<'a>[src]

impl<'a> Iterator for AllSymbols<'a>[src]

type Item = Symbol

The type of the elements being iterated over.

impl<'a> PartialEq<AllSymbols<'a>> for AllSymbols<'a>[src]

impl<'a> StructuralEq for AllSymbols<'a>[src]

impl<'a> StructuralPartialEq for AllSymbols<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for AllSymbols<'a>[src]

impl<'a> Send for AllSymbols<'a>[src]

impl<'a> Sync for AllSymbols<'a>[src]

impl<'a> Unpin for AllSymbols<'a>[src]

impl<'a> UnwindSafe for AllSymbols<'a>[src]

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.