pub struct AddressStorageLocation {
pub key: StoreKey,
pub offset: u8,
}Fields§
§key: StoreKey§offset: u8Implementations§
Trait Implementations§
Source§impl Clone for AddressStorageLocation
impl Clone for AddressStorageLocation
Source§fn clone(&self) -> AddressStorageLocation
fn clone(&self) -> AddressStorageLocation
Returns a duplicate of the value. Read more
1.0.0 · 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 AddressStorageLocation
impl Debug for AddressStorageLocation
Source§impl DeepSizeOf for AddressStorageLocation
impl DeepSizeOf for AddressStorageLocation
Source§fn deep_size_of_children(&self, context: &mut Context) -> usize
fn deep_size_of_children(&self, context: &mut Context) -> usize
Returns an estimation of the heap-managed storage of this object.
This does not include the size of the object itself. Read more
Source§fn deep_size_of(&self) -> usize
fn deep_size_of(&self) -> usize
Returns an estimation of a total size of memory owned by the
object, including heap-managed storage. Read more
Source§impl<'de> Deserialize<'de> for AddressStorageLocation
impl<'de> Deserialize<'de> for AddressStorageLocation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<AddressStorageLocation> for AddressStorageLocation
impl From<AddressStorageLocation> for AddressStorageLocation
Source§fn from(value: AddressStorageLocation) -> Self
fn from(value: AddressStorageLocation) -> Self
Converts to this type from the input type.
Source§impl Hash for AddressStorageLocation
impl Hash for AddressStorageLocation
Source§impl Ord for AddressStorageLocation
impl Ord for AddressStorageLocation
Source§fn cmp(&self, other: &AddressStorageLocation) -> Ordering
fn cmp(&self, other: &AddressStorageLocation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AddressStorageLocation
impl PartialEq for AddressStorageLocation
Source§impl PartialOrd for AddressStorageLocation
impl PartialOrd for AddressStorageLocation
Source§impl Serialize for AddressStorageLocation
impl Serialize for AddressStorageLocation
impl Eq for AddressStorageLocation
impl StructuralPartialEq for AddressStorageLocation
Auto Trait Implementations§
impl !Freeze for AddressStorageLocation
impl RefUnwindSafe for AddressStorageLocation
impl Send for AddressStorageLocation
impl Sync for AddressStorageLocation
impl Unpin for AddressStorageLocation
impl UnwindSafe for AddressStorageLocation
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.