pub struct DataDef<'a> {
pub linkage: Linkage,
pub name: String,
pub align: Option<u64>,
pub items: Vec<(Type<'a>, DataItem)>,
}Expand description
QBE data definition
Fields§
§linkage: Linkage§name: String§align: Option<u64>§items: Vec<(Type<'a>, DataItem)>Implementations§
Trait Implementations§
source§impl<'a> Ord for DataDef<'a>
impl<'a> Ord for DataDef<'a>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'a> PartialEq<DataDef<'a>> for DataDef<'a>
impl<'a> PartialEq<DataDef<'a>> for DataDef<'a>
source§impl<'a> PartialOrd<DataDef<'a>> for DataDef<'a>
impl<'a> PartialOrd<DataDef<'a>> for DataDef<'a>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more