Crate tempref

Crate tempref 

Source
Expand description

This crate provides a type whose value remains unchanged even when accessed through a mutable reference. Some functions are compatible with no_std environments.

ModuleCharacteristicsFeature Flags
unsync!Sync, !Send type
Supports no_std
default, all, no_std, unsync
mutexSync, Send type using std::sync::Mutexdefault, all, mutex
rwlockSync, Send type using std::sync::RwLockdefault, all, rwlock

Modules§

mutex
Multi thread version which used Mutex of TempRef. This module requires std.
rwlock
Multi thread version which used RwLock of TempRef. This module requires std.
unsync
Single thread version of TempRef. This module doesn’t require std.