Struct pdb::SymbolIndex
source · [−]pub struct SymbolIndex(pub u32);
Expand description
A reference into the symbol table of a module.
To retrieve the symbol referenced by this index, use
ModuleInfo::symbols_at
. When iterating, use
SymbolIter::seek
to jump between symbols.
Tuple Fields
0: u32
Trait Implementations
sourceimpl Clone for SymbolIndex
impl Clone for SymbolIndex
sourcefn clone(&self) -> SymbolIndex
fn clone(&self) -> SymbolIndex
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SymbolIndex
impl Debug for SymbolIndex
sourceimpl Display for SymbolIndex
impl Display for SymbolIndex
sourceimpl From<SymbolIndex> for u32
impl From<SymbolIndex> for u32
sourcefn from(string_ref: SymbolIndex) -> Self
fn from(string_ref: SymbolIndex) -> Self
Converts to this type from the input type.
sourceimpl From<u32> for SymbolIndex
impl From<u32> for SymbolIndex
sourceimpl Hash for SymbolIndex
impl Hash for SymbolIndex
sourceimpl Ord for SymbolIndex
impl Ord for SymbolIndex
sourceimpl PartialEq<SymbolIndex> for SymbolIndex
impl PartialEq<SymbolIndex> for SymbolIndex
sourcefn eq(&self, other: &SymbolIndex) -> bool
fn eq(&self, other: &SymbolIndex) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SymbolIndex) -> bool
fn ne(&self, other: &SymbolIndex) -> bool
This method tests for !=
.
sourceimpl PartialOrd<SymbolIndex> for SymbolIndex
impl PartialOrd<SymbolIndex> for SymbolIndex
sourcefn partial_cmp(&self, other: &SymbolIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &SymbolIndex) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for SymbolIndex
impl<'a> TryFromCtx<'a, Endian, [u8]> for SymbolIndex
impl Copy for SymbolIndex
impl Eq for SymbolIndex
impl StructuralEq for SymbolIndex
impl StructuralPartialEq for SymbolIndex
Auto Trait Implementations
impl RefUnwindSafe for SymbolIndex
impl Send for SymbolIndex
impl Sync for SymbolIndex
impl Unpin for SymbolIndex
impl UnwindSafe for SymbolIndex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more