pub struct Location {
pub slot: B256,
pub offset: usize,
pub size: usize,
pub type_id: String,
}Expand description
Where a value lives.
Fields§
§slot: B256Storage slot.
offset: usizeByte offset from the low-order end of the word (solc convention).
size: usizeSize in bytes.
type_id: StringType id for decoding.
Trait Implementations§
impl Eq for Location
impl StructuralPartialEq for Location
Auto Trait Implementations§
impl Freeze for Location
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnsafeUnpin for Location
impl UnwindSafe for Location
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