pub trait SwitchIndicatorPresenter: PressableIndicatorPresenter {
// Required method
fn apply(
&self,
theme: Theme,
state: SwitchIndicatorVisualState,
colors: Option<LabeledControlColors>,
);
}Required Methods§
fn apply( &self, theme: Theme, state: SwitchIndicatorVisualState, colors: Option<LabeledControlColors>, )
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".