pub enum LayoutVerdict {
Disjoint,
Overlap {
func_visible_linmem_base: u32,
linmem_bytes: u32,
globals_base: u32,
overlap_bytes: u32,
},
}Expand description
The verdict of the self-contained linmem↔globals disjointness geometry gate
(validate_linmem_globals_disjoint, VCR-VER-003 / #761).
Variants§
Disjoint
The globals table sits entirely at or above the function-visible linear memory page ceiling — the two regions cannot alias.
Overlap
The globals table base falls INSIDE the function-visible linmem page: a store to the overlapping tail of the page would alias a global slot (or vice versa) — a silent wrong-value miscompile.
Trait Implementations§
Source§impl Clone for LayoutVerdict
impl Clone for LayoutVerdict
Source§fn clone(&self) -> LayoutVerdict
fn clone(&self) -> LayoutVerdict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayoutVerdict
impl Debug for LayoutVerdict
impl Eq for LayoutVerdict
Source§impl PartialEq for LayoutVerdict
impl PartialEq for LayoutVerdict
impl StructuralPartialEq for LayoutVerdict
Auto Trait Implementations§
impl Freeze for LayoutVerdict
impl RefUnwindSafe for LayoutVerdict
impl Send for LayoutVerdict
impl Sync for LayoutVerdict
impl Unpin for LayoutVerdict
impl UnsafeUnpin for LayoutVerdict
impl UnwindSafe for LayoutVerdict
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.