[−][src]Struct shine_ecs::entities::ds::ReadComponents
Grant immutable access to the components inside a System
Methods from Deref<Target = ComponentStore<C>>
pub fn count(&self) -> usize
[src]
pub fn contains(&self, edge: Edge) -> bool
[src]
pub fn get(
&self,
edge: Edge
) -> Option<&<<T as Component>::Store as Store>::Item>
[src]
&self,
edge: Edge
) -> Option<&<<T as Component>::Store as Store>::Item>
pub fn read(
&self
) -> WrapRowRead<<T as Component>::Mask, <T as Component>::Store>
[src]
&self
) -> WrapRowRead<<T as Component>::Mask, <T as Component>::Store>
Trait Implementations
impl<'a, C> Deref for ReadComponents<'a, C> where
C: Component,
[src]
C: Component,
type Target = ComponentStore<C>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl<'a, C> SystemData<'a> for ReadComponents<'a, C> where
C: Component,
[src]
C: Component,
Auto Trait Implementations
impl<'a, C> Send for ReadComponents<'a, C> where
<C as Component>::Mask: Sync,
<C as Component>::Store: Sync,
<C as Component>::Mask: Sync,
<C as Component>::Store: Sync,
impl<'a, C> Sync for ReadComponents<'a, C> where
<C as Component>::Mask: Sync,
<C as Component>::Store: Sync,
<C as Component>::Mask: Sync,
<C as Component>::Store: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom 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 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 for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut 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> Any for T where
T: Any,
T: Any,
fn get_type_id(&self) -> TypeId
impl<T> Resource for T where
T: Any + Send + Sync,
[src]
T: Any + Send + Sync,
impl<'a, T> DynamicSystemData for T where
T: SystemData<'a>,
[src]
T: SystemData<'a>,
type Accessor = StaticAccessor<T>
The accessor of the SystemData
, which specifies the read and write dependencies and does the fetching. Read more