show_else
function · ferroui-view · v0.5.0
fn show_else<E: IntoElement, O: IntoElement>(when: impl Fn() -> bool + 'static, then: impl Fn() -> E + 'static, otherwise: impl Fn() -> O + 'static) -> crate::element::Element
The children of then while when is true, those of otherwise
otherwise.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.