[][src]Struct ddbug_parser::Layout

pub struct Layout<'input, 'item> where
    'input: 'item, 
{ pub bit_offset: u64, pub bit_size: Size, pub item: LayoutItem<'input, 'item>, }

The layout of an item (member or padding) within a struct.

Fields

bit_offset: u64

The offset in bits of the item within the struct.

bit_size: Size

The size in bits of the item.

item: LayoutItem<'input, 'item>

The member or padding.

Trait Implementations

impl<'input, 'item> Clone for Layout<'input, 'item> where
    'input: 'item, 
[src]

impl<'input, 'item> Debug for Layout<'input, 'item> where
    'input: 'item, 
[src]

Auto Trait Implementations

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

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

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

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

impl<'input, 'item> UnwindSafe for Layout<'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.