pub struct FileSystemPathBasedDataSource { /* private fields */ }Implementations§
Source§impl FileSystemPathBasedDataSource
impl FileSystemPathBasedDataSource
pub fn asset_source_id(&self) -> AssetSourceId
pub fn new<RootPathT: Into<PathBuf>>( file_system_root_path: RootPathT, edit_context: &mut EditContext, asset_source_id: AssetSourceId, importer_registry: &ImporterRegistry, ) -> Self
Trait Implementations§
Source§impl DataSource for FileSystemPathBasedDataSource
impl DataSource for FileSystemPathBasedDataSource
fn is_generated_asset(&self, asset_id: AssetId) -> bool
fn persist_generated_asset( &mut self, edit_context: &mut EditContext, asset_id: AssetId, )
fn load_from_storage( &mut self, project_config: &HydrateProjectConfiguration, edit_context: &mut EditContext, import_job_to_queue: &mut ImportJobToQueue, )
fn flush_to_storage(&mut self, edit_context: &mut EditContext)
fn edit_context_has_unsaved_changes(&self, edit_context: &EditContext) -> bool
fn append_pending_file_operations( &self, edit_context: &EditContext, pending_file_operations: &mut PendingFileOperations, )
Auto Trait Implementations§
impl Freeze for FileSystemPathBasedDataSource
impl RefUnwindSafe for FileSystemPathBasedDataSource
impl Send for FileSystemPathBasedDataSource
impl Sync for FileSystemPathBasedDataSource
impl Unpin for FileSystemPathBasedDataSource
impl UnsafeUnpin for FileSystemPathBasedDataSource
impl UnwindSafe for FileSystemPathBasedDataSource
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