[][src]Struct perfect_hash::Id

pub struct Id<T> { /* fields omitted */ }

Trait Implementations

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<T: PartialOrd> PartialOrd<Id<T>> for Id<T>[src]

impl<T: Copy> Copy for Id<T>[src]

impl<T: PartialEq> PartialEq<Id<T>> for Id<T>[src]

impl<T: Clone> Clone for Id<T>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Ord> Ord for Id<T>[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: Debug> Debug for Id<T>[src]

impl<C, H> Index<Id<u8>> for PerfectHasher8<C, H>[src]

type Output = C

The returned type after indexing.

impl<C, H, T> Index<Id<u8>> for PerfectHashMap8<C, H, T>[src]

type Output = (C, T)

The returned type after indexing.

impl<C, H> Index<Id<u16>> for PerfectHasher16<C, H>[src]

type Output = C

The returned type after indexing.

impl<C, H, T> Index<Id<u16>> for PerfectHashMap16<C, H, T>[src]

type Output = (C, T)

The returned type after indexing.

impl<C, H> Index<Id<u32>> for PerfectHasher32<C, H>[src]

type Output = C

The returned type after indexing.

impl<C, H, T> Index<Id<u32>> for PerfectHashMap32<C, H, T>[src]

type Output = (C, T)

The returned type after indexing.

impl<C, H> Index<Id<u64>> for PerfectHasher64<C, H>[src]

type Output = C

The returned type after indexing.

impl<C, H, T> Index<Id<u64>> for PerfectHashMap64<C, H, T>[src]

type Output = (C, T)

The returned type after indexing.

impl<C, H> Index<Id<usize>> for PerfectHasher<C, H>[src]

type Output = C

The returned type after indexing.

impl<C, H, T> Index<Id<usize>> for PerfectHashMap<C, H, T>[src]

type Output = (C, T)

The returned type after indexing.

Auto Trait Implementations

impl<T> Send for Id<T> where
    T: Send

impl<T> Sync for Id<T> where
    T: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.