Trait dict::DictIface
[−]
[src]
pub trait DictIface<T> { fn add(&mut self, key: String, val: T) -> bool; fn get(&self, key: &str) -> Option<&T>; fn contains_key(&self, key: &str) -> bool; fn remove_key(&mut self, key: &str) -> Option<T>; }
Required Methods
fn add(&mut self, key: String, val: T) -> bool
fn get(&self, key: &str) -> Option<&T>
fn contains_key(&self, key: &str) -> bool
fn remove_key(&mut self, key: &str) -> Option<T>
Implementors
impl<T> DictIface<T> for Dict<T>