FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FuncTemplateNameScopeExtensions

    trait · ferroui-controls · v0.5.0

    trait FuncTemplateNameScopeExtensions: Sized
    

    Registers a control built by a function template in the template's name scope.

    View source

    Members

    register_in_name_scope

    fn register_in_name_scope(self: Self, scope: &dyn INameScope) -> Self
    

    Registers the control in scope under its name and returns it.

    Panics if the control has no name.

    Source

    Trait implementations

    Availability

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