Struct rustc_const_eval::interpret::BadBytesAccess
source · pub struct BadBytesAccess {
pub access: AllocRange,
pub bad: AllocRange,
}
Expand description
Details of an access to uninitialized bytes / bad pointer bytes where it is not allowed.
Fields§
§access: AllocRange
Range of the original memory access.
bad: AllocRange
Range of the bad memory that was encountered. (Might not be maximal.)
Auto Trait Implementations§
impl RefUnwindSafe for BadBytesAccess
impl Send for BadBytesAccess
impl Sync for BadBytesAccess
impl Unpin for BadBytesAccess
impl UnwindSafe for BadBytesAccess
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes