Struct oxygengine_core::ecs::PreparedQueryBorrow
source · pub struct PreparedQueryBorrow<'q, Q>where
Q: Query,{ /* private fields */ }
Expand description
Combined borrow of a PreparedQuery
and a World
Implementations§
source§impl<'q, Q> PreparedQueryBorrow<'q, Q>where
Q: Query,
impl<'q, Q> PreparedQueryBorrow<'q, Q>where Q: Query,
sourcepub fn iter<'i>(&'i mut self) -> PreparedQueryIter<'i, Q> ⓘ
pub fn iter<'i>(&'i mut self) -> PreparedQueryIter<'i, Q> ⓘ
Execute the prepared query
sourcepub fn view<'i>(&'i mut self) -> PreparedView<'i, Q>
pub fn view<'i>(&'i mut self) -> PreparedView<'i, Q>
Provides random access to the results of the prepared query
Trait Implementations§
Auto Trait Implementations§
impl<'q, Q> RefUnwindSafe for PreparedQueryBorrow<'q, Q>where <Q as Query>::Fetch: RefUnwindSafe, <<Q as Query>::Fetch as Fetch>::State: RefUnwindSafe,
impl<'q, Q> !Send for PreparedQueryBorrow<'q, Q>
impl<'q, Q> !Sync for PreparedQueryBorrow<'q, Q>
impl<'q, Q> Unpin for PreparedQueryBorrow<'q, Q>
impl<'q, Q> !UnwindSafe for PreparedQueryBorrow<'q, Q>
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