Struct cly_impl::ast::RecordField[][src]

pub struct RecordField {
    pub parent_id: usize,
    pub pos: Option<usize>,
    pub lo: usize,
    pub layout: Option<FieldLayout>,
    pub layout_hi: usize,
    pub annotations: Vec<Annotation>,
    pub name: Option<String>,
    pub bit_width: Option<Box<Expr>>,
    pub ty: Type,
}

A struct or union field.

Fields

parent_id: usizepos: Option<usize>lo: usizelayout: Option<FieldLayout>layout_hi: usizeannotations: Vec<Annotation>name: Option<String>bit_width: Option<Box<Expr>>ty: Type

Trait Implementations

impl Clone for RecordField[src]

impl Debug for RecordField[src]

impl Eq for RecordField[src]

impl PartialEq<RecordField> for RecordField[src]

impl StructuralEq for RecordField[src]

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