rendy_util::types::vertex

Trait AsAttributes

Source
pub trait AsAttributes {
    type Iter: Iterator<Item = Attribute>;

    // Required method
    fn attributes(self) -> Self::Iter;
}
Expand description

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

Required Associated Types§

Source

type Iter: Iterator<Item = Attribute>

The iterator type for retreived attributes

Required Methods§

Source

fn attributes(self) -> Self::Iter

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

Implementations on Foreign Types§

Source§

impl AsAttributes for ()

Source§

impl AsAttributes for Vec<Attribute>

Source§

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)

Source§

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)

Source§

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)

Source§

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)

Source§

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)

Source§

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)

Source§

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)

Source§

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)

Source§

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)

Source§

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)

Source§

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)

Source§

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)

Source§

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)

Source§

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)

Source§

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

Source§

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

Source§

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

Source§

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)

Source§

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)

Source§

impl<Q, R, S, T, U, V, W, X, Y, Z> AsAttributes for (Q, R, S, T, U, V, W, X, Y, Z)

Source§

impl<R, S, T, U, V, W, X, Y, Z> AsAttributes for (R, S, T, U, V, W, X, Y, Z)

Source§

impl<S, T, U, V, W, X, Y, Z> AsAttributes for (S, T, U, V, W, X, Y, Z)

Source§

impl<T, U, V, W, X, Y, Z> AsAttributes for (T, U, V, W, X, Y, Z)

Source§

impl<U, V, W, X, Y, Z> AsAttributes for (U, V, W, X, Y, Z)

Source§

impl<V, W, X, Y, Z> AsAttributes for (V, W, X, Y, Z)

Source§

impl<W, X, Y, Z> AsAttributes for (W, X, Y, Z)

Source§

impl<X, Y, Z> AsAttributes for (X, Y, Z)

Source§

impl<Y, Z> AsAttributes for (Y, Z)

Source§

impl<Z> AsAttributes for (Z,)
where Z: AsAttributes,

Implementors§