FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IControlTemplate

    trait · ferroui-controls · v0.5.0

    trait IControlTemplate: ITemplateWithParam<ferroui_base::Ref<crate::primitives::TemplatedControl>, Option<super::TemplateResult<ferroui_base::Ref<crate::Control>>>>
    

    Interface representing a template used to build a control for a lookless control.

    View source

    Members

    as_any

    fn as_any(self: &Self) -> Option<&dyn std::any::Any>
    

    The template as its concrete type (as_any()?.downcast_ref::<T>()): the equivalent of is/as on the contract. None unless the implementation provides it.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.