pub struct StaticMap<T: 'static> { /* private fields */ }Expand description
Minimal perfect hash map with string keys.
See the static_map! macro for how to create one.
Implementations§
Trait Implementations§
impl<T: Copy + 'static> Copy for StaticMap<T>
Auto Trait Implementations§
impl<T> Freeze for StaticMap<T>
impl<T> RefUnwindSafe for StaticMap<T>where
T: RefUnwindSafe,
impl<T> Send for StaticMap<T>where
T: Sync,
impl<T> Sync for StaticMap<T>where
T: Sync,
impl<T> Unpin for StaticMap<T>
impl<T> UnwindSafe for StaticMap<T>where
T: RefUnwindSafe,
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