[−][src]Trait goods::SyncAsset
Shortcut for implementing Asset
when asset building is synchronous.
Associated Types
type Error: Error + Send + Sync + 'static
Error that may occur during asset building.
type Context
Asset processing context. Instance of context is required to convert asset intermediate representation into asset instance.
type Repr: Send
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>
Build asset instance from intermediate representation using provided context.
Implementors
impl<S> SyncAsset for S where
S: SimpleAsset,
[src]
S: SimpleAsset,