pub struct EditorModelWithCache<'a> {
pub asset_path_cache: &'a AssetPathCache,
pub editor_model: &'a mut EditorModel,
}
Fields§
§asset_path_cache: &'a AssetPathCache
§editor_model: &'a mut EditorModel
Trait Implementations§
Source§impl<'a> DynEditorModel for EditorModelWithCache<'a>
impl<'a> DynEditorModel for EditorModelWithCache<'a>
fn schema_set(&self) -> &SchemaSet
fn handle_import_complete( &mut self, asset_id: AssetId, asset_name: AssetName, asset_location: AssetLocation, default_asset: &SingleObject, replace_with_default_asset: bool, import_info: ImportInfo, canonical_path_references: &HashMap<CanonicalPathReference, AssetId>, _path_references: &HashMap<PathReferenceHash, CanonicalPathReference>, ) -> DataSetResult<()>
fn data_set(&self) -> &DataSet
fn is_path_node_or_root(&self, schema_record: &SchemaRecord) -> bool
fn asset_display_name_long(&self, asset_id: AssetId) -> String
Auto Trait Implementations§
impl<'a> Freeze for EditorModelWithCache<'a>
impl<'a> !RefUnwindSafe for EditorModelWithCache<'a>
impl<'a> !Send for EditorModelWithCache<'a>
impl<'a> !Sync for EditorModelWithCache<'a>
impl<'a> Unpin for EditorModelWithCache<'a>
impl<'a> !UnwindSafe for EditorModelWithCache<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more