ordermap::set

Type Alias Bucket

Source
type Bucket<T> = Bucket<T, ()>;

Aliased Type§

struct Bucket<T> {
    pub(crate) hash: HashValue,
    pub(crate) key: T,
    pub(crate) value: (),
}

Fields§

§hash: HashValue§key: T§value: ()

Trait Implementations

Source§

impl<K: Clone, V: Clone> Clone for Bucket<K, V>

Source§

fn clone(&self) -> Bucket<K, V>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<K: Debug, V: Debug> Debug for Bucket<K, V>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<K: Copy, V: Copy> Copy for Bucket<K, V>