pub struct MemFlags {
pub aligned: bool,
pub notrap: bool,
pub readonly: bool,
}Expand description
Memory access flags for load/store instructions.
Fields§
§aligned: boolTrue if the access is aligned (UB if not)
notrap: boolTrue if the access is volatile (not reordered)
readonly: boolTrue if the access does not alias any other access
Implementations§
Trait Implementations§
impl Eq for MemFlags
impl StructuralPartialEq for MemFlags
Auto Trait Implementations§
impl Freeze for MemFlags
impl RefUnwindSafe for MemFlags
impl Send for MemFlags
impl Sync for MemFlags
impl Unpin for MemFlags
impl UnsafeUnpin for MemFlags
impl UnwindSafe for MemFlags
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