pub struct FileSystemIdBasedDataSource { /* private fields */ }
Implementations§
Source§impl FileSystemIdBasedDataSource
impl FileSystemIdBasedDataSource
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, ) -> Self
Trait Implementations§
Source§impl DataSource for FileSystemIdBasedDataSource
impl DataSource for FileSystemIdBasedDataSource
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 FileSystemIdBasedDataSource
impl RefUnwindSafe for FileSystemIdBasedDataSource
impl Send for FileSystemIdBasedDataSource
impl Sync for FileSystemIdBasedDataSource
impl Unpin for FileSystemIdBasedDataSource
impl UnwindSafe for FileSystemIdBasedDataSource
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