Searched defs:LazyLock (Results 1 – 2 of 2) sorted by relevance
| /third_party/rust/rust/library/std/src/sync/ |
| D | lazy_lock.rs | 58 pub struct LazyLock<T, F = fn() -> T> { struct 63 impl<T, F: FnOnce() -> T> LazyLock<T, F> { argument 147 impl<T, F> LazyLock<T, F> { impl 162 impl<T, F> Drop for LazyLock<T, F> { implementation 175 impl<T, F: FnOnce() -> T> Deref for LazyLock<T, F> { implementation 185 impl<T: Default> Default for LazyLock<T> { implementation 194 impl<T: fmt::Debug, F> fmt::Debug for LazyLock<T, F> { implementation 206 unsafe impl<T: Sync + Send, F: Send> Sync for LazyLock<T, F> {} implementation 210 impl<T: RefUnwindSafe + UnwindSafe, F: UnwindSafe> RefUnwindSafe for LazyLock<T, F> {} implementation 212 impl<T: UnwindSafe, F: UnwindSafe> UnwindSafe for LazyLock<T, F> {} implementation
|
| /third_party/rust/rust/tests/ui/rfcs/rfc-2632-const-trait-impl/ |
| D | trait-method-ptr-in-consts-ice.rs | 3 struct LazyLock<T> { struct 7 impl<T> LazyLock<T> { impl
|