Struct rustc_codegen_llvm::debuginfo::metadata::MemberDescription[−][src]

struct MemberDescription<'ll> {
    name: String,
    type_metadata: &'ll DIType,
    offset: Size,
    size: Size,
    align: Align,
    flags: DIFlags,
    discriminant: Option<u64>,
    source_info: Option<SourceInfo<'ll>>,
}
Expand description

Description of a type member, which can either be a regular field (as in structs or tuples) or an enum variant.

Fields

name: Stringtype_metadata: &'ll DITypeoffset: Sizesize: Sizealign: Alignflags: DIFlagsdiscriminant: Option<u64>source_info: Option<SourceInfo<'ll>>

Implementations

impl<'ll> MemberDescription<'ll>[src]

fn into_metadata(
    self,
    cx: &CodegenCx<'ll, '_>,
    composite_type_metadata: &'ll DIScope
) -> &'ll DIType
[src]

Trait Implementations

impl<'ll> Debug for MemberDescription<'ll>[src]

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'ll> !RefUnwindSafe for MemberDescription<'ll>

impl<'ll> !Send for MemberDescription<'ll>

impl<'ll> !Sync for MemberDescription<'ll>

impl<'ll> Unpin for MemberDescription<'ll>

impl<'ll> !UnwindSafe for MemberDescription<'ll>

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

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.

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

Performs the conversion.

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.

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

Performs the conversion.