Enum bevy_asset::AssetEvent [−][src]
pub enum AssetEvent<T: Asset> {
Created {
handle: Handle<T>,
},
Modified {
handle: Handle<T>,
},
Removed {
handle: Handle<T>,
},
}
Expand description
Events that happen on assets of type T
Events sent via the Assets struct will always be sent with a Weak handle
Variants
Created
Fields
handle: Handle<T>
Modified
Fields
handle: Handle<T>
Removed
Fields
handle: Handle<T>
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for AssetEvent<T>
impl<T> Send for AssetEvent<T>
impl<T> Sync for AssetEvent<T>
impl<T> Unpin for AssetEvent<T>
impl<T> UnwindSafe for AssetEvent<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more