pub struct PrepareProgress {
pub name: String,
pub current: usize,
pub total: usize,
pub phase: PreparePhase,
}Expand description
Progress information for a single asset being prepared.
Fields§
§name: StringName of the asset currently being processed.
current: usize1-based index of the current asset.
total: usizeTotal number of assets.
phase: PreparePhaseCurrent phase.
Trait Implementations§
Source§impl Clone for PrepareProgress
impl Clone for PrepareProgress
Source§fn clone(&self) -> PrepareProgress
fn clone(&self) -> PrepareProgress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PrepareProgress
impl RefUnwindSafe for PrepareProgress
impl Send for PrepareProgress
impl Sync for PrepareProgress
impl Unpin for PrepareProgress
impl UnsafeUnpin for PrepareProgress
impl UnwindSafe for PrepareProgress
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more