Struct amethyst_assets::ProgressCounter[][src]

pub struct ProgressCounter { /* fields omitted */ }

A progress tracker which is passed to the Loader in order to check how many assets are loaded.

Methods

impl ProgressCounter
[src]

Creates a new Progress struct.

Important traits for Vec<u8>

Removes all errors and returns them.

Returns the number of assets this struct is tracking.

Returns the number of assets that have failed.

Returns the number of assets that are still loading.

Returns the number of assets this struct is tracking.

Returns Completion::Complete if all tracked assets are finished.

Returns true if all assets have been imported without error.

Trait Implementations

impl Default for ProgressCounter
[src]

Returns the "default value" for a type. Read more

impl<'a> Progress for &'a mut ProgressCounter
[src]

The tracker this progress can create.

Add num assets to the progress. This should be done whenever a new asset is put in the queue. Read more

Creates a Tracker.

Auto Trait Implementations