pub enum Value {
Unknown,
Constant(u32),
Staging(u32),
Stack(u32),
Loaded {
cell: u32,
offset: u32,
},
}Expand description
Values sufficient to distinguish staging addresses from scratch outputs.
Variants§
Unknown
No established value; never usable as an AES argument.
Constant(u32)
An exact immediate or literal value.
Staging(u32)
Byte offset relative to the upload staging buffer.
Stack(u32)
Byte offset relative to the current stack pointer.
Loaded
Pointer loaded from a specific RAM cell, before assigning it a staging role. Keeping provenance avoids guessing that every RAM load is staging.
Trait Implementations§
impl Copy for Value
impl Eq for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnsafeUnpin for Value
impl UnwindSafe for Value
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