Struct tsukuyomi::input::local_map::LocalMap [−][src]
pub struct LocalMap { /* fields omitted */ }A typed map storing request-local data.
Methods
impl LocalMap[src]
impl LocalMappub fn get<T>(&self, key: &'static LocalKey<T>) -> Option<&T> where
T: Send + 'static, [src]
pub fn get<T>(&self, key: &'static LocalKey<T>) -> Option<&T> where
T: Send + 'static, Returns a shared reference to the value corresponding to the provided LocalKey.
pub fn get_mut<T>(&mut self, key: &'static LocalKey<T>) -> Option<&mut T> where
T: Send + 'static, [src]
pub fn get_mut<T>(&mut self, key: &'static LocalKey<T>) -> Option<&mut T> where
T: Send + 'static, Returns a mutable reference to the value corresponding to the provided LocalKey.
pub fn contains_key<T>(&self, key: &'static LocalKey<T>) -> bool where
T: Send + 'static, [src]
pub fn contains_key<T>(&self, key: &'static LocalKey<T>) -> bool where
T: Send + 'static, Returns true if the map contains a value for the specified LocalKey.
pub fn insert<T>(&mut self, key: &'static LocalKey<T>, value: T) -> Option<T> where
T: Send + 'static, [src]
pub fn insert<T>(&mut self, key: &'static LocalKey<T>, value: T) -> Option<T> where
T: Send + 'static, Inserts a value corresponding to the provided LocalKey into the map.
pub fn remove<T>(&mut self, key: &'static LocalKey<T>) -> Option<T> where
T: Send + 'static, [src]
pub fn remove<T>(&mut self, key: &'static LocalKey<T>) -> Option<T> where
T: Send + 'static, Removes a value corresponding to the provided LocalKey from the map.
pub fn entry<T>(&mut self, key: &'static LocalKey<T>) -> Entry<T> where
T: Send + 'static, [src]
pub fn entry<T>(&mut self, key: &'static LocalKey<T>) -> Entry<T> where
T: Send + 'static, Create a Entry for in-place manipulation corresponds to an entry in the map.