pub struct RangeMap<T: Hashable>(pub HashMap<H256, T>);Tuple Fields
0: HashMap<H256, T>Implementations
Trait Implementations
sourceimpl<'de, T: Hashable> Deserialize<'de> for RangeMap<T>where
T: Deserialize<'de>,
impl<'de, T: Hashable> Deserialize<'de> for RangeMap<T>where
T: Deserialize<'de>,
sourcefn 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
sourceimpl<T: Hashable> From<HashMap<H256, T, RandomState>> for RangeMap<T>
impl<T: Hashable> From<HashMap<H256, T, RandomState>> for RangeMap<T>
sourceimpl<T: PartialEq + Hashable> PartialEq<RangeMap<T>> for RangeMap<T>
impl<T: PartialEq + Hashable> PartialEq<RangeMap<T>> for RangeMap<T>
impl<T: Eq + Hashable> Eq for RangeMap<T>
impl<T: Hashable> StructuralEq for RangeMap<T>
impl<T: Hashable> StructuralPartialEq for RangeMap<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for RangeMap<T>where
T: RefUnwindSafe,
impl<T> Send for RangeMap<T>where
T: Send,
impl<T> Sync for RangeMap<T>where
T: Sync,
impl<T> Unpin for RangeMap<T>where
T: Unpin,
impl<T> UnwindSafe for RangeMap<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.