Struct tydi_hir::type::Field [−][src]
pub struct Field {
pub identifier: Id<Identifier>,
pub typ: Id<Type>,
pub direction: Direction,
}
Expand description
The field of a group or union.
Fields
identifier: Id<Identifier>
Field name.
typ: Id<Type>
Reference to the field type.
direction: Direction
Direction of the field w.r.t. whatever uses its parent type.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Field
impl UnwindSafe for Field
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.