[−]Struct acute_ecs::query::TryWrite
Writes a single entity data component type from a chunk, if it's present.
Trait Implementations
impl<T> Clone for TryWrite<T> where
T: Component,
T: Component,
fn clone(&self) -> TryWrite<T>
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Copy for TryWrite<T> where
T: Component,
T: Component,
impl<T> Debug for TryWrite<T> where
T: Component + Debug,
T: Component + Debug,
impl<T> Default for TryWrite<T> where
T: Component,
T: Component,
impl<'a, T> DefaultFilter for TryWrite<T> where
T: Component,
T: Component,
type Filter = EntityFilterTuple<Passthrough, Passthrough, Passthrough>
The type of entity filter constructed.
fn filter() -> <TryWrite<T> as DefaultFilter>::Filter
impl<'a, T> View<'a> for TryWrite<T> where
T: Component,
T: Component,
type Iter = TryRefIterMut<'a, T, IterMut<'a, T>>
The iterator over the chunk data.
fn fetch(
&'a ArchetypeData,
chunk: &'a ComponentStorage,
ChunkIndex,
SetIndex
) -> <TryWrite<T> as View<'a>>::Iter
&'a ArchetypeData,
chunk: &'a ComponentStorage,
ChunkIndex,
SetIndex
) -> <TryWrite<T> as View<'a>>::Iter
fn validate() -> bool
fn reads<D>() -> bool where
D: Component,
D: Component,
fn writes<D>() -> bool where
D: Component,
D: Component,
fn requires_permissions() -> Permissions<ComponentTypeId>
fn validate_access(access: &ComponentAccess<'_>) -> bool
Auto Trait Implementations
impl<T> RefUnwindSafe for TryWrite<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for TryWrite<T>
impl<T> Sync for TryWrite<T>
impl<T> Unpin for TryWrite<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for TryWrite<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> Component for T where
T: 'static + Send + Sync,
T: 'static + Send + Sync,
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoQuery for T where
T: for<'a> View<'a> + DefaultFilter,
T: for<'a> View<'a> + DefaultFilter,
fn query() -> Query<T, <T as DefaultFilter>::Filter>
impl<T> Resource for T where
T: 'static + Send + Sync,
T: 'static + Send + Sync,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,