[][src]Struct ddbug_parser::Inherit

pub struct Inherit { /* fields omitted */ }

An inherited type of a struct or union.

Implementations

impl Inherit[src]

pub fn type_offset(&self) -> TypeOffset[src]

The debuginfo offset of the inherited type.

pub fn ty<'a, 'input>(
    &self,
    hash: &'a FileHash<'input>
) -> Option<Cow<'a, Type<'input>>>
[src]

The inherited type.

pub fn bit_offset(&self) -> u64[src]

The offset in bits of the inherited type within the struct.

pub fn bit_size(&self, hash: &FileHash<'_>) -> Option<u64>[src]

The size in bits of the inherited type.

Trait Implementations

impl Clone for Inherit[src]

impl Debug for Inherit[src]

impl Default for Inherit[src]

Auto Trait Implementations

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.