Struct tsukuyomi::input::local_map::LocalMap[][src]

pub struct LocalMap { /* fields omitted */ }

A typed map storing request-local data.

Methods

impl LocalMap
[src]

Returns a shared reference to the value corresponding to the provided LocalKey.

Returns a mutable reference to the value corresponding to the provided LocalKey.

Returns true if the map contains a value for the specified LocalKey.

Inserts a value corresponding to the provided LocalKey into the map.

Removes a value corresponding to the provided LocalKey from the map.

Create a Entry for in-place manipulation corresponds to an entry in the map.

Trait Implementations

impl Default for LocalMap
[src]

Returns the "default value" for a type. Read more

impl Debug for LocalMap
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for LocalMap

impl !Sync for LocalMap