pub struct UniqueRootAddress;Expand description
Simply a unit type for the root address. store.root() returns the location for this one.
It implements SubAddress<A> for every type, simply returning the other operand,
so you can easily chain them.
Trait Implementations§
Source§impl Address for UniqueRootAddress
impl Address for UniqueRootAddress
Source§impl<V: Clone> Addressable<UniqueRootAddress> for MemoryCellStore<V>
impl<V: Clone> Addressable<UniqueRootAddress> for MemoryCellStore<V>
type DefaultValue = V
Source§impl<V: Clone> AddressableGet<V, UniqueRootAddress> for MemoryCellStore<V>
impl<V: Clone> AddressableGet<V, UniqueRootAddress> for MemoryCellStore<V>
Source§impl<V: Clone> AddressableSet<V, UniqueRootAddress> for MemoryCellStore<V>
impl<V: Clone> AddressableSet<V, UniqueRootAddress> for MemoryCellStore<V>
Source§impl Clone for UniqueRootAddress
impl Clone for UniqueRootAddress
Source§fn clone(&self) -> UniqueRootAddress
fn clone(&self) -> UniqueRootAddress
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 UniqueRootAddress
impl Debug for UniqueRootAddress
Source§impl Display for UniqueRootAddress
impl Display for UniqueRootAddress
Source§impl From<UniqueRootAddress> for JsonPath
Available on crate feature json only.
impl From<UniqueRootAddress> for JsonPath
Available on crate feature
json only.Source§fn from(_: UniqueRootAddress) -> Self
fn from(_: UniqueRootAddress) -> Self
Converts to this type from the input type.
Source§impl From<UniqueRootAddress> for RelativePath
Available on crate feature fs only.
impl From<UniqueRootAddress> for RelativePath
Available on crate feature
fs only.Source§fn from(_value: UniqueRootAddress) -> Self
fn from(_value: UniqueRootAddress) -> Self
Converts to this type from the input type.
Source§impl Ord for UniqueRootAddress
impl Ord for UniqueRootAddress
Source§fn cmp(&self, other: &UniqueRootAddress) -> Ordering
fn cmp(&self, other: &UniqueRootAddress) -> 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 UniqueRootAddress
impl PartialEq for UniqueRootAddress
Source§impl PartialOrd for UniqueRootAddress
impl PartialOrd for UniqueRootAddress
Source§impl<A: Address> SubAddress<A> for UniqueRootAddress
impl<A: Address> SubAddress<A> for UniqueRootAddress
impl Eq for UniqueRootAddress
impl StructuralPartialEq for UniqueRootAddress
Auto Trait Implementations§
impl Freeze for UniqueRootAddress
impl RefUnwindSafe for UniqueRootAddress
impl Send for UniqueRootAddress
impl Sync for UniqueRootAddress
impl Unpin for UniqueRootAddress
impl UnwindSafe for UniqueRootAddress
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.