pub struct AssetEvent {
pub handle: AssetHandle,
pub kind: AssetEventKind,
pub path: AssetPathStatic,
}Expand description
Represents an event related to an asset, combining a handle and an event kind.
Fields§
§handle: AssetHandleThe handle of the asset associated with this event.
kind: AssetEventKindThe kind of event that occurred.
path: AssetPathStaticThe path of the asset associated with this event.
Trait Implementations§
Source§impl Clone for AssetEvent
impl Clone for AssetEvent
Source§fn clone(&self) -> AssetEvent
fn clone(&self) -> AssetEvent
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 AssetEvent
impl Debug for AssetEvent
Source§impl Hash for AssetEvent
impl Hash for AssetEvent
Source§impl PartialEq for AssetEvent
impl PartialEq for AssetEvent
impl Eq for AssetEvent
impl StructuralPartialEq for AssetEvent
Auto Trait Implementations§
impl Freeze for AssetEvent
impl RefUnwindSafe for AssetEvent
impl Send for AssetEvent
impl Sync for AssetEvent
impl Unpin for AssetEvent
impl UnwindSafe for AssetEvent
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.