Skip to main content

UserInterfaceResourceExtension

Trait UserInterfaceResourceExtension 

Source
pub trait UserInterfaceResourceExtension {
    // Required method
    fn instantiate(
        &self,
        ui: &mut UserInterface,
    ) -> (Handle<UiNode>, NodeHandleMap<UiNode>);
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl UserInterfaceResourceExtension for Resource<UserInterface>

Implementors§