Expand description
Provides various implementation of lazily initialized types
Modules§
- global_
primed_ locked_ lazy_ droped - lesser_
locked_ lazy - lesser_
locked_ lazy_ droped - lesser_
locked_ lazy_ finalize - locked_
lazy - locked_
lazy_ droped - locked_
lazy_ finalize - primed_
lesser_ locked_ lazy - primed_
locked_ lazy - primed_
locked_ lazy_ droped - unsync_
locked_ lazy - unsync_
locked_ lazy_ droped - unsync_
locked_ lazy_ finalize - unsync_
primed_ locked_ lazy - unsync_
primed_ locked_ lazy_ droped
Structs§
- Lazy
- A type that initialize itself only once on the first access
- Lazy
Finalize - The actual type of statics attributed with #[dynamic(lazy,finalize)] The method from_generator is unsafe as the object must be a non mutable static.
- Lesser
Lazy - The actual type of statics attributed with #[dynamic]. The method from_generator is unsafe because this kind of static can only safely be used through this attribute macros.
- Lesser
Lazy Finalize - The actual type of statics attributed with #[dynamic(finalize)]. The method from_generator is unsafe because this kind of static can only safely be used through this attribute macros.
- Lesser
Locked Lazy - The actual type of mutable statics attributed with #[dynamic] The method from_generator is unsafe because this kind of static can only safely be used through this attribute macros.
- Lesser
Locked Lazy Droped - The actual type of mutable statics attributed with #[dynamic(drop)] The method (new)Self::from_generator is unsafe because this kind of static can only safely be used through this attribute macros.
- Lesser
Locked Lazy Finalize - The actual type of mutable statics attributed with #[dynamic(finalize)] The method from_generator is unsafe because this kind of static can only safely be used through this attribute macros.
- Locked
Lazy - A mutable locked lazy that initialize its content on the first lock
- Locked
Lazy Droped - The actual type of statics attributed with #[dynamic(lazy,finalize)]
- Locked
Lazy Finalize - The actual type of mutable statics attributed with #[dynamic(lazy,finalize)]
- Primed
Lesser Locked Lazy - The actual type of mutable statics attributed with #[dynamic(primed)]
- Primed
Lesser Locked Lazy Droped - The actual type of mutable statics attributed with #[dynamic(primed,drop)]
- Primed
Locked Lazy - The actual type of mutable statics attributed with #[dynamic(primed)]
- Primed
Locked Lazy Droped - The actual type of mutable statics attributed with #[dynamic(primed,drop)]
- UnSync
Lazy - A version of Lazy whose reference can not be passed to other thread
- UnSync
Lazy Droped thread_local - The actual type of thread_local statics attributed with #[dynamic(drop)] The method from_generator is unsafe as the object must be a non mutable static.
- UnSync
Lazy Finalize thread_local - The actual type of thread_local statics attributed with #[dynamic(finalize)] The method from_generator is unsafe as the object must be a non mutable static.
- UnSync
Locked Lazy - A RefCell that initializes its content on the first access
- UnSync
Locked Lazy Droped thread_local - The actual type of thread_local mutable statics attributed with #[dynamic(drop)] The method from_generator is unsafe as the object must be a non mutable thread_local static.
- UnSync
Locked Lazy Finalize thread_local - The actual type of mutable thread_local statics attributed with #[dynamic(finalize)] The method from_generator is unsafe as the object must be a non mutable thread_local static.
- UnSync
Primed Locked Lazy thread_local - The actual type of mutable thread_local statics attributed with #[dynamic(primed)] The method from_generator is unsafe as the object must be a non mutable thread_local static.
- UnSync
Primed Locked Lazy Droped thread_local - The actual type of mutable thread_local statics attributed with #[dynamic(primed,drop)] The method from_generator is unsafe as the object must be a non mutable thread_local static.
Traits§
- Lazy
Access - Helper trait to ease access static lazy associated functions