Skip to main content

DropdownOptionRowPresenter

Trait DropdownOptionRowPresenter 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§