Skip to main content

VarPresentList

Trait VarPresentList 

Source
pub trait VarPresentList<D>
where 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".

Implementors§

Source§

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