pub trait SwitchIndicatorTemplate {
// Required method
fn create(
&self,
sizing: Option<LabeledControlSizing>,
) -> Rc<dyn SwitchIndicatorPresenter>;
}Required Methods§
fn create( &self, sizing: Option<LabeledControlSizing>, ) -> Rc<dyn SwitchIndicatorPresenter>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".