Struct pdb::DataSymbol[][src]

pub struct DataSymbol<'t> {
    pub global: bool,
    pub managed: bool,
    pub type_index: TypeIndex,
    pub offset: PdbInternalSectionOffset,
    pub name: RawString<'t>,
}

Static data, such as a global variable.

Symbol kinds:

  • S_LDATA32 and S_LDATA32_ST for local unmanaged data
  • S_GDATA32 and S_GDATA32_ST for global unmanaged data
  • S_LMANDATA32 and S_LMANDATA32_ST for local managed data
  • S_GMANDATA32 and S_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

impl<'t> Clone for DataSymbol<'t>[src]

impl<'t> Copy for DataSymbol<'t>[src]

impl<'t> Debug for DataSymbol<'t>[src]

impl<'t> Eq for DataSymbol<'t>[src]

impl<'t> PartialEq<DataSymbol<'t>> for DataSymbol<'t>[src]

impl<'t> StructuralEq for DataSymbol<'t>[src]

impl<'t> StructuralPartialEq for DataSymbol<'t>[src]

impl<'t> TryFromCtx<'t, u16, [u8]> for DataSymbol<'t>[src]

type Error = Error

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

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.