Struct repc::layout::FieldLayout[][src]

pub struct FieldLayout {
    pub offset_bits: u64,
    pub size_bits: u64,
}

The layout of a field.

Fields

offset_bits: u64

The offset of the struct, in bits, from the start of the struct.

size_bits: u64

The size, in bits, of the field.

For bit-fields, this is the width of the field.

Trait Implementations

impl Clone for FieldLayout[src]

impl Copy for FieldLayout[src]

impl Debug for FieldLayout[src]

impl Default for FieldLayout[src]

impl Eq for FieldLayout[src]

impl Into<()> for FieldLayout[src]

impl PartialEq<FieldLayout> for FieldLayout[src]

impl StructuralEq for FieldLayout[src]

impl StructuralPartialEq for FieldLayout[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.