Struct SymKind

Source
pub struct SymKind(pub u16);
Expand description

Identifies symbol records.

Symbol records are stored in the Global Symbol Stream and in each per-module symbol stream.

Many symbols can only appear in the Global Symbol Stream or in a per-module symbol stream.

Tuple Fields§

§0: u16

Implementations§

Source§

impl SymKind

Source

pub const S_COMPILE: SymKind

Source

pub const S_END: SymKind

Source

pub const S_SKIP: SymKind

Source

pub const S_CVRESERVE: SymKind

Source

pub const S_OBJNAME_ST: SymKind

Source

pub const S_RETURN: SymKind

Source

pub const S_PROCREF_ST: SymKind

Source

pub const S_DATAREF_ST: SymKind

Source

pub const S_ALIGN: SymKind

Source

pub const S_LPROCREF_ST: SymKind

Source

pub const S_OEM: SymKind

Source

pub const S_TI16_MAX: SymKind

Source

pub const S_REGISTER_ST: SymKind

Source

pub const S_CONSTANT_ST: SymKind

Source

pub const S_UDT_ST: SymKind

Source

pub const S_COBOLUDT_ST: SymKind

Source

pub const S_MANYREG_ST: SymKind

Source

pub const S_BPREL32_ST: SymKind

Source

pub const S_LDATA32_ST: SymKind

Source

pub const S_GDATA32_ST: SymKind

Source

pub const S_PUB32_ST: SymKind

Source

pub const S_LPROC32_ST: SymKind

Source

pub const S_GPROC32_ST: SymKind

Source

pub const S_VFTABLE32: SymKind

Source

pub const S_REGREL32_ST: SymKind

Source

pub const S_LTHREAD32_ST: SymKind

Source

pub const S_GTHREAD32_ST: SymKind

Source

pub const S_FRAMEPROC: SymKind

Source

pub const S_ANNOTATION: SymKind

Source

pub const S_OBJNAME: SymKind

Source

pub const S_THUNK32: SymKind

Source

pub const S_BLOCK32: SymKind

Source

pub const S_WITH32: SymKind

Source

pub const S_LABEL32: SymKind

Source

pub const S_REGISTER: SymKind

Source

pub const S_CONSTANT: SymKind

Source

pub const S_UDT: SymKind

Source

pub const S_COBOLUDT: SymKind

Source

pub const S_MANYREG: SymKind

Source

pub const S_BPREL32: SymKind

Source

pub const S_LDATA32: SymKind

Source

pub const S_GDATA32: SymKind

Source

pub const S_PUB32: SymKind

Source

pub const S_LPROC32: SymKind

Source

pub const S_GPROC32: SymKind

Source

pub const S_REGREL32: SymKind

Source

pub const S_LTHREAD32: SymKind

Source

pub const S_GTHREAD32: SymKind

Source

pub const S_COMPILE2: SymKind

Source

pub const S_MANYREG2: SymKind

Source

pub const S_LPROCIA64: SymKind

Source

pub const S_GPROCIA64: SymKind

Source

pub const S_LOCALSLOT: SymKind

Source

pub const S_PARAMSLOT: SymKind

Source

pub const S_LMANDATA: SymKind

Source

pub const S_GMANDATA: SymKind

Source

pub const S_MANFRAMEREL: SymKind

Source

pub const S_MANREGISTER: SymKind

Source

pub const S_MANSLOT: SymKind

Source

pub const S_MANMANYREG: SymKind

Source

pub const S_MANREGREL: SymKind

Source

pub const S_MANMANYREG2: SymKind

Source

pub const S_UNAMESPACE: SymKind

Source

pub const S_PROCREF: SymKind

Source

pub const S_DATAREF: SymKind

Source

pub const S_LPROCREF: SymKind

Source

pub const S_ANNOTATIONREF: SymKind

Source

pub const S_TOKENREF: SymKind

Source

pub const S_GMANPROC: SymKind

Source

pub const S_LMANPROC: SymKind

Source

pub const S_TRAMPOLINE: SymKind

Source

pub const S_MANCONSTANT: SymKind

Source

pub const S_ATTR_FRAMEREL: SymKind

Source

pub const S_ATTR_REGISTER: SymKind

Source

pub const S_ATTR_REGREL: SymKind

Source

pub const S_ATTR_MANYREG: SymKind

Source

pub const S_SEPCODE: SymKind

Source

pub const S_LOCAL_2005: SymKind

Source

pub const S_DEFRANGE_2005: SymKind

Source

pub const S_DEFRANGE2_2005: SymKind

Source

pub const S_SECTION: SymKind

Source

pub const S_COFFGROUP: SymKind

Source

pub const S_EXPORT: SymKind

Source

pub const S_CALLSITEINFO: SymKind

Source

pub const S_FRAMECOOKIE: SymKind

Source

pub const S_DISCARDED: SymKind

Source

pub const S_COMPILE3: SymKind

Source

pub const S_ENVBLOCK: SymKind

Source

pub const S_LOCAL: SymKind

Source

pub const S_DEFRANGE: SymKind

Source

pub const S_DEFRANGE_SUBFIELD: SymKind

Source

pub const S_DEFRANGE_REGISTER: SymKind

Source

pub const S_DEFRANGE_FRAMEPOINTER_REL: SymKind

Source

pub const S_DEFRANGE_SUBFIELD_REGISTER: SymKind

Source

pub const S_DEFRANGE_FRAMEPOINTER_REL_FULL_SCOPE: SymKind

Source

pub const S_DEFRANGE_REGISTER_REL: SymKind

Source

pub const S_LPROC32_ID: SymKind

Source

pub const S_GPROC32_ID: SymKind

Source

pub const S_LPROCMIPS_ID: SymKind

Source

pub const S_GPROCMIPS_ID: SymKind

Source

pub const S_LPROCIA64_ID: SymKind

Source

pub const S_GPROCIA64_ID: SymKind

Source

pub const S_BUILDINFO: SymKind

Source

pub const S_INLINESITE: SymKind

Source

pub const S_INLINESITE_END: SymKind

Source

pub const S_PROC_ID_END: SymKind

Source

pub const S_DEFRANGE_HLSL: SymKind

Source

pub const S_GDATA_HLSL: SymKind

Source

pub const S_LDATA_HLSL: SymKind

Source

pub const S_FILESTATIC: SymKind

Source

pub const S_LOCAL_DPC_GROUPSHARED: SymKind

Source

pub const S_LPROC32_DPC: SymKind

Source

pub const S_LPROC32_DPC_ID: SymKind

Source

pub const S_DEFRANGE_DPC_PTR_TAG: SymKind

Source

pub const S_DPC_SYM_TAG_MAP: SymKind

Source

pub const S_ARMSWITCHTABLE: SymKind

Source

pub const S_CALLEES: SymKind

Source

pub const S_CALLERS: SymKind

Source

pub const S_POGODATA: SymKind

Source

pub const S_INLINESITE2: SymKind

Source

pub const S_HEAPALLOCSITE: SymKind

Source

pub const S_MOD_TYPEREF: SymKind

Source

pub const S_REF_MINIPDB: SymKind

Source

pub const S_PDBMAP: SymKind

Source

pub const S_GDATA_HLSL32: SymKind

Source

pub const S_LDATA_HLSL32: SymKind

Source

pub const S_GDATA_HLSL32_EX: SymKind

Source

pub const S_LDATA_HLSL32_EX: SymKind

Source

pub const S_INLINEES: SymKind

Source

pub const S_HOTPATCHFUNC: SymKind

Source§

impl SymKind

Source

pub fn starts_scope(self) -> bool

True if this SymKind starts a scope. All symbols that start a block begin with BlockHeader.

Source

pub fn is_proc(self) -> bool

True if this SymKind is a procedure definition.

Source

pub fn ends_scope(self) -> bool

Indicates whether this SymKind ends a scope.

There are no SymKind values that both start and end a scope.

In all well-formed symbol streams, every symbol that starts a scope has a matching symbol that ends that scope.

Source

pub fn is_refsym_target(self) -> bool

Returns true if this symbol can be the target of a “reference to symbol” in the Global Symbol Stream.

Source

pub fn is_refsym_source(self) -> bool

Returns true if this symbol can be the source of a “reference to symbol” in the Global Symbol Stream.

Trait Implementations§

Source§

impl Clone for SymKind

Source§

fn clone(&self) -> SymKind

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SymKind

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for SymKind

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for SymKind

Source§

fn cmp(&self, other: &SymKind) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for SymKind

Source§

fn eq(&self, other: &SymKind) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for SymKind

Source§

fn partial_cmp(&self, other: &SymKind) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Copy for SymKind

Source§

impl Eq for SymKind

Source§

impl StructuralPartialEq for SymKind

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more