pub struct BatchUncheckedWorld<'a>(pub &'a World);Expand description
The BatchUncheckedWorld wraps an instance of the world.
You have to specify this as SystemData for a System implementing
BatchController.
Tuple Fields§
§0: &'a WorldTrait Implementations§
Source§impl<'a> DynamicSystemData<'a> for BatchUncheckedWorld<'a>
impl<'a> DynamicSystemData<'a> for BatchUncheckedWorld<'a>
Source§type Accessor = BatchAccessor
type Accessor = BatchAccessor
The accessor of the
SystemData, which specifies the read and write
dependencies and does the fetching.Source§fn setup(
_accessor: &<BatchUncheckedWorld<'a> as DynamicSystemData<'a>>::Accessor,
_world: &mut World,
)
fn setup( _accessor: &<BatchUncheckedWorld<'a> as DynamicSystemData<'a>>::Accessor, _world: &mut World, )
Sets up
World for fetching this system data.Source§fn fetch(
_access: &<BatchUncheckedWorld<'a> as DynamicSystemData<'a>>::Accessor,
world: &'a World,
) -> BatchUncheckedWorld<'a>
fn fetch( _access: &<BatchUncheckedWorld<'a> as DynamicSystemData<'a>>::Accessor, world: &'a World, ) -> BatchUncheckedWorld<'a>
Auto Trait Implementations§
impl<'a> Freeze for BatchUncheckedWorld<'a>
impl<'a> !RefUnwindSafe for BatchUncheckedWorld<'a>
impl<'a> Send for BatchUncheckedWorld<'a>
impl<'a> Sync for BatchUncheckedWorld<'a>
impl<'a> Unpin for BatchUncheckedWorld<'a>
impl<'a> !UnwindSafe for BatchUncheckedWorld<'a>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more