pub trait Skyboxes:
Catalog
+ Clone
+ Debug
+ Eq
+ Hash {
// Required method
fn build(&self, assets: &Assets) -> SkyboxData;
}Expand description
Required Methods§
Sourcefn build(&self, assets: &Assets) -> SkyboxData
fn build(&self, assets: &Assets) -> SkyboxData
Builds this value’s sky, the first time a frame is drawn by it.
Must not read a file or the network; loaded data is in assets.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".