#[repr(transparent)]pub struct WithoutName<T>(pub T);Expand description
A wrapper around AbiType, NamedAbiType, AbiValue and NamedAbiValue
that implements hash/comparison traits without name.
Tuple Fields§
§0: TImplementations§
Source§impl<T> WithoutName<T>
impl<T> WithoutName<T>
Trait Implementations§
Source§impl Borrow<WithoutName<AbiType>> for WithoutName<NamedAbiType>
impl Borrow<WithoutName<AbiType>> for WithoutName<NamedAbiType>
Source§impl Borrow<WithoutName<AbiValue>> for WithoutName<NamedAbiValue>
impl Borrow<WithoutName<AbiValue>> for WithoutName<NamedAbiValue>
Source§impl<T: Clone> Clone for WithoutName<T>
impl<T: Clone> Clone for WithoutName<T>
Source§impl<T: Debug> Debug for WithoutName<T>
impl<T: Debug> Debug for WithoutName<T>
Source§impl Hash for WithoutName<AbiType>
impl Hash for WithoutName<AbiType>
Source§impl Hash for WithoutName<NamedAbiType>
impl Hash for WithoutName<NamedAbiType>
Source§impl PartialEq for WithoutName<AbiType>
impl PartialEq for WithoutName<AbiType>
Source§impl PartialEq for WithoutName<AbiValue>
impl PartialEq for WithoutName<AbiValue>
Source§impl<K, V> PartialEq for WithoutName<BTreeMap<K, V>>
impl<K, V> PartialEq for WithoutName<BTreeMap<K, V>>
Source§impl<K, V, S> PartialEq for WithoutName<HashMap<K, V, S>>
impl<K, V, S> PartialEq for WithoutName<HashMap<K, V, S>>
Source§impl PartialEq for WithoutName<NamedAbiType>
impl PartialEq for WithoutName<NamedAbiType>
Source§impl PartialEq for WithoutName<NamedAbiValue>
impl PartialEq for WithoutName<NamedAbiValue>
Source§impl<T> PartialEq for WithoutName<Vec<T>>where
WithoutName<T>: PartialEq,
impl<T> PartialEq for WithoutName<Vec<T>>where
WithoutName<T>: PartialEq,
Source§impl<T> PartialOrd for WithoutName<T>where
WithoutName<T>: Ord,
impl<T> PartialOrd for WithoutName<T>where
WithoutName<T>: Ord,
impl<T> Eq for WithoutName<T>where
WithoutName<T>: PartialEq,
Auto Trait Implementations§
impl<T> Freeze for WithoutName<T>where
T: Freeze,
impl<T> RefUnwindSafe for WithoutName<T>where
T: RefUnwindSafe,
impl<T> Send for WithoutName<T>where
T: Send,
impl<T> Sync for WithoutName<T>where
T: Sync,
impl<T> Unpin for WithoutName<T>where
T: Unpin,
impl<T> UnwindSafe for WithoutName<T>where
T: UnwindSafe,
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> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.