Struct specs::BatchUncheckedWorld
source · 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 World
Trait Implementations§
source§impl<'a> DynamicSystemData<'a> for BatchUncheckedWorld<'a>
impl<'a> DynamicSystemData<'a> for BatchUncheckedWorld<'a>
§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> !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