pub trait AssetTearSheetManager<AssetKey> {
// Required methods
fn asset(&self, key: &AssetKey) -> &TearSheetAssetGenerator;
fn asset_mut(&mut self, key: &AssetKey) -> &mut TearSheetAssetGenerator;
}Required Methods§
fn asset(&self, key: &AssetKey) -> &TearSheetAssetGenerator
fn asset_mut(&mut self, key: &AssetKey) -> &mut TearSheetAssetGenerator
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".