[][src]Trait rendy_mesh::AsAttributes

pub trait AsAttributes where
    <Self::Iter as Iterator>::Item == Attribute
{ type Iter: Iterator; fn attributes(self) -> Self::Iter; }

Represent types that can be interpreted as list of vertex attributes.

Associated Types

type Iter: Iterator

The iterator type for retreived attributes

Loading content...

Required methods

fn attributes(self) -> Self::Iter

Retreive a list of vertex attributes with offsets relative to beginning of that list

Loading content...

Implementations on Foreign Types

impl<M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z> AsAttributes for (M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z) where
    M: AsAttributes,
    N: AsAttributes,
    O: AsAttributes,
    P: AsAttributes,
    Q: AsAttributes,
    R: AsAttributes,
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z> AsAttributes for (J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z) where
    J: AsAttributes,
    K: AsAttributes,
    L: AsAttributes,
    M: AsAttributes,
    N: AsAttributes,
    O: AsAttributes,
    P: AsAttributes,
    Q: AsAttributes,
    R: AsAttributes,
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z> AsAttributes for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z) where
    A: AsAttributes,
    B: AsAttributes,
    C: AsAttributes,
    D: AsAttributes,
    E: AsAttributes,
    F: AsAttributes,
    G: AsAttributes,
    H: AsAttributes,
    I: AsAttributes,
    J: AsAttributes,
    K: AsAttributes,
    L: AsAttributes,
    M: AsAttributes,
    N: AsAttributes,
    O: AsAttributes,
    P: AsAttributes,
    Q: AsAttributes,
    R: AsAttributes,
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<Y, Z> AsAttributes for (Y, Z) where
    Y: AsAttributes,
    Z: AsAttributes
[src]

impl<W, X, Y, Z> AsAttributes for (W, X, Y, Z) where
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<R, S, T, U, V, W, X, Y, Z> AsAttributes for (R, S, T, U, V, W, X, Y, Z) where
    R: AsAttributes,
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z> AsAttributes for (H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z) where
    H: AsAttributes,
    I: AsAttributes,
    J: AsAttributes,
    K: AsAttributes,
    L: AsAttributes,
    M: AsAttributes,
    N: AsAttributes,
    O: AsAttributes,
    P: AsAttributes,
    Q: AsAttributes,
    R: AsAttributes,
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<U, V, W, X, Y, Z> AsAttributes for (U, V, W, X, Y, Z) where
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<P, Q, R, S, T, U, V, W, X, Y, Z> AsAttributes for (P, Q, R, S, T, U, V, W, X, Y, Z) where
    P: AsAttributes,
    Q: AsAttributes,
    R: AsAttributes,
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<N> AsAttributes for Vec<(Format, N)> where
    N: Into<Cow<'static, str>>, 
[src]

type Iter = AttrGenIter<N, IntoIter<(Format, N)>>

impl<I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z> AsAttributes for (I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z) where
    I: AsAttributes,
    J: AsAttributes,
    K: AsAttributes,
    L: AsAttributes,
    M: AsAttributes,
    N: AsAttributes,
    O: AsAttributes,
    P: AsAttributes,
    Q: AsAttributes,
    R: AsAttributes,
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z> AsAttributes for (C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z) where
    C: AsAttributes,
    D: AsAttributes,
    E: AsAttributes,
    F: AsAttributes,
    G: AsAttributes,
    H: AsAttributes,
    I: AsAttributes,
    J: AsAttributes,
    K: AsAttributes,
    L: AsAttributes,
    M: AsAttributes,
    N: AsAttributes,
    O: AsAttributes,
    P: AsAttributes,
    Q: AsAttributes,
    R: AsAttributes,
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z> AsAttributes for (D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z) where
    D: AsAttributes,
    E: AsAttributes,
    F: AsAttributes,
    G: AsAttributes,
    H: AsAttributes,
    I: AsAttributes,
    J: AsAttributes,
    K: AsAttributes,
    L: AsAttributes,
    M: AsAttributes,
    N: AsAttributes,
    O: AsAttributes,
    P: AsAttributes,
    Q: AsAttributes,
    R: AsAttributes,
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<S, T, U, V, W, X, Y, Z> AsAttributes for (S, T, U, V, W, X, Y, Z) where
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl AsAttributes for Vec<Attribute>[src]

impl<Z> AsAttributes for (Z,) where
    Z: AsAttributes
[src]

impl<T, U, V, W, X, Y, Z> AsAttributes for (T, U, V, W, X, Y, Z) where
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z> AsAttributes for (G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z) where
    G: AsAttributes,
    H: AsAttributes,
    I: AsAttributes,
    J: AsAttributes,
    K: AsAttributes,
    L: AsAttributes,
    M: AsAttributes,
    N: AsAttributes,
    O: AsAttributes,
    P: AsAttributes,
    Q: AsAttributes,
    R: AsAttributes,
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z> AsAttributes for (L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z) where
    L: AsAttributes,
    M: AsAttributes,
    N: AsAttributes,
    O: AsAttributes,
    P: AsAttributes,
    Q: AsAttributes,
    R: AsAttributes,
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<N> AsAttributes for (Format, N) where
    N: Into<Cow<'static, str>>, 
[src]

type Iter = AttrGenIter<N, IntoIter<(Format, N)>>

impl<V, W, X, Y, Z> AsAttributes for (V, W, X, Y, Z) where
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z> AsAttributes for (F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z) where
    F: AsAttributes,
    G: AsAttributes,
    H: AsAttributes,
    I: AsAttributes,
    J: AsAttributes,
    K: AsAttributes,
    L: AsAttributes,
    M: AsAttributes,
    N: AsAttributes,
    O: AsAttributes,
    P: AsAttributes,
    Q: AsAttributes,
    R: AsAttributes,
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<N, O, P, Q, R, S, T, U, V, W, X, Y, Z> AsAttributes for (N, O, P, Q, R, S, T, U, V, W, X, Y, Z) where
    N: AsAttributes,
    O: AsAttributes,
    P: AsAttributes,
    Q: AsAttributes,
    R: AsAttributes,
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z> AsAttributes for (K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z) where
    K: AsAttributes,
    L: AsAttributes,
    M: AsAttributes,
    N: AsAttributes,
    O: AsAttributes,
    P: AsAttributes,
    Q: AsAttributes,
    R: AsAttributes,
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z> AsAttributes for (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z) where
    B: AsAttributes,
    C: AsAttributes,
    D: AsAttributes,
    E: AsAttributes,
    F: AsAttributes,
    G: AsAttributes,
    H: AsAttributes,
    I: AsAttributes,
    J: AsAttributes,
    K: AsAttributes,
    L: AsAttributes,
    M: AsAttributes,
    N: AsAttributes,
    O: AsAttributes,
    P: AsAttributes,
    Q: AsAttributes,
    R: AsAttributes,
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<Q, R, S, T, U, V, W, X, Y, Z> AsAttributes for (Q, R, S, T, U, V, W, X, Y, Z) where
    Q: AsAttributes,
    R: AsAttributes,
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<X, Y, Z> AsAttributes for (X, Y, Z) where
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl AsAttributes for ()[src]

impl<N> AsAttributes for Option<(Format, N)> where
    N: Into<Cow<'static, str>>, 
[src]

type Iter = AttrGenIter<N, IntoIter<(Format, N)>>

impl<O, P, Q, R, S, T, U, V, W, X, Y, Z> AsAttributes for (O, P, Q, R, S, T, U, V, W, X, Y, Z) where
    O: AsAttributes,
    P: AsAttributes,
    Q: AsAttributes,
    R: AsAttributes,
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

impl<E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z> AsAttributes for (E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z) where
    E: AsAttributes,
    F: AsAttributes,
    G: AsAttributes,
    H: AsAttributes,
    I: AsAttributes,
    J: AsAttributes,
    K: AsAttributes,
    L: AsAttributes,
    M: AsAttributes,
    N: AsAttributes,
    O: AsAttributes,
    P: AsAttributes,
    Q: AsAttributes,
    R: AsAttributes,
    S: AsAttributes,
    T: AsAttributes,
    U: AsAttributes,
    V: AsAttributes,
    W: AsAttributes,
    X: AsAttributes,
    Y: AsAttributes,
    Z: AsAttributes
[src]

type Iter = IntoIter<Attribute>

Loading content...

Implementors

Loading content...