Enum pdb::SymbolData
source · [−]#[non_exhaustive]
pub enum SymbolData<'t> {
Show 27 variants
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>),
Trampoline(TrampolineSymbol),
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),
}
Expand description
Information parsed from a Symbol
record.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
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.
Trampoline(TrampolineSymbol)
Trampoline thunk.
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
Trait Implementations
sourceimpl<'t> Clone for SymbolData<'t>
impl<'t> Clone for SymbolData<'t>
sourcefn clone(&self) -> SymbolData<'t>
fn clone(&self) -> SymbolData<'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 SymbolData<'t>
impl<'t> Debug for SymbolData<'t>
sourceimpl<'t> PartialEq<SymbolData<'t>> for SymbolData<'t>
impl<'t> PartialEq<SymbolData<'t>> for SymbolData<'t>
sourcefn eq(&self, other: &SymbolData<'t>) -> bool
fn eq(&self, other: &SymbolData<'t>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SymbolData<'t>) -> bool
fn ne(&self, other: &SymbolData<'t>) -> bool
This method tests for !=
.
sourceimpl<'t> TryFromCtx<'t, (), [u8]> for SymbolData<'t>
impl<'t> TryFromCtx<'t, (), [u8]> for SymbolData<'t>
impl<'t> Eq for SymbolData<'t>
impl<'t> StructuralEq for SymbolData<'t>
impl<'t> StructuralPartialEq for SymbolData<'t>
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
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