Struct keyed::RefKeyed [−][src]
A wrapper for data structures that implements RefKey
trait.
Trait Implementations
impl<T: Clone> Clone for RefKeyed<T>
[src]
fn clone(&self) -> RefKeyed<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Copy> Copy for RefKeyed<T>
[src]
impl<T: Debug> Debug for RefKeyed<T>
[src]
impl<T: Default> Default for RefKeyed<T>
[src]
impl<T: RefKey> Eq for RefKeyed<T> where
T::Output: Eq,
[src]
T::Output: Eq,
impl<T> From<T> for RefKeyed<T>
[src]
impl<T: RefKey> Hash for RefKeyed<T> where
T::Output: Hash,
[src]
T::Output: Hash,
fn hash<H: Hasher>(&self, state: &mut H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: RefKey> Ord for RefKeyed<T> where
T::Output: Ord,
[src]
T::Output: Ord,
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<T: RefKey> PartialEq<RefKeyed<T>> for RefKeyed<T> where
T::Output: PartialEq,
[src]
T::Output: PartialEq,
impl<T: RefKey> PartialOrd<RefKeyed<T>> for RefKeyed<T> where
T::Output: PartialOrd,
[src]
T::Output: PartialOrd,
Auto Trait Implementations
impl<T> Send for RefKeyed<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for RefKeyed<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for RefKeyed<T> where
T: Unpin,
[src]
T: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<!> for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,