Struct pdb::SymbolIter[][src]

pub struct SymbolIter<'t> { /* fields omitted */ }

A SymbolIter iterates over a SymbolTable, producing Symbols.

Symbol tables are represented internally as a series of records, each of which have a length, a type, and a type-specific field layout. Iteration performance is therefore similar to a linked list.

Implementations

impl<'t> SymbolIter<'t>[src]

pub fn seek(&mut self, index: SymbolIndex)[src]

Move the iterator to the symbol referred to by index.

This can be used to jump to the sibiling or parent of a symbol record.

pub fn skip_to(&mut self, index: SymbolIndex) -> Result<Option<Symbol<'t>>>[src]

Skip to the symbol referred to by index, returning the symbol.

This can be used to jump to the sibiling or parent of a symbol record. Iteration continues after that symbol.

Note that the symbol may be located before the originating symbol, for instance when jumping to the parent symbol. Take care not to enter an endless loop in this case.

Trait Implementations

impl<'t> Debug for SymbolIter<'t>[src]

impl<'t> FallibleIterator for SymbolIter<'t>[src]

type Item = Symbol<'t>

The type being iterated over.

type Error = Error

The error type.

Auto Trait Implementations

impl<'t> RefUnwindSafe for SymbolIter<'t>

impl<'t> Send for SymbolIter<'t>

impl<'t> Sync for SymbolIter<'t>

impl<'t> Unpin for SymbolIter<'t>

impl<'t> UnwindSafe for SymbolIter<'t>

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> IntoFallibleIterator for I where
    I: FallibleIterator
[src]

type Item = <I as FallibleIterator>::Item

The elements of the iterator.

type Error = <I as FallibleIterator>::Error

The error value of the iterator.

type IntoFallibleIter = I

The iterator.

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.