Struct witx::RecordDatatype [−][src]
pub struct RecordDatatype {
pub kind: RecordKind,
pub members: Vec<RecordMember>,
}
Expand description
A struct-like value with named fields.
Records map to struct
s in most languages where this is a type with a
number of named fields that all have their own particular type. Field order
dictates layout in memory.
Fields
kind: RecordKind
A hint as to what this record might be.
Note that in the future this will only be a hint, not a control of the actual representation itself. At this time though the record layout of bitflags is different from other types.
members: Vec<RecordMember>
A list of named fields for this record.
Implementations
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 RecordDatatype
impl !Send for RecordDatatype
impl !Sync for RecordDatatype
impl Unpin for RecordDatatype
impl !UnwindSafe for RecordDatatype
Blanket Implementations
Mutably borrows from an owned value. Read more