Struct amethyst_assets::FormatValue [−][src]
The Ok return value of Format::import for a given asset type A.
Fields
data: A::Data
The format data.
reload: Option<Box<Reload<A>>>
An optional reload structure
Methods
impl<A: Asset> FormatValue<A>[src]
impl<A: Asset> FormatValue<A>pub fn data(data: A::Data) -> Self[src]
pub fn data(data: A::Data) -> SelfCreates a FormatValue from only the data (setting reload to None).
Auto Trait Implementations
impl<A> Send for FormatValue<A> where
<A as Asset>::Data: Send,
impl<A> Send for FormatValue<A> where
<A as Asset>::Data: Send, impl<A> Sync for FormatValue<A> where
<A as Asset>::Data: Sync,
impl<A> Sync for FormatValue<A> where
<A as Asset>::Data: Sync,