Skip to main content

VarPresentListFromNode

Trait VarPresentListFromNode 

Source
pub trait VarPresentListFromNode<L: VarValue> {
    // Required method
    fn present_list_from_node(
        &self,
        list_fn: impl IntoVar<WidgetFn<L>>,
    ) -> UiNode;
}
Expand description

Extension method to convert a variable to a node list.

Required Methods§

Source

fn present_list_from_node(&self, list_fn: impl IntoVar<WidgetFn<L>>) -> UiNode

Present the variable data using a list_presenter_from_node 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<L: VarValue> VarPresentListFromNode<L> for Var<L>

Source§

fn present_list_from_node(&self, list_fn: impl IntoVar<WidgetFn<L>>) -> UiNode

Implementors§