Struct hecs_schedule::QueryOne
source · [−]pub struct QueryOne<'a, Q: Query> { /* private fields */ }Expand description
Wraps the bulting QueryOne with a Result containing the entity and component instead of option
Implementations
Auto Trait Implementations
impl<'a, Q> RefUnwindSafe for QueryOne<'a, Q> where
Q: RefUnwindSafe,
impl<'a, Q> Send for QueryOne<'a, Q>
impl<'a, Q> Sync for QueryOne<'a, Q>
impl<'a, Q> Unpin for QueryOne<'a, Q> where
Q: Unpin,
impl<'a, Q> UnwindSafe for QueryOne<'a, Q> where
Q: UnwindSafe,
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