Skip to main content

breathe

Function breathe 

Source
pub fn breathe<E>(
    element: E,
    id: impl Into<ElementId>,
    theme: &Theme,
    cx: &App,
) -> AnyElement
where E: Styled + IntoElement + 'static,
Expand description

Breathes an element, for work that has nothing to report yet.

Opacity only. A breath that also moved or resized would shift the text beside it on every cycle, and the whole point of this one is that it is the quietest of the three.