diff --git a/ui/src/hook/debounced_value/impl.rs b/ui/src/hook/debounced_value/impl.rs index d97865ed..594fb9bd 100644 --- a/ui/src/hook/debounced_value/impl.rs +++ b/ui/src/hook/debounced_value/impl.rs @@ -1,5 +1,6 @@ use super::*; +/// Inherent implementation of [`DebouncedValue`]. impl DebouncedValue { /// Schedules `next` to become the emitted value. The /// commit happens on the next `tick` call at or after @@ -81,6 +82,7 @@ impl DebouncedValue { } } +/// Debug formatting for [`DebouncedValue`]. impl Display for DebouncedValue { /// Formats the [`DebouncedValue`] via the supplied formatter. /// diff --git a/ui/src/hook/lazy/impl.rs b/ui/src/hook/lazy/impl.rs index ee0073b3..aa022821 100644 --- a/ui/src/hook/lazy/impl.rs +++ b/ui/src/hook/lazy/impl.rs @@ -1,5 +1,6 @@ use super::*; +/// Equality for [`LoadState`]. impl PartialEq for LoadState { /// Returns `true` when `self` and `other` are equivalent by the [`PartialEq`] contract. /// @@ -21,6 +22,7 @@ impl PartialEq for LoadState { } } +/// Inherent implementation of [`LazyComponent`]. impl LazyComponent { /// Creates a new lazy component with the given /// factory. The factory is NOT called yet. @@ -140,6 +142,7 @@ impl LazyComponent { } } +/// Debug formatting for [`LazyComponent`]. impl Debug for LazyComponent { /// Formats the [`LazyComponent`] via the supplied formatter. /// diff --git a/ui/src/hook/previous/impl.rs b/ui/src/hook/previous/impl.rs index e73d09f5..1d708e4c 100644 --- a/ui/src/hook/previous/impl.rs +++ b/ui/src/hook/previous/impl.rs @@ -1,5 +1,6 @@ use super::*; +/// Inherent implementation of [`Previous`]. impl Previous { /// Creates a new `Previous` with no recorded value. /// The `previous` signal starts at `None`. @@ -40,6 +41,7 @@ impl Previous { } } +/// Debug formatting for [`Previous`]. impl Display for Previous { /// Formats the [`Previous`] via the supplied formatter. /// @@ -58,6 +60,7 @@ impl Display for Previous { } } +/// Default-construction for [`Previous`]. impl Default for Previous { /// Constructs a default [`Previous`] value. fn default() -> Self { diff --git a/ui/src/hook/suspense/impl.rs b/ui/src/hook/suspense/impl.rs index 920cf16a..6e862f9b 100644 --- a/ui/src/hook/suspense/impl.rs +++ b/ui/src/hook/suspense/impl.rs @@ -1,5 +1,6 @@ use super::*; +/// Inherent implementation of [`SuspenseHandle`]. impl SuspenseHandle { /// Creates a new `SuspenseHandle` in the `Pending` /// phase. @@ -37,6 +38,7 @@ impl SuspenseHandle { } } +/// Default-construction for [`SuspenseHandle`]. impl Default for SuspenseHandle { /// Constructs a default [`SuspenseHandle`] value. fn default() -> Self { @@ -44,6 +46,7 @@ impl Default for SuspenseHandle { } } +/// Debug formatting for [`SuspenseHandle`]. impl Display for SuspenseHandle { /// Formats the [`SuspenseHandle`] via the supplied formatter. /// @@ -59,6 +62,7 @@ impl Display for SuspenseHandle { } } +/// Equality for [`SuspensePhase`]. impl PartialEq for SuspensePhase { /// Returns `true` when `self` and `other` are equivalent by the [`PartialEq`] contract. /// diff --git a/ui/src/hook/throttled_value/impl.rs b/ui/src/hook/throttled_value/impl.rs index 4fd4e70b..7d76b870 100644 --- a/ui/src/hook/throttled_value/impl.rs +++ b/ui/src/hook/throttled_value/impl.rs @@ -1,5 +1,6 @@ use super::*; +/// Inherent implementation of [`ThrottledValue`]. impl ThrottledValue { /// Sends `next` through the throttle. /// @@ -107,6 +108,7 @@ impl ThrottledValue { } } +/// Debug formatting for [`ThrottledValue`]. impl Display for ThrottledValue { /// Formats the [`ThrottledValue`] via the supplied formatter. /// diff --git a/ui/src/hook/use_async/impl.rs b/ui/src/hook/use_async/impl.rs index d057be4a..9dfae297 100644 --- a/ui/src/hook/use_async/impl.rs +++ b/ui/src/hook/use_async/impl.rs @@ -1,5 +1,6 @@ use super::*; +/// Hook-context teardown for [`UseAsyncSlot`]. impl Drop for UseAsyncSlot where T: Clone + PartialEq + 'static, @@ -17,6 +18,7 @@ where } } +/// Inherent implementation of [`UseAsyncHandle`] — slot lifecycle internals. impl UseAsyncHandle where T: Clone + PartialEq + 'static, @@ -58,6 +60,7 @@ where } } +/// Inherent implementation of [`UseAsyncHandle`] — public reactive API. impl UseAsyncHandle where T: Clone + PartialEq + 'static, @@ -152,6 +155,7 @@ impl HasLoadingHint for () { fn empty() -> Self {} } +/// Debug formatting for [`UseAsyncHandle`]. impl core::fmt::Debug for UseAsyncHandle where T: Clone + PartialEq + 'static, @@ -176,6 +180,7 @@ where } } +/// Default-construction for [`UseAsyncHandle`]. impl Default for UseAsyncHandle where T: Clone + PartialEq + 'static,