ElementFactory
struct · ferroui-controls-repeater · v0.5.0
struct ElementFactory
Extensible factory base. Its base virtual methods report the same invalid abstract-method calls as the original; derived factories implement them.
Members
TYPEto_refget_element_corerecycle_element_coreconstructnewget_elementrecycle_elementas_element_factory
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ElementFactory>
Returns a strong reference to this object.
get_element_core
fn get_element_core(self: &Self, args: &ElementFactoryGetArgs) -> Result<Ref<Control>, ElementFactoryError>
recycle_element_core
fn recycle_element_core(self: &Self, args: &ElementFactoryRecycleArgs) -> Result<(), ElementFactoryError>
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
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_element_factory
fn as_element_factory(self: &Self) -> Rc<dyn IElementFactory>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeElementFactoryImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<ElementFactory>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplElementFactoryImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.