pub enum PlannedValue {
Constant {
value: i64,
size: MemoryAccessSize,
},
RegisterValue {
dwarf_reg: u16,
size: MemoryAccessSize,
},
RuntimeComputed {
expr: RuntimeComputedExpr,
result_size: MemoryAccessSize,
},
ImplicitBytes(Vec<u8>),
AddressValue {
address: PlannedAddress,
size: MemoryAccessSize,
},
}Variants§
Implementations§
Source§impl PlannedValue
impl PlannedValue
pub fn from_location( location: VariableLocation, size: MemoryAccessSize, ) -> Option<Self>
Trait Implementations§
Source§impl Clone for PlannedValue
impl Clone for PlannedValue
Source§fn clone(&self) -> PlannedValue
fn clone(&self) -> PlannedValue
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 PlannedValue
impl Debug for PlannedValue
Source§impl PartialEq for PlannedValue
impl PartialEq for PlannedValue
impl StructuralPartialEq for PlannedValue
Auto Trait Implementations§
impl Freeze for PlannedValue
impl RefUnwindSafe for PlannedValue
impl Send for PlannedValue
impl Sync for PlannedValue
impl Unpin for PlannedValue
impl UnsafeUnpin for PlannedValue
impl UnwindSafe for PlannedValue
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more