pub struct MemInfo {
pub size: u64,
pub align: u32,
pub order: MemOrder,
pub tbaa: Option<Meta>,
}Expand description
What an access does beyond naming an address.
Fields§
§size: u64How many bytes the access covers, for the ones whose size is not their result type.
A load takes its size from the type it produces. An alloca and a memset do not,
and this is where theirs is.
align: u32The alignment the access is known to have, in bytes.
order: MemOrderHow strongly it is ordered, with MemOrder::NotAtomic for an ordinary access.
tbaa: Option<Meta>The type-based aliasing node, if the front end knew one.
Trait Implementations§
impl Copy for MemInfo
impl Eq for MemInfo
impl StructuralPartialEq for MemInfo
Auto Trait Implementations§
impl Freeze for MemInfo
impl RefUnwindSafe for MemInfo
impl Send for MemInfo
impl Sync for MemInfo
impl Unpin for MemInfo
impl UnsafeUnpin for MemInfo
impl UnwindSafe for MemInfo
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