Trait goods::SyncAsset [−][src]
Shortcut for implementing Asset
when asset building is synchronous.
Associated Types
type Error: Error + Send + Sync
[src]
Error that may occur during asset building.
type Context
[src]
Asset processing context. Instance of context is required to convert asset intermediate representation into asset instance.
type Repr
[src]
Intermediate representation type for the asset.
This representation is constructed by Format::decode
.
Required methods
fn build(repr: Self::Repr, ctx: &mut Self::Context) -> Result<Self, Self::Error>
[src]
Build asset instance from intermediate representation using provided context.
Implementors
impl<S> SyncAsset for S where
S: SimpleAsset,
[src]
S: SimpleAsset,