pub struct Builder { /* private fields */ }
Expand description
A map builder. Creates a sequence map, allowing the user to insert, repeatedly, a number of
key-value pairs. Use Builder::new
to create.
Implementations§
Source§impl Builder
impl Builder
Sourcepub fn new(bits: usize) -> Builder
pub fn new(bits: usize) -> Builder
Creates a new map builder. bits
determines how many bits are used
for each level of the internal trie, min bits is 2, and max is 16. The
more bits are used, the faster the lookup, but the larger the resulting
binary format.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more