Struct pdb::StringTable [−][src]
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>
[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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,