Struct symbolic::debuginfo::pdb::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.

Implementations

impl<'s> StringTable<'s>

pub fn get(&self, offset: StringRef) -> Result<RawString<'_>, Error>

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>

Auto Trait Implementations

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

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

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

impl<'s> Unpin for StringTable<'s>

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

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<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.