Skip to main content

SpinnerExt

Trait SpinnerExt 

Source
pub trait SpinnerExt:
    IsA<Spinner>
    + Sealed
    + 'static {
    // Provided methods
    fn start(&self) { ... }
    fn stop(&self) { ... }
    fn is_active(&self) -> bool { ... }
    fn set_active(&self, active: bool) { ... }
    fn connect_active_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all Spinner methods.

§Implementors

Spinner

Provided Methods§

Source

fn start(&self)

Starts the animation of the spinner.

Source

fn stop(&self)

Stops the animation of the spinner.

Source

fn is_active(&self) -> bool

Source

fn set_active(&self, active: bool)

Source

fn connect_active_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§