Trait rustpython_common::lock::MapImmutable
source · pub trait MapImmutable<'a, R: RawMutex, T: ?Sized> {
// Required method
fn map_immutable<U: ?Sized, F>(
s: Self,
f: F
) -> ImmutableMappedMutexGuard<'a, R, U>
where F: FnOnce(&T) -> &U;
}