Home
last modified time | relevance | path

Searched refs:Lazy (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.9/kernel/src/libs/
Dlazy_init.rs28 pub struct Lazy<T> { struct
37 impl<T> Lazy<T> { argument
40 pub const fn new() -> Lazy<T> { in new()
41 Lazy { in new()
120 impl<T> Deref for Lazy<T> { implementation
129 impl<T> DerefMut for Lazy<T> { implementation
136 impl<T: Debug> Debug for Lazy<T> { implementation
146 impl<T> Drop for Lazy<T> { implementation
156 unsafe impl<T: Send + Sync> Sync for Lazy<T> {} implementation
157 unsafe impl<T: Send> Send for Lazy<T> {} implementation
/DragonOS-0.1.9/kernel/src/mm/
Dpercpu.rs7 libs::lazy_init::Lazy,
74 pub const fn define_lazy() -> Lazy<Self> { in define_lazy()
75 Lazy::<Self>::new() in define_lazy()
/DragonOS-0.1.9/kernel/src/libs/intertrait/src/
Dlib.rs104 static CASTER_MAP: once_cell::sync::Lazy<HashMap<(TypeId, TypeId), BoxedCaster, BuildFastHasher>> =
105 once_cell::sync::Lazy::new(|| {