Struct amethyst_assets::FormatValue [] [src]

pub struct FormatValue<A: Asset> {
    pub data: A::Data,
    pub reload: Option<Box<Reload<A>>>,
}

The Ok return value of Format::import for a given asset type A.

Fields

The format data.

An optional reload structure

Methods

impl<A: Asset> FormatValue<A>
[src]

[src]

Creates a FormatValue from only the data (setting reload to None).

Trait Implementations

Auto Trait Implementations

impl<A> Send for FormatValue<A> where
    <A as Asset>::Data: Send

impl<A> Sync for FormatValue<A> where
    <A as Asset>::Data: Sync