Struct mc_core::util::Palette [−][src]
pub struct Palette<T> { /* fields omitted */ }Expand description
A palette is a vector with limited capacity that allows searching indices of elements.
Implementations
Create a new palette of the specified capacity and fill it with the given iterator.
At most capacity elements are took from the iterator.
Create a new palette with a default element into it and with the specified capacity.
