Skip to main content

TriggerLoad

Trait TriggerLoad 

Source
pub trait TriggerLoad {
    // Required method
    fn trigger_load(self, event: impl LoadEvent);
}
Expand description

A trait used to trigger a LoadEvent via Commands or World.

Required Methods§

Source

fn trigger_load(self, event: impl LoadEvent)

Triggers the given LoadEvent.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TriggerLoad for &mut Commands<'_, '_>

Source§

fn trigger_load(self, event: impl LoadEvent)

Source§

impl TriggerLoad for &mut World

Source§

fn trigger_load(self, event: impl LoadEvent)

Implementors§