Enum pdb::SymbolData[][src]

#[non_exhaustive]pub enum SymbolData<'t> {
    ScopeEnd,
    ObjName(ObjNameSymbol<'t>),
    RegisterVariable(RegisterVariableSymbol<'t>),
    Constant(ConstantSymbol<'t>),
    UserDefinedType(UserDefinedTypeSymbol<'t>),
    MultiRegisterVariable(MultiRegisterVariableSymbol<'t>),
    Data(DataSymbol<'t>),
    Public(PublicSymbol<'t>),
    Procedure(ProcedureSymbol<'t>),
    ThreadStorage(ThreadStorageSymbol<'t>),
    CompileFlags(CompileFlagsSymbol<'t>),
    UsingNamespace(UsingNamespaceSymbol<'t>),
    ProcedureReference(ProcedureReferenceSymbol<'t>),
    DataReference(DataReferenceSymbol<'t>),
    AnnotationReference(AnnotationReferenceSymbol<'t>),
    Export(ExportSymbol<'t>),
    Local(LocalSymbol<'t>),
    BuildInfo(BuildInfoSymbol),
    InlineSite(InlineSiteSymbol<'t>),
    InlineSiteEnd,
    ProcedureEnd,
    Label(LabelSymbol<'t>),
    Block(BlockSymbol<'t>),
    RegisterRelative(RegisterRelativeSymbol<'t>),
    Thunk(ThunkSymbol<'t>),
    SeparatedCode(SeparatedCodeSymbol),
}

Information parsed from a Symbol record.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ScopeEnd

End of a scope, such as a procedure.

ObjName(ObjNameSymbol<'t>)

Name of the object file of this module.

RegisterVariable(RegisterVariableSymbol<'t>)

A Register variable.

Constant(ConstantSymbol<'t>)

A constant value.

UserDefinedType(UserDefinedTypeSymbol<'t>)

A user defined type.

MultiRegisterVariable(MultiRegisterVariableSymbol<'t>)

A Register variable spanning multiple registers.

Data(DataSymbol<'t>)

Static data, such as a global variable.

Public(PublicSymbol<'t>)

A public symbol with a mangled name.

Procedure(ProcedureSymbol<'t>)

A procedure, such as a function or method.

ThreadStorage(ThreadStorageSymbol<'t>)

A thread local variable.

CompileFlags(CompileFlagsSymbol<'t>)

Flags used to compile a module.

UsingNamespace(UsingNamespaceSymbol<'t>)

A using namespace directive.

ProcedureReference(ProcedureReferenceSymbol<'t>)

Reference to a ProcedureSymbol.

DataReference(DataReferenceSymbol<'t>)

Reference to an imported variable.

AnnotationReference(AnnotationReferenceSymbol<'t>)

Reference to an annotation.

Export(ExportSymbol<'t>)

An exported symbol.

Local(LocalSymbol<'t>)

A local symbol in optimized code.

BuildInfo(BuildInfoSymbol)

Reference to build information.

InlineSite(InlineSiteSymbol<'t>)

The callsite of an inlined function.

InlineSiteEnd

End of an inline callsite.

ProcedureEnd

End of a procedure.

Label(LabelSymbol<'t>)

A label

Block(BlockSymbol<'t>)

A block

RegisterRelative(RegisterRelativeSymbol<'t>)

Data allocated relative to a register

Thunk(ThunkSymbol<'t>)

A thunk

SeparatedCode(SeparatedCodeSymbol)

A block of separated code

Implementations

impl<'t> SymbolData<'t>[src]

pub fn name(&self) -> Option<RawString<'t>>[src]

Returns the name of this symbol if it has one.

Trait Implementations

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

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

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

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

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

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

impl<'t> TryFromCtx<'t, (), [u8]> for SymbolData<'t>[src]

type Error = Error

Auto Trait Implementations

impl<'t> RefUnwindSafe for SymbolData<'t>

impl<'t> Send for SymbolData<'t>

impl<'t> Sync for SymbolData<'t>

impl<'t> Unpin for SymbolData<'t>

impl<'t> UnwindSafe for SymbolData<'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.