Trait CommandsSaveableExt

Source
pub trait CommandsSaveableExt {
    // Required methods
    fn save<P: Pipeline + Send + 'static>(&mut self, pipeline: P);
    fn load<P: Pipeline + Send + 'static>(&mut self, pipeline: P);
}
Expand description

Extension trait that adds save-related methods to Bevy’s Commands.

Required Methods§

Source

fn save<P: Pipeline + Send + 'static>(&mut self, pipeline: P)

Save using the Pipeline.

Source

fn load<P: Pipeline + Send + 'static>(&mut self, pipeline: P)

Load using the Pipeline.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl CommandsSaveableExt for Commands<'_, '_>

Source§

fn save<P: Pipeline + Send + 'static>(&mut self, pipeline: P)

Source§

fn load<P: Pipeline + Send + 'static>(&mut self, pipeline: P)

Implementors§