Struct pdb::DataReferenceSymbol
source · [−]pub struct DataReferenceSymbol<'t> {
pub sum_name: u32,
pub symbol_index: SymbolIndex,
pub module: Option<usize>,
pub name: Option<RawString<'t>>,
}
Expand description
Reference to an imported variable.
Symbol kind S_DATAREF
, or S_DATAREF_ST
.
Fields
sum_name: u32
SUC of the name.
symbol_index: SymbolIndex
Symbol index of the referenced DataSymbol
.
Note that this symbol might be located in a different module.
module: Option<usize>
Index of the module in DebugInformation::modules
containing the actual symbol.
name: Option<RawString<'t>>
Name of the data reference.
Trait Implementations
sourceimpl<'t> Clone for DataReferenceSymbol<'t>
impl<'t> Clone for DataReferenceSymbol<'t>
sourcefn clone(&self) -> DataReferenceSymbol<'t>
fn clone(&self) -> DataReferenceSymbol<'t>
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<'t> Debug for DataReferenceSymbol<'t>
impl<'t> Debug for DataReferenceSymbol<'t>
sourceimpl<'t> PartialEq<DataReferenceSymbol<'t>> for DataReferenceSymbol<'t>
impl<'t> PartialEq<DataReferenceSymbol<'t>> for DataReferenceSymbol<'t>
sourcefn eq(&self, other: &DataReferenceSymbol<'t>) -> bool
fn eq(&self, other: &DataReferenceSymbol<'t>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DataReferenceSymbol<'t>) -> bool
fn ne(&self, other: &DataReferenceSymbol<'t>) -> bool
This method tests for !=
.
sourceimpl<'t> TryFromCtx<'t, u16, [u8]> for DataReferenceSymbol<'t>
impl<'t> TryFromCtx<'t, u16, [u8]> for DataReferenceSymbol<'t>
impl<'t> Copy for DataReferenceSymbol<'t>
impl<'t> Eq for DataReferenceSymbol<'t>
impl<'t> StructuralEq for DataReferenceSymbol<'t>
impl<'t> StructuralPartialEq for DataReferenceSymbol<'t>
Auto Trait Implementations
impl<'t> RefUnwindSafe for DataReferenceSymbol<'t>
impl<'t> Send for DataReferenceSymbol<'t>
impl<'t> Sync for DataReferenceSymbol<'t>
impl<'t> Unpin for DataReferenceSymbol<'t>
impl<'t> UnwindSafe for DataReferenceSymbol<'t>
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