Skip to main content

loading_indicator

Function loading_indicator 

Source
pub fn loading_indicator(set: IconSet) -> Option<AnimatedIcon>
Expand description

Return the loading/spinner animation for the given icon set.

This is the animated-icon counterpart of load_icon().

§Dispatch

§Examples

// Result depends on enabled features and platform
let anim = native_theme::loading_indicator(native_theme::IconSet::Lucide);