pub struct Entries<'a, 'b: 'a, T: 'a, D: 'a>(_);
Expand description
Join
-able structure that yields all indices, returning Entry
for all
elements
Trait Implementations
sourceimpl<'a, 'b: 'a, T: 'a, D: 'a> Join for Entries<'a, 'b, T, D> where
T: Component,
D: Deref<Target = MaskedStorage<T>>,
impl<'a, 'b: 'a, T: 'a, D: 'a> Join for Entries<'a, 'b, T, D> where
T: Component,
D: Deref<Target = MaskedStorage<T>>,
type Type = StorageEntry<'a, 'b, T, D>
type Type = StorageEntry<'a, 'b, T, D>
Type of joined components.
sourceunsafe fn open(self) -> (Self::Mask, Self::Value)
unsafe fn open(self) -> (Self::Mask, Self::Value)
Open this join by returning the mask and the storages. Read more
sourceunsafe fn get(value: &mut Self::Value, id: Index) -> Self::Type
unsafe fn get(value: &mut Self::Value, id: Index) -> Self::Type
Get a joined component value by a given index. Read more
sourcefn is_unconstrained() -> bool
fn is_unconstrained() -> bool
If this Join
typically returns all indices in the mask, then iterating
over only it or combined with other joins that are also dangerous
will cause the JoinIter
/ParJoin
to go through all indices which
is usually not what is wanted and will kill performance. Read more
Auto Trait Implementations
impl<'a, 'b, T, D> !RefUnwindSafe for Entries<'a, 'b, T, D>
impl<'a, 'b, T, D> Send for Entries<'a, 'b, T, D> where
D: Send,
T: Send,
impl<'a, 'b, T, D> Sync for Entries<'a, 'b, T, D> where
D: Sync,
T: Sync,
impl<'a, 'b, T, D> Unpin for Entries<'a, 'b, T, D> where
'b: 'a,
impl<'a, 'b, T, D> !UnwindSafe for Entries<'a, 'b, T, D>
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