pub struct Selection {
pub entities: Vec<EntityId>,
}Expand description
A snapshot of entities selected by a Flow for the current tick.
Passed from Flow::select to Flow::adapt and Flow::project. The Flow
is free to attach its own per-domain payload by extending this struct, or
to keep it as just an entity list.
Fields§
§entities: Vec<EntityId>Entity IDs deemed relevant for this domain this tick.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Selection
impl RefUnwindSafe for Selection
impl Send for Selection
impl Sync for Selection
impl Unpin for Selection
impl UnsafeUnpin for Selection
impl UnwindSafe for Selection
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