Trait amethyst_assets::Tracker
[−]
[src]
pub trait Tracker: Send + 'static { fn success(self: Box<Self>); fn fail(self: Box<Self>, e: Error); }
The Tracker
trait which will be used by the loader to report
back to Progress
.
Required Methods
fn success(self: Box<Self>)
Called if the asset could be imported.
fn fail(self: Box<Self>, e: Error)
Called if the asset couldn't be imported to an error.