pub struct AppBuilder<PB>where
PB: PipelineBuilder,{ /* private fields */ }
Implementations§
Source§impl<PB> AppBuilder<PB>where
PB: PipelineBuilder,
impl<PB> AppBuilder<PB>where
PB: PipelineBuilder,
pub fn new(pipeline_builder: PB) -> Self
pub fn pipeline_builder_mut(&mut self) -> &mut PB
pub fn install_bundle<ABI, D>( &mut self, installer: ABI, data: D, ) -> Result<(), PipelineBuilderError>
pub fn with_bundle<ABI, D>( self, installer: ABI, data: D, ) -> Result<Self, PipelineBuilderError>
pub fn install_resource<T>(&mut self, resource: T)
pub fn with_resource<T>(self, resource: T) -> Self
pub fn install_system_on_layer<AT: AccessType>( &mut self, name: &str, system: System, dependencies: &[&str], layer: PipelineLayer, lock_on_single_thread: bool, ) -> Result<(), PipelineBuilderError>
pub fn install_system<AT: AccessType>( &mut self, name: &str, system: System, dependencies: &[&str], ) -> Result<(), PipelineBuilderError>
pub fn install_system_on_single_thread<AT: AccessType>( &mut self, name: &str, system: System, dependencies: &[&str], ) -> Result<(), PipelineBuilderError>
pub fn with_system_on_layer<AT: AccessType>( self, name: &str, system: System, dependencies: &[&str], layer: PipelineLayer, lock_on_single_thread: bool, ) -> Result<Self, PipelineBuilderError>
pub fn with_system<AT: AccessType>( self, name: &str, system: System, dependencies: &[&str], ) -> Result<Self, PipelineBuilderError>
pub fn with_system_on_single_thread<AT: AccessType>( self, name: &str, system: System, dependencies: &[&str], ) -> Result<Self, PipelineBuilderError>
pub fn build<P, S, AL>(self, state: S, life_cycle: AL) -> Appwhere
P: PipelineEngine + Send + Sync + Default + 'static,
S: State + 'static,
AL: Into<AppLifeCycle>,
pub fn build_with_engine<P, S, AL>( self, engine: P, state: S, life_cycle: AL, ) -> App
pub fn build_empty<P, AL>(self, life_cycle: AL) -> App
pub fn build_empty_with_engine<P, AL>(self, engine: P, life_cycle: AL) -> App
Trait Implementations§
Source§impl<PB> Default for AppBuilder<PB>where
PB: PipelineBuilder + Default,
impl<PB> Default for AppBuilder<PB>where
PB: PipelineBuilder + Default,
Auto Trait Implementations§
impl<PB> Freeze for AppBuilder<PB>where
PB: Freeze,
impl<PB> !RefUnwindSafe for AppBuilder<PB>
impl<PB> Send for AppBuilder<PB>where
PB: Send,
impl<PB> Sync for AppBuilder<PB>where
PB: Sync,
impl<PB> Unpin for AppBuilder<PB>where
PB: Unpin,
impl<PB> !UnwindSafe for AppBuilder<PB>
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