Struct rin::ecs::WriteGuardRef[][src]

pub struct WriteGuardRef<'a, S, C = ()> where
    S: 'a + ?Sized
{ /* fields omitted */ }

Implementations

impl<'a, S> WriteGuardRef<'a, S, ()> where
    S: 'a, 
[src]

pub fn new(guard: WriteGuard<'a, S>) -> WriteGuardRef<'a, S, ()>[src]

impl<'a, S> WriteGuardRef<'a, S, CacheGuard> where
    S: 'a, 
[src]

pub fn with_cache_guard<Cache>(
    guard: WriteGuard<'a, S>,
    entities_index_per_mask: &'a SkipMap<(Bitmask, TypeId), Vec<HiddenFastIndex, Global>>,
    component_mask: &'a U256
) -> WriteGuardRef<'a, S, Cache> where
    Cache: CacheConstructor, 
[src]

impl<'a, S, C> WriteGuardRef<'a, S, C> where
    S: 'a + ?Sized
[src]

pub fn map<F, SS>(
    guard: WriteGuardRef<'a, S, C>,
    mapf: F
) -> WriteGuardRef<'a, SS, C> where
    SS: ?Sized,
    F: Fn(&mut S) -> &mut SS, 
[src]

Trait Implementations

impl<'a, S, C> Deref for WriteGuardRef<'a, S, C> where
    S: 'a + ?Sized
[src]

type Target = S

The resulting type after dereferencing.

impl<'a, S, C> DerefMut for WriteGuardRef<'a, S, C> where
    S: 'a + ?Sized
[src]

impl<'a, S, T> IntoChangesIter<'a, T> for WriteGuardRef<'a, Changed<S, T>, ()> where
    S: Storage<'a, T>,
    WriteGuardRef<'a, S, ()>: IntoIdedIterMut,
    <WriteGuardRef<'a, S, ()> as IntoIdedIterMut>::IdedIterMut: Iterator,
    <<WriteGuardRef<'a, S, ()> as IntoIdedIterMut>::IdedIterMut as Iterator>::Item == (usize, <S as Storage<'a, T>>::GetMut)
[src]

type ChangesItem = <S as Storage<'a, T>>::GetMut

type RawSubStorage = S

type SubStorage = WriteGuardRef<'a, S, ()>

impl<'a, T> IntoIdedIterMut for WriteGuardRef<'a, KeyedDenseVec<usize, T>, ()>[src]

type IdedIterMut = DenseIdedIterMut<'a, T>

impl<'a, T> IntoIdedIterMut for WriteGuardRef<'a, VecStorage<T>, ()>[src]

type IdedIterMut = VecIdedIterMut<'a, T>

impl<'a, T> IntoIdedIterMut for WriteGuardRef<'a, Forest<T>, ()>[src]

type IdedIterMut = IdedIterMut<'a, T>

impl<'a, T> IntoIterMut for WriteGuardRef<'a, VecStorage<T>, ()>[src]

type IterMut = IterMut<'a, T>

impl<'a, S, T> IntoIterMut for WriteGuardRef<'a, Changed<S, T>, ()> where
    WriteGuardRef<'a, S, ()>: IntoIterMut
[src]

impl<'a, T, G> IntoIterMut for WriteGuardRef<'a, _DenseOneToNVec<T, G>, ()> where
    G: GroupExt
[src]

type IterMut = OneToNDenseIterMut<'a, T, G>

impl<'a, T> IntoIterMut for WriteGuardRef<'a, Forest<T>, ()>[src]

type IterMut = IterMut<'a, T>

impl<'a, S, T> IntoIterMut for WriteGuardRef<'a, AutoChanged<S, T>, ()> where
    WriteGuardRef<'a, S, ()>: IntoIterMut
[src]

impl<'a, T> IntoIterMut for WriteGuardRef<'a, UniqueDenseVec<T>, ()>[src]

type IterMut = UniqueIntoIterMut<'a, T>

impl<'a, T> IntoIterMut for WriteGuardRef<'a, OneToNForest<T>, ()>[src]

type IterMut = IterMut<'a, T>

impl<'a, T> IntoIterMut for WriteGuardRef<'a, KeyedDenseVec<usize, T>, ()>[src]

type IterMut = DenseIterMut<'a, T>

impl<'a, S, T> IntoOrderedChangesIter<'a, T> for WriteGuardRef<'a, Changed<S, T>, ()> where
    S: Storage<'a, T> + HierarchicalStorage<'a, T> + 'a,
    WriteGuardRef<'a, S, ()>: IntoOrderedIdedIterMut,
    <WriteGuardRef<'a, S, ()> as IntoOrderedIdedIterMut>::OrderedIdedIterMut: Iterator,
    <<WriteGuardRef<'a, S, ()> as IntoOrderedIdedIterMut>::OrderedIdedIterMut as Iterator>::Item == (usize, NodeRefMut<'a, T>)
[src]

type OrderedChangesItem = NodeRefMut<'a, T>

type RawSubStorage = S

type SubStorage = WriteGuardRef<'a, S, ()>

impl<'a, T> IntoOrderedIdedIterMut for WriteGuardRef<'a, Forest<T>, ()>[src]

impl<'a, S, T> IntoOrderedIterMut for WriteGuardRef<'a, Changed<S, T>, ()> where
    WriteGuardRef<'a, S, ()>: IntoOrderedIterMut
[src]

impl<'a, S, T> IntoOrderedIterMut for WriteGuardRef<'a, AutoChanged<S, T>, ()> where
    WriteGuardRef<'a, S, ()>: IntoOrderedIterMut
[src]

impl<'a, T> IntoOrderedIterMut for WriteGuardRef<'a, Forest<T>, ()>[src]

Auto Trait Implementations

impl<'a, S, C = ()> !RefUnwindSafe for WriteGuardRef<'a, S, C>

impl<'a, S, C = ()> !Send for WriteGuardRef<'a, S, C>

impl<'a, S, C = ()> !Sync for WriteGuardRef<'a, S, C>

impl<'a, S: ?Sized, C> Unpin for WriteGuardRef<'a, S, C> where
    C: Unpin

impl<'a, S, C = ()> !UnwindSafe for WriteGuardRef<'a, S, C>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<U, T> AsUniform<dyn Deref<Target = [[f32; 3]; 3]> + 'static> for U where
    T: AsUniform<[[f32; 3]; 3]>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = [[f32; 4]; 4]> + 'static> for U where
    T: AsUniform<[[f32; 4]; 4]>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = [f32; 2]> + 'static> for U where
    T: AsUniform<[f32; 2]>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = [f32; 3]> + 'static> for U where
    T: AsUniform<[f32; 3]>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = [f32; 4]> + 'static> for U where
    T: AsUniform<dyn AsRef<[f32; 4]> + 'static>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = [i32; 2]> + 'static> for U where
    T: AsUniform<[i32; 2]>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = [i32; 3]> + 'static> for U where
    T: AsUniform<[i32; 3]>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = [i32; 4]> + 'static> for U where
    T: AsUniform<dyn AsRef<[i32; 4]> + 'static>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = [u32; 2]> + 'static> for U where
    T: AsUniform<[u32; 2]>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = [u32; 3]> + 'static> for U where
    T: AsUniform<[u32; 3]>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = [u32; 4]> + 'static> for U where
    T: AsUniform<dyn AsRef<[u32; 4]> + 'static>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[[f32; 3]; 3]> + 'static> + 'static> for U where
    T: AsUniform<dyn AsRef<[[f32; 3]; 3]> + 'static>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[[f32; 4]; 4]> + 'static> + 'static> for U where
    T: AsUniform<dyn AsRef<[[f32; 4]; 4]> + 'static>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[f32; 2]> + 'static> + 'static> for U where
    T: AsUniform<dyn AsRef<[f32; 2]> + 'static>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[f32; 3]> + 'static> + 'static> for U where
    T: AsUniform<dyn AsRef<[f32; 3]> + 'static>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[i32; 2]> + 'static> + 'static> for U where
    T: AsUniform<dyn AsRef<[i32; 2]> + 'static>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[i32; 3]> + 'static> + 'static> for U where
    T: AsUniform<dyn AsRef<[i32; 3]> + 'static>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[u32; 2]> + 'static> + 'static> for U where
    T: AsUniform<dyn AsRef<[u32; 2]> + 'static>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[u32; 3]> + 'static> + 'static> for U where
    T: AsUniform<dyn AsRef<[u32; 3]> + 'static>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<f32> + 'static> + 'static> for U where
    T: AsUniform<dyn AsRef<f32> + 'static>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<i32> + 'static> + 'static> for U where
    T: AsUniform<dyn AsRef<i32> + 'static>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<u32> + 'static> + 'static> for U where
    T: AsUniform<dyn AsRef<u32> + 'static>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = i32> + 'static> for U where
    T: AsUniform<i32>,
    U: Deref<Target = T>, 
[src]

impl<U, T> AsUniform<dyn Deref<Target = u32> + 'static> for U where
    T: AsUniform<u32>,
    U: Deref<Target = T>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T, I> IntoHierarchicalIterMut<'a, T> for I where
    T: 'a + Debug,
    I: IntoOrderedIterMut<OrderedIterMut = ForestHierarchicalIterMut<'a, T>>, 
[src]

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]