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> PartialOrd for DataDef<'a>
impl<'a> PartialOrd for DataDef<'a>
impl<'a> Eq for DataDef<'a>
impl<'a> StructuralPartialEq for DataDef<'a>
Auto Trait Implementations§
impl<'a> Freeze for DataDef<'a>
impl<'a> RefUnwindSafe for DataDef<'a>
impl<'a> Send for DataDef<'a>
impl<'a> Sync for DataDef<'a>
impl<'a> Unpin for DataDef<'a>
impl<'a> UnwindSafe for DataDef<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more