[][src]Enum ddbug_parser::LayoutItem

pub enum LayoutItem<'input, 'item> {
    Padding,
    Member(&'item Member<'input>),
    VariantPart(&'item VariantPart<'input>),
    Inherit(&'item Inherit),
}

The item in a Layout.

Variants

Padding

Padding.

Member(&'item Member<'input>)

A member.

VariantPart(&'item VariantPart<'input>)

A variant part.

Inherit(&'item Inherit)

An inherited type.

Trait Implementations

impl<'input, 'item> Clone for LayoutItem<'input, 'item>[src]

impl<'input, 'item> Debug for LayoutItem<'input, 'item>[src]

Auto Trait Implementations

impl<'input, 'item> RefUnwindSafe for LayoutItem<'input, 'item>[src]

impl<'input, 'item> Send for LayoutItem<'input, 'item>[src]

impl<'input, 'item> Sync for LayoutItem<'input, 'item>[src]

impl<'input, 'item> Unpin for LayoutItem<'input, 'item> where
    'input: 'item, 
[src]

impl<'input, 'item> UnwindSafe for LayoutItem<'input, 'item>[src]

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.