[−][src]Struct perfect_hash::Id
Trait Implementations
impl<T: Clone> Clone for Id<T>
[src]
fn clone(&self) -> Id<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: PartialEq> PartialEq<Id<T>> for Id<T>
[src]
impl<T: PartialOrd> PartialOrd<Id<T>> for Id<T>
[src]
fn partial_cmp(&self, other: &Id<T>) -> Option<Ordering>
[src]
fn lt(&self, other: &Id<T>) -> bool
[src]
fn le(&self, other: &Id<T>) -> bool
[src]
fn gt(&self, other: &Id<T>) -> bool
[src]
fn ge(&self, other: &Id<T>) -> bool
[src]
impl<T: Ord> Ord for Id<T>
[src]
fn cmp(&self, other: &Id<T>) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
🔬 This is a nightly-only experimental API. (
clamp
)Returns max if self is greater than max, and min if self is less than min. Otherwise this will return self. Panics if min > max. Read more
impl<T: Eq> Eq for Id<T>
[src]
impl<T: Copy> Copy for Id<T>
[src]
impl Into<u8> for Id<u8>
[src]
impl<'_> Into<u8> for &'_ Id<u8>
[src]
impl Into<u16> for Id<u16>
[src]
impl<'_> Into<u16> for &'_ Id<u16>
[src]
impl Into<u32> for Id<u32>
[src]
impl<'_> Into<u32> for &'_ Id<u32>
[src]
impl Into<u64> for Id<u64>
[src]
impl<'_> Into<u64> for &'_ Id<u64>
[src]
impl Into<usize> for Id<usize>
[src]
impl<'_> Into<usize> for &'_ Id<usize>
[src]
impl<C, H> Index<Id<u8>> for PerfectHasher8<C, H>
[src]
impl<C, H, T> Index<Id<u8>> for PerfectHashMap8<C, H, T>
[src]
impl<C, H> Index<Id<u16>> for PerfectHasher16<C, H>
[src]
impl<C, H, T> Index<Id<u16>> for PerfectHashMap16<C, H, T>
[src]
impl<C, H> Index<Id<u32>> for PerfectHasher32<C, H>
[src]
impl<C, H, T> Index<Id<u32>> for PerfectHashMap32<C, H, T>
[src]
impl<C, H> Index<Id<u64>> for PerfectHasher64<C, H>
[src]
impl<C, H, T> Index<Id<u64>> for PerfectHashMap64<C, H, T>
[src]
impl<C, H> Index<Id<usize>> for PerfectHasher<C, H>
[src]
impl<C, H, T> Index<Id<usize>> for PerfectHashMap<C, H, T>
[src]
type Output = (C, T)
The returned type after indexing.
fn index(&self, id: Id<usize>) -> &(C, T)
[src]
impl<T: Debug> Debug for Id<T>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,