Lines Matching defs:default
220 //! fn default() -> Self { LateInit { cell: OnceCell::default() } }
242 //! let a = A::default();
243 //! let b = B::default();
285 //! controlled by the `parking_lot` feature (disabled by default). Performance
397 fn default() -> Self {
638 mem::replace(self, Self::default()).into_inner()
820 fn default() -> Lazy<T> {
821 Lazy::new(T::default)
869 fn default() -> OnceCell<T> {
1163 mem::replace(self, Self::default()).into_inner()
1348 fn default() -> Lazy<T> {
1349 Lazy::new(T::default)