pub struct WildMap<T> { /* private fields */ }Implementations§
Source§impl<T> WildMap<T>where
T: Clone,
impl<T> WildMap<T>where
T: Clone,
pub fn new() -> Self
pub fn insert(&mut self, key: String, value: T)
pub fn get(&self, key: &str) -> Option<&T>
pub fn get_more(&self, key: &str) -> Option<(&str, &T)>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn exact_iter(&self) -> Iter<'_, (String, T)>
pub fn wild_iter(&self) -> Iter<'_, (String, WildMatch, T)>
pub fn exact_iter_mut(&mut self) -> IterMut<'_, (String, T)>
pub fn wild_iter_mut(&mut self) -> IterMut<'_, (String, WildMatch, T)>
Trait Implementations§
impl<T> StructuralPartialEq for WildMap<T>
Auto Trait Implementations§
impl<T> Freeze for WildMap<T>
impl<T> RefUnwindSafe for WildMap<T>where
T: RefUnwindSafe,
impl<T> Send for WildMap<T>where
T: Send,
impl<T> Sync for WildMap<T>where
T: Sync,
impl<T> Unpin for WildMap<T>where
T: Unpin,
impl<T> UnsafeUnpin for WildMap<T>
impl<T> UnwindSafe for WildMap<T>where
T: UnwindSafe,
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