[−][src]Struct specs::storage::Entries
Join
-able structure that yields all indices, returning Entry
for all
elements
Trait Implementations
impl<'a, 'b: 'a, T: 'a, D: 'a> Join for Entries<'a, 'b, T, D> where
T: Component,
D: Deref<Target = MaskedStorage<T>>,
[src]
T: Component,
D: Deref<Target = MaskedStorage<T>>,
type Mask = BitSetAll
Type of joined bit mask.
type Type = StorageEntry<'a, 'b, T, D>
Type of joined components.
type Value = &'a mut Storage<'b, T, D>
Type of joined storages.
unsafe fn open(self) -> (Self::Mask, Self::Value)
[src]
unsafe fn get(value: &mut Self::Value, id: Index) -> Self::Type
[src]
fn is_unconstrained() -> bool
[src]
ⓘImportant traits for JoinIter<J>fn join(self) -> JoinIter<Self> where
Self: Sized,
[src]
ⓘImportant traits for JoinIter<J>
Self: Sized,
Create a joined iterator over the contents.
fn maybe(self) -> MaybeJoin<Self> where
Self: Sized,
[src]
Self: Sized,
Returns a Join
-able structure that yields all indices, returning None
for all missing elements and Some(T)
for found elements. Read more
Auto Trait Implementations
impl<'a, 'b, T, D> Unpin for Entries<'a, 'b, T, D> where
'b: 'a,
'b: 'a,
impl<'a, 'b, T, D> Sync for Entries<'a, 'b, T, D> where
D: Sync,
T: Sync,
D: Sync,
T: Sync,
impl<'a, 'b, T, D> Send for Entries<'a, 'b, T, D> where
D: Send,
T: Send,
D: Send,
T: Send,
impl<'a, 'b, T, D> !UnwindSafe for Entries<'a, 'b, T, D>
impl<'a, 'b, T, D> !RefUnwindSafe for Entries<'a, 'b, T, D>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Resource for T where
T: Any + Send + Sync,
[src]
T: Any + Send + Sync,
impl<T> Any for T where
T: Any,
[src]
T: Any,
fn get_type_id(&self) -> TypeId
[src]
impl<T> Event for T where
T: Send + Sync + 'static,
[src]
T: Send + Sync + 'static,