Skip to main content

VarPresentList

Trait VarPresentList 

Source
pub trait VarPresentList<D: VarValue> {
    // Required method
    fn present_list(&self, wgt_fn: impl IntoVar<WidgetFn<D>>) -> UiNode;
}
Expand description

Extension method fo convert a variable to a node list.

Required Methods§

Source

fn present_list(&self, wgt_fn: impl IntoVar<WidgetFn<D>>) -> UiNode

Present the variable data using a list_presenter node list.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<D: VarValue> VarPresentList<D> for Var<ObservableVec<D>>

Source§

fn present_list(&self, wgt_fn: impl IntoVar<WidgetFn<D>>) -> UiNode

Implementors§