pub enum Readiness {
Ready,
Pending,
}Expand description
Whether the content of a region has arrived.
The state, not the shimmer. Whether pending paints a skeleton, a spinner or
nothing at all is renderer policy, the same class of decision that got
Fill::fallback deleted from this crate. goingson and Balanced Breakfast
each grew a skeleton with differently-named parts; both keep them, as the
webview renderer’s expression of Readiness::Pending. audiofiles has none
and needs none, because an immediate-mode renderer simply repaints.
Variants§
Trait Implementations§
impl Copy for Readiness
impl Eq for Readiness
impl StructuralPartialEq for Readiness
Auto Trait Implementations§
impl Freeze for Readiness
impl RefUnwindSafe for Readiness
impl Send for Readiness
impl Sync for Readiness
impl Unpin for Readiness
impl UnsafeUnpin for Readiness
impl UnwindSafe for Readiness
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more