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,
}
Expand description
A struct or union field.
Fields
parent_id: usize
pos: Option<usize>
lo: usize
layout: Option<FieldLayout>
layout_hi: usize
annotations: Vec<Annotation>
name: Option<String>
bit_width: Option<Box<Expr>>
ty: Type
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RecordField
impl Send for RecordField
impl Sync for RecordField
impl Unpin for RecordField
impl UnwindSafe for RecordField
Blanket Implementations
Mutably borrows from an owned value. Read more