[][src]Struct specs_bundler::Bundler

pub struct Bundler<'world, 'a, 'b> {
    pub world: &'world mut World,
    pub dispatcher_builder: DispatcherBuilder<'a, 'b>,
}

Fields

world: &'world mut Worlddispatcher_builder: DispatcherBuilder<'a, 'b>

Methods

impl<'world, 'a, 'b> Bundler<'world, 'a, 'b>[src]

pub fn new(
    world: &'world mut World,
    dispatcher_builder: DispatcherBuilder<'a, 'b>
) -> Self
[src]

pub fn bundle<B>(self, bundle: B) -> Result<Self, B::Error> where
    B: Bundle<'world, 'a, 'b>, 
[src]

pub fn with<T>(self, system: T, name: &str, dep: &[&str]) -> Self where
    T: for<'c> System<'c> + Send + 'a, 
[src]

pub fn add<T>(&mut self, system: T, name: &str, dep: &[&str]) -> &mut Self where
    T: for<'c> System<'c> + Send + 'a, 
[src]

pub fn with_thread_local<T>(self, system: T) -> Self where
    T: for<'c> RunNow<'c> + 'b, 
[src]

pub fn add_thread_local<T>(&mut self, system: T) -> &mut Self where
    T: for<'c> RunNow<'c> + 'b, 
[src]

pub fn with_barrier(self) -> Self[src]

pub fn add_barrier(&mut self) -> &mut Self[src]

pub fn with_pool(self, pool: Arc<ThreadPool>) -> Self[src]

pub fn add_pool(&mut self, pool: Arc<ThreadPool>) -> &mut Self[src]

pub fn print_par_seq(&self)[src]

pub fn build(self) -> Dispatcher<'a, 'b>[src]

Auto Trait Implementations

impl<'world, 'a, 'b> !Send for Bundler<'world, 'a, 'b>

impl<'world, 'a, 'b> Unpin for Bundler<'world, 'a, 'b>

impl<'world, 'a, 'b> !Sync for Bundler<'world, 'a, 'b>

impl<'world, 'a, 'b> !UnwindSafe for Bundler<'world, 'a, 'b>

impl<'world, 'a, 'b> !RefUnwindSafe for Bundler<'world, 'a, 'b>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any