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]

[src]

Creates a new Progress struct.

[src]

Removes all errors and returns them.

[src]

Returns the number of assets this struct is tracking.

[src]

Returns the number of assets that have failed.

[src]

Returns the number of assets that are still loading.

[src]

Returns the number of assets this struct is tracking.

[src]

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

[src]

Returns true if all assets have been imported without error.

Trait Implementations

impl Default for ProgressCounter
[src]

[src]

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

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

The tracker this progress can create.

[src]

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

[src]

Creates a Tracker.