Skip to main content

FrameTemplate

Trait FrameTemplate 

Source
pub trait FrameTemplate {
    // Required method
    fn arrange(&self, parts: TemplateParts) -> AnyView;
}
Expand description

Arranges a window. Replacing it changes the whole look of an application, and nothing else.

Required Methods§

Source

fn arrange(&self, parts: TemplateParts) -> AnyView

Puts the pieces where they go.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§