#[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
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.

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

Returns the name of this symbol if it has one.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.