pub trait DropdownOptionRowPresenter {
// Required methods
fn root(&self) -> FlexBox;
fn label_node(&self) -> TextNode;
fn metrics(&self) -> DropdownOptionRowMetrics;
fn apply(
&self,
theme: Theme,
state: DropdownOptionRowVisualState,
colors: Option<DropdownColors>,
);
}Required Methods§
fn root(&self) -> FlexBox
fn label_node(&self) -> TextNode
fn metrics(&self) -> DropdownOptionRowMetrics
fn apply( &self, theme: Theme, state: DropdownOptionRowVisualState, colors: Option<DropdownColors>, )
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".