[][src]Struct pdb::StringTable

pub struct StringTable<'s> { /* fields omitted */ }

The global string table of a PDB.

The string table is a two-way mapping from offset to string and back. It can be used to resolve StringRef offsets to their string values. Sometimes, it is also referred to as "Name table". The mapping from string to offset has not been implemented yet.

Use PDB::string_table to obtain an instance.

Methods

impl<'s> StringTable<'s>[src]

pub fn get(&self, offset: StringRef) -> Result<RawString>[src]

Resolves a string value from this string table.

Errors if the offset is out of bounds, otherwise returns the raw binary string value.

Trait Implementations

impl<'s> Debug for StringTable<'s>[src]

Auto Trait Implementations

impl<'s> !Send for StringTable<'s>

impl<'s> !Sync for StringTable<'s>

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]