[−][src]Struct specs_bundler::Bundler
Fields
world: &'world mut World
dispatcher_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]
world: &'world mut World,
dispatcher_builder: DispatcherBuilder<'a, 'b>
) -> Self
pub fn bundle<B>(self, bundle: B) -> Result<Self, B::Error> where
B: Bundle<'world, 'a, 'b>,
[src]
B: Bundle<'world, 'a, 'b>,
pub fn with<T>(self, system: T, name: &str, dep: &[&str]) -> Self where
T: for<'c> System<'c> + Send + 'a,
[src]
T: for<'c> System<'c> + Send + 'a,
pub fn add<T>(&mut self, system: T, name: &str, dep: &[&str]) -> &mut Self where
T: for<'c> System<'c> + Send + 'a,
[src]
T: for<'c> System<'c> + Send + 'a,
pub fn with_thread_local<T>(self, system: T) -> Self where
T: for<'c> RunNow<'c> + 'b,
[src]
T: for<'c> RunNow<'c> + 'b,
pub fn add_thread_local<T>(&mut self, system: T) -> &mut Self where
T: for<'c> RunNow<'c> + 'b,
[src]
T: for<'c> RunNow<'c> + 'b,
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> !Sync for Bundler<'world, 'a, 'b>
impl<'world, 'a, 'b> !Send for Bundler<'world, 'a, 'b>
impl<'world, 'a, 'b> Unpin for Bundler<'world, 'a, 'b>
impl<'world, 'a, 'b> !RefUnwindSafe for Bundler<'world, 'a, 'b>
impl<'world, 'a, 'b> !UnwindSafe for Bundler<'world, 'a, 'b>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,