Trait distill_importer::ImporterContextHandle[][src]

pub trait ImporterContextHandle: Send + Sync {
    pub fn scope(
        &'a self,
        fut: Pin<Box<dyn Future<Output = ()> + 'a + Send, Global>>
    ) -> Pin<Box<dyn Future<Output = ()> + 'a + Send, Global>>;
pub fn begin_serialize_asset(&mut self, asset: AssetUuid);
pub fn end_serialize_asset(
        &mut self,
        asset: AssetUuid
    ) -> HashSet<AssetRef, RandomState>;
pub fn resolve_ref(&mut self, asset_ref: &AssetRef, asset: AssetUuid); }

Required methods

pub fn scope(
    &'a self,
    fut: Pin<Box<dyn Future<Output = ()> + 'a + Send, Global>>
) -> Pin<Box<dyn Future<Output = ()> + 'a + Send, Global>>
[src]

pub fn begin_serialize_asset(&mut self, asset: AssetUuid)[src]

pub fn end_serialize_asset(
    &mut self,
    asset: AssetUuid
) -> HashSet<AssetRef, RandomState>
[src]

Returns any registered dependencies

pub fn resolve_ref(&mut self, asset_ref: &AssetRef, asset: AssetUuid)[src]

Resolves an AssetRef to a specific AssetUuid

Loading content...

Implementors

Loading content...