Macro interlock::state[][src]

macro_rules! state {
    (let mut $var : ident $(: $ty : ty) ?) => { ... };
}
Expand description

Define a pinned, default-initialized local variable of type Pin<&mut _>.

This macro is useful for holding the state data of a lock. See the crate-level documentation for an example.