pub trait VarPresentOpt<D: VarValue> {
// Required method
fn present_opt(&self, wgt_fn: impl IntoVar<WidgetFn<D>>) -> UiNode;
}Expand description
Extension method to convert a variable to a node.
Required Methods§
Sourcefn present_opt(&self, wgt_fn: impl IntoVar<WidgetFn<D>>) -> UiNode
fn present_opt(&self, wgt_fn: impl IntoVar<WidgetFn<D>>) -> UiNode
Present the variable data using a presenter_opt node.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.