pub struct Entries<'a, 'b, T, D>(/* private fields */)
where
'b: 'a,
T: 'a,
D: 'a;Expand description
Join-able structure that yields all indices, returning Entry for all elements
Trait Implementations§
Source§impl<'a, 'b, T, D> Join for Entries<'a, 'b, T, D>
impl<'a, 'b, T, D> Join for Entries<'a, 'b, T, D>
Source§type Type = StorageEntry<'a, 'b, T, D>
type Type = StorageEntry<'a, 'b, T, D>
Type of joined components.
Source§unsafe fn open(
self,
) -> (<Entries<'a, 'b, T, D> as Join>::Mask, <Entries<'a, 'b, T, D> as Join>::Value)
unsafe fn open( self, ) -> (<Entries<'a, 'b, T, D> as Join>::Mask, <Entries<'a, 'b, T, D> as Join>::Value)
Open this join by returning the mask and the storages. Read more
Source§unsafe fn get(
value: &mut <Entries<'a, 'b, T, D> as Join>::Value,
id: u32,
) -> <Entries<'a, 'b, T, D> as Join>::Type
unsafe fn get( value: &mut <Entries<'a, 'b, T, D> as Join>::Value, id: u32, ) -> <Entries<'a, 'b, T, D> as Join>::Type
Get a joined component value by a given index.
Source§fn 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.Auto Trait Implementations§
impl<'a, 'b, T, D> Freeze for Entries<'a, 'b, T, D>
impl<'a, 'b, T, D> !RefUnwindSafe for Entries<'a, 'b, T, D>
impl<'a, 'b, T, D> Send for Entries<'a, 'b, T, D>
impl<'a, 'b, T, D> Sync for Entries<'a, 'b, T, D>
impl<'a, 'b, T, D> Unpin for Entries<'a, 'b, T, D>
impl<'a, 'b, T, D> !UnwindSafe for Entries<'a, 'b, T, D>
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