pub struct TypeDef<'a> {
pub name: String,
pub align: Option<u64>,
pub items: Vec<(Type<'a>, usize)>,
}Expand description
QBE aggregate type definition
Fields§
§name: String§align: Option<u64>§items: Vec<(Type<'a>, usize)>Trait Implementations§
source§impl<'a> Ord for TypeDef<'a>
impl<'a> Ord for TypeDef<'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<TypeDef<'a>> for TypeDef<'a>
impl<'a> PartialEq<TypeDef<'a>> for TypeDef<'a>
source§impl<'a> PartialOrd<TypeDef<'a>> for TypeDef<'a>
impl<'a> PartialOrd<TypeDef<'a>> for TypeDef<'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