Skip to main content

ModelEntry

Trait ModelEntry 

Source
pub trait ModelEntry {
    // Required methods
    fn allocation(&self) -> &Allocation;
    fn lod_model(&self, lod: usize) -> Option<SubModel<'_, TerrainVertex>>;
    fn atlas_textures(&self) -> &AtlasTextures<Locals, FigureSpriteAtlasData>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§