Struct pdb::ConstantSymbol[][src]

pub struct ConstantSymbol<'t> {
    pub managed: bool,
    pub type_index: TypeIndex,
    pub value: Variant,
    pub name: RawString<'t>,
}

A constant value.

Symbol kind S_CONSTANT, or S_CONSTANT_ST.

Fields

managed: bool

Whether this constant has metadata type information.

type_index: TypeIndex

The type of this constant or metadata token.

value: Variant

The value of this constant.

name: RawString<'t>

Name of the constant.

Trait Implementations

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

impl<'t> Copy for ConstantSymbol<'t>[src]

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

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

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

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

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

impl<'t> TryFromCtx<'t, u16, [u8]> for ConstantSymbol<'t>[src]

type Error = Error

Auto Trait Implementations

impl<'t> RefUnwindSafe for ConstantSymbol<'t>

impl<'t> Send for ConstantSymbol<'t>

impl<'t> Sync for ConstantSymbol<'t>

impl<'t> Unpin for ConstantSymbol<'t>

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