pub trait SliderPresenter {
// Required methods
fn root(&self) -> FlexBox;
fn metrics(&self) -> SliderPresenterMetrics;
fn layout(&self, state: SliderVisualState, length: f32);
fn apply(
&self,
theme: Theme,
state: SliderVisualState,
colors: Option<SliderColors>,
);
}Required Methods§
fn root(&self) -> FlexBox
fn metrics(&self) -> SliderPresenterMetrics
fn layout(&self, state: SliderVisualState, length: f32)
fn apply( &self, theme: Theme, state: SliderVisualState, colors: Option<SliderColors>, )
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".