Trait AppPipelineExt

Source
pub trait AppPipelineExt {
    // Required method
    fn init_pipeline<P: Pipeline>(&mut self) -> &mut Self;
}
Available on crate feature reflect only.
Expand description

Extension trait that adds pipeline-related methods to Bevy’s App.

Required Methods§

Source

fn init_pipeline<P: Pipeline>(&mut self) -> &mut Self

Initialize a Pipeline, allowing it to be used with global save and load methods.

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 AppPipelineExt for App

Source§

fn init_pipeline<P: Pipeline>(&mut self) -> &mut Self

Implementors§