pub struct AssetReloadEpoch(pub u64);Expand description
Global epoch observed by asset-consuming code when logical assets should be reloaded.
This is intentionally generic: UI code, diagnostics, and future non-UI integrations should all observe the same invalidation token instead of inventing asset-class-specific reload globals.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl Clone for AssetReloadEpoch
impl Clone for AssetReloadEpoch
Source§fn clone(&self) -> AssetReloadEpoch
fn clone(&self) -> AssetReloadEpoch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AssetReloadEpoch
impl Debug for AssetReloadEpoch
Source§impl Default for AssetReloadEpoch
impl Default for AssetReloadEpoch
Source§fn default() -> AssetReloadEpoch
fn default() -> AssetReloadEpoch
Returns the “default value” for a type. Read more
Source§impl PartialEq for AssetReloadEpoch
impl PartialEq for AssetReloadEpoch
impl Copy for AssetReloadEpoch
impl Eq for AssetReloadEpoch
impl StructuralPartialEq for AssetReloadEpoch
Auto Trait Implementations§
impl Freeze for AssetReloadEpoch
impl RefUnwindSafe for AssetReloadEpoch
impl Send for AssetReloadEpoch
impl Sync for AssetReloadEpoch
impl Unpin for AssetReloadEpoch
impl UnsafeUnpin for AssetReloadEpoch
impl UnwindSafe for AssetReloadEpoch
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