pub struct AssetEngine { /* private fields */ }
Implementations§
Source§impl AssetEngine
impl AssetEngine
pub fn new( schema_set: &SchemaSet, registries: AssetPluginRegistries, editor_model: &dyn DynEditorModel, project_configuration: &HydrateProjectConfiguration, ) -> Self
pub fn current_task_log_data(&self) -> LogDataRef<'_>
pub fn thumbnail_provider_registry(&self) -> &ThumbnailProviderRegistry
pub fn importer_registry(&self) -> &ImporterRegistry
pub fn update( &mut self, editor_model: &mut dyn DynEditorModel, ) -> PipelineResult<AssetEngineState>
pub fn thumbnail_system_state(&self) -> &ThumbnailSystemState
pub fn importers_for_file_extension(&self, extension: &str) -> &[ImporterId]
pub fn importer(&self, importer_id: ImporterId) -> Option<&Arc<dyn Importer>>
pub fn builder_for_asset( &self, fingerprint: SchemaFingerprint, ) -> Option<&Box<dyn Builder>>
pub fn queue_import_operation(&mut self, import_job_to_queue: ImportJobToQueue)
pub fn queue_build_asset(&mut self, asset_id: AssetId)
pub fn needs_build(&self) -> bool
pub fn queue_build_all(&mut self)
pub fn duplicate_import_data( &self, old_asset_id: AssetId, new_asset_id: AssetId, ) -> PipelineResult<()>
Auto Trait Implementations§
impl Freeze for AssetEngine
impl !RefUnwindSafe for AssetEngine
impl !Send for AssetEngine
impl !Sync for AssetEngine
impl Unpin for AssetEngine
impl !UnwindSafe for AssetEngine
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