Struct oxygengine_core::ecs::pipeline::PreparedQueryBorrow
source · [−]pub struct PreparedQueryBorrow<'q, Q> where
Q: Query, { /* private fields */ }Expand description
Combined borrow of a PreparedQuery and a World
Implementations
sourceimpl<'q, Q> PreparedQueryBorrow<'q, Q> where
Q: Query,
impl<'q, Q> PreparedQueryBorrow<'q, Q> where
Q: Query,
sourcepub fn iter(&'i mut self) -> PreparedQueryIter<'i, Q>ⓘNotable traits for PreparedQueryIter<'q, Q>impl<'q, Q> Iterator for PreparedQueryIter<'q, Q> where
Q: Query, type Item = (Entity, <<Q as Query>::Fetch as Fetch<'q>>::Item);
pub fn iter(&'i mut self) -> PreparedQueryIter<'i, Q>ⓘNotable traits for PreparedQueryIter<'q, Q>impl<'q, Q> Iterator for PreparedQueryIter<'q, Q> where
Q: Query, type Item = (Entity, <<Q as Query>::Fetch as Fetch<'q>>::Item);
Q: Query, type Item = (Entity, <<Q as Query>::Fetch as Fetch<'q>>::Item);
Execute the prepared query
Trait Implementations
Auto Trait Implementations
impl<'q, Q> RefUnwindSafe for PreparedQueryBorrow<'q, Q> where
<<Q as Query>::Fetch as Fetch<'static>>::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> where
<<Q as Query>::Fetch as Fetch<'static>>::State: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more