Struct pdb::DataSymbol
source · [−]pub struct DataSymbol<'t> {
pub global: bool,
pub managed: bool,
pub type_index: TypeIndex,
pub offset: PdbInternalSectionOffset,
pub name: RawString<'t>,
}
Expand description
Static data, such as a global variable.
Symbol kinds:
S_LDATA32
andS_LDATA32_ST
for local unmanaged dataS_GDATA32
andS_GDATA32_ST
for global unmanaged dataS_LMANDATA32
andS_LMANDATA32_ST
for local managed dataS_GMANDATA32
andS_GMANDATA32_ST
for global managed data
Fields
global: bool
Whether this data is global or local.
managed: bool
Whether this data is managed or unmanaged.
type_index: TypeIndex
Type identifier of the type of data.
offset: PdbInternalSectionOffset
Code offset of the start of the data region.
name: RawString<'t>
Name of the data variable.
Trait Implementations
sourceimpl<'t> Clone for DataSymbol<'t>
impl<'t> Clone for DataSymbol<'t>
sourcefn clone(&self) -> DataSymbol<'t>
fn clone(&self) -> DataSymbol<'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 DataSymbol<'t>
impl<'t> Debug for DataSymbol<'t>
sourceimpl<'t> PartialEq<DataSymbol<'t>> for DataSymbol<'t>
impl<'t> PartialEq<DataSymbol<'t>> for DataSymbol<'t>
sourcefn eq(&self, other: &DataSymbol<'t>) -> bool
fn eq(&self, other: &DataSymbol<'t>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DataSymbol<'t>) -> bool
fn ne(&self, other: &DataSymbol<'t>) -> bool
This method tests for !=
.
sourceimpl<'t> TryFromCtx<'t, u16, [u8]> for DataSymbol<'t>
impl<'t> TryFromCtx<'t, u16, [u8]> for DataSymbol<'t>
impl<'t> Copy for DataSymbol<'t>
impl<'t> Eq for DataSymbol<'t>
impl<'t> StructuralEq for DataSymbol<'t>
impl<'t> StructuralPartialEq for DataSymbol<'t>
Auto Trait Implementations
impl<'t> RefUnwindSafe for DataSymbol<'t>
impl<'t> Send for DataSymbol<'t>
impl<'t> Sync for DataSymbol<'t>
impl<'t> Unpin for DataSymbol<'t>
impl<'t> UnwindSafe for DataSymbol<'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