Skip to main content

AssetSource

Trait AssetSource 

Source
pub trait AssetSource: 'static {
    type Processed: 'static;
}
Expand description

Declares what a CPU-side asset type turns into once uploaded. Usually implemented together with Asset<B> — see the asset! macro for the terser way to write both at once.

Required Associated Types§

Source

type Processed: 'static

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§