Struct pdb::ProcedureSymbol
source · [−]pub struct ProcedureSymbol<'t> {
pub global: bool,
pub dpc: bool,
pub parent: Option<SymbolIndex>,
pub end: SymbolIndex,
pub next: Option<SymbolIndex>,
pub len: u32,
pub dbg_start_offset: u32,
pub dbg_end_offset: u32,
pub type_index: TypeIndex,
pub offset: PdbInternalSectionOffset,
pub flags: ProcedureFlags,
pub name: RawString<'t>,
}
Expand description
A procedure, such as a function or method.
Symbol kinds:
S_GPROC32
,S_GPROC32_ST
for global proceduresS_LPROC32
,S_LPROC32_ST
for local proceduresS_LPROC32_DPC
for DPC proceduresS_GPROC32_ID
,S_LPROC32_ID
,S_LPROC32_DPC_ID
for procedures referencing types from the ID stream rather than the Type stream.
Fields
global: bool
Whether this is a global or local procedure.
dpc: bool
Indicates Deferred Procedure Calls (DPC).
parent: Option<SymbolIndex>
The parent scope that this procedure is nested in.
end: SymbolIndex
The end symbol of this procedure.
next: Option<SymbolIndex>
The next procedure symbol.
len: u32
The length of the code block covered by this procedure.
dbg_start_offset: u32
Start offset of the procedure’s body code, which marks the end of the prologue.
dbg_end_offset: u32
End offset of the procedure’s body code, which marks the start of the epilogue.
type_index: TypeIndex
Identifier of the procedure type.
The type contains the complete signature, including parameters, modifiers and the return type.
offset: PdbInternalSectionOffset
Code offset of the start of this procedure.
flags: ProcedureFlags
Detailed flags of this procedure.
name: RawString<'t>
The full, demangled name of the procedure.
Trait Implementations
sourceimpl<'t> Clone for ProcedureSymbol<'t>
impl<'t> Clone for ProcedureSymbol<'t>
sourcefn clone(&self) -> ProcedureSymbol<'t>
fn clone(&self) -> ProcedureSymbol<'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 ProcedureSymbol<'t>
impl<'t> Debug for ProcedureSymbol<'t>
sourceimpl<'t> PartialEq<ProcedureSymbol<'t>> for ProcedureSymbol<'t>
impl<'t> PartialEq<ProcedureSymbol<'t>> for ProcedureSymbol<'t>
sourcefn eq(&self, other: &ProcedureSymbol<'t>) -> bool
fn eq(&self, other: &ProcedureSymbol<'t>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ProcedureSymbol<'t>) -> bool
fn ne(&self, other: &ProcedureSymbol<'t>) -> bool
This method tests for !=
.
sourceimpl<'t> TryFromCtx<'t, u16, [u8]> for ProcedureSymbol<'t>
impl<'t> TryFromCtx<'t, u16, [u8]> for ProcedureSymbol<'t>
impl<'t> Copy for ProcedureSymbol<'t>
impl<'t> Eq for ProcedureSymbol<'t>
impl<'t> StructuralEq for ProcedureSymbol<'t>
impl<'t> StructuralPartialEq for ProcedureSymbol<'t>
Auto Trait Implementations
impl<'t> RefUnwindSafe for ProcedureSymbol<'t>
impl<'t> Send for ProcedureSymbol<'t>
impl<'t> Sync for ProcedureSymbol<'t>
impl<'t> Unpin for ProcedureSymbol<'t>
impl<'t> UnwindSafe for ProcedureSymbol<'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