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
sourceimpl<'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. Read more
sourcefn 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.
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more