pub struct AssetReloadRequested {
pub path: PathBuf,
}Expand description
Message fired when a watched asset file changes on disk. reload_changed_images reacts by stripping
LoadedImage / LoadedSvg / ImageLoadFailed / Enqueued from every entity whose ImageSource matches path
so the pipeline re-enqueues the load. The runtime installs that consumer only for a hot-reload session.
Fields§
§path: PathBufCanonicalized source path whose bytes-on-disk changed.
Trait Implementations§
Source§impl Clone for AssetReloadRequested
impl Clone for AssetReloadRequested
Source§fn clone(&self) -> AssetReloadRequested
fn clone(&self) -> AssetReloadRequested
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 moreSource§impl Debug for AssetReloadRequested
impl Debug for AssetReloadRequested
impl Message for AssetReloadRequested
Auto Trait Implementations§
impl Freeze for AssetReloadRequested
impl RefUnwindSafe for AssetReloadRequested
impl Send for AssetReloadRequested
impl Sync for AssetReloadRequested
impl Unpin for AssetReloadRequested
impl UnsafeUnpin for AssetReloadRequested
impl UnwindSafe for AssetReloadRequested
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.