IRecyclingDataTemplate
trait · ferroui-controls · v0.5.0
trait IRecyclingDataTemplate: IDataTemplate
An IDataTemplate that supports recycling existing elements.
Members
build_with_existing
fn build_with_existing(self: &Self, data: Option<&BoxedValue>, existing: Option<Ref<Control>>) -> Option<Ref<Control>>
Creates or recycles a control to display the specified data.
existing is an optional control that was previously created by this
template that may be recycled. The recycled control should be
returned unchanged; its data context is set by the caller.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.