Skip to main content

MappedSpinlockGuard

Type Alias MappedSpinlockGuard 

Source
pub type MappedSpinlockGuard<'a, T> = MappedMutexGuard<'a, RawSpinlock, T>;
Available on crate feature full and non-crate feature use_std only.
Expand description

An RAII spinlock guard returned by SpinlockGuard::map, which can point to a subfield of the protected data.

Aliased Typeยง

pub struct MappedSpinlockGuard<'a, T> { /* private fields */ }