pub trait Home: Source {
// Required method
fn get_home(&self) -> Result<HomeLayout>;
}Expand description
A source that provides a home layout.
Required Methods§
fn get_home(&self) -> Result<HomeLayout>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.