Trait EvaluatableAssetExt

Source
pub trait EvaluatableAssetExt {
    // Required method
    fn to_evaluatable(
        self: Vc<Self>,
        asset_context: Vc<Box<dyn AssetContext>>,
    ) -> Vc<Box<dyn EvaluatableAsset>>;
}

Required Methods§

Source

fn to_evaluatable( self: Vc<Self>, asset_context: Vc<Box<dyn AssetContext>>, ) -> Vc<Box<dyn EvaluatableAsset>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> EvaluatableAssetExt for T
where T: Upcast<Box<dyn Source>>,