Trait rerun::external::eframe::egui::ahash::HashSetExt

pub trait HashSetExt {
    // Required methods
    fn new() -> Self;
    fn with_capacity(capacity: usize) -> Self;
}
Expand description

A convenience trait that can be used together with the type aliases defined to get access to the new() and with_capacity() methods for the HashSet type aliases.

Required Methods§

fn new() -> Self

Constructs a new HashSet

fn with_capacity(capacity: usize) -> Self

Constructs a new HashSet with a given initial capacity

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl<K, S> HashSetExt for HashSet<K, S>
where S: BuildHasher + Default,

§

fn new() -> HashSet<K, S>

§

fn with_capacity(capacity: usize) -> HashSet<K, S>

Implementors§