Struct rin::ecs::ReadGuardRef[][src]

pub struct ReadGuardRef<'a, S> where
    S: 'a + ?Sized
{ /* fields omitted */ }

Implementations

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

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

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

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

Trait Implementations

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

type Target = S

The resulting type after dereferencing.

impl<'a, T> IntoIter for ReadGuardRef<'a, UniqueDenseVec<T>>[src]

type Iter = UniqueIntoIter<'a, T>

impl<'a, S, T> IntoIter for ReadGuardRef<'a, AutoChanged<S, T>> where
    ReadGuardRef<'a, S>: IntoIter
[src]

type Iter = <ReadGuardRef<'a, S> as IntoIter>::Iter

impl<'a, T> IntoIter for ReadGuardRef<'a, VecStorage<T>>[src]

type Iter = Iter<'a, T>

impl<'a, T> IntoIter for ReadGuardRef<'a, Forest<T>>[src]

type Iter = Iter<'a, T>

impl<'a, T> IntoIter for ReadGuardRef<'a, OneToNForest<T>>[src]

type Iter = Iter<'a, T>

impl<'a, S, T> IntoIter for ReadGuardRef<'a, Changed<S, T>> where
    ReadGuardRef<'a, S>: IntoIter
[src]

type Iter = <ReadGuardRef<'a, S> as IntoIter>::Iter

impl<'a, T> IntoIter for ReadGuardRef<'a, KeyedDenseVec<usize, T>>[src]

type Iter = DenseIter<'a, T>

impl<'a, T, G> IntoIter for ReadGuardRef<'a, _DenseOneToNVec<T, G>> where
    G: GroupExt
[src]

type Iter = OneToNDenseIter<'a, T, G>

impl<'a, T> IntoOrderedIter for ReadGuardRef<'a, Forest<T>>[src]

impl<'a, S, T> IntoOrderedIter for ReadGuardRef<'a, Changed<S, T>> where
    ReadGuardRef<'a, S>: IntoOrderedIter
[src]

Auto Trait Implementations

impl<'a, S> !RefUnwindSafe for ReadGuardRef<'a, S>

impl<'a, S> !Send for ReadGuardRef<'a, S>

impl<'a, S> !Sync for ReadGuardRef<'a, S>

impl<'a, S: ?Sized> Unpin for ReadGuardRef<'a, S>

impl<'a, S> !UnwindSafe for ReadGuardRef<'a, S>

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> IntoHierarchicalIter<'a, T> for I where
    T: 'a + Debug,
    I: IntoOrderedIter<OrderedIter = ForestHierarchicalIter<'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]