Skip to main content

IndicatorExt

Trait IndicatorExt 

Source
pub trait IndicatorExt {
    // Required method
    fn with_indicator(
        self,
        ui: &mut Ui,
        indicator: Indicator,
        anchor: Anchor,
    ) -> Response;
}
Expand description

Indicators on a widget’s response.

Required Methods§

Source

fn with_indicator( self, ui: &mut Ui, indicator: Indicator, anchor: Anchor, ) -> Response

Paints an indicator on this widget (Indicator::on) and returns the widget’s response.

Implementations on Foreign Types§

Source§

impl IndicatorExt for Response

Source§

fn with_indicator( self, ui: &mut Ui, indicator: Indicator, anchor: Anchor, ) -> Response

Implementors§