IElementFactory
trait · ferroui-controls-repeater · v0.5.0
trait IElementFactory
Supplies and recycles the elements of an super::ItemsRepeater.
Members
get_element
fn get_element(self: &Self, args: &ElementFactoryGetArgs) -> Result<Ref<Control>, ElementFactoryError>
recycle_element
fn recycle_element(self: &Self, args: &ElementFactoryRecycleArgs) -> Result<(), ElementFactoryError>
as_object
fn as_object(self: &Self) -> Option<Ref<FerroObject>>
is_template_empty
fn is_template_empty(self: &Self, _data: Option<&BoxedValue>) -> bool
Direct data templates can declare that they produce no visual content. Factories and selectors determine their content per element instead.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.