[][src]Trait amethyst_rendy::shape::FromShape

pub trait FromShape {
    fn from(shape: &InternalShape) -> Self;
}

Trait for providing conversion from a basic shape type.

Required methods

fn from(shape: &InternalShape) -> Self

Convert from a shape to Self type.

Loading content...

Implementations on Foreign Types

impl<T: FromInternalVertex> FromShape for Vec<T>[src]

impl<A> FromShape for (A,) where
    A: FromShape
[src]

impl<A, B> FromShape for (A, B) where
    A: FromShape,
    B: FromShape
[src]

impl<A, B, C> FromShape for (A, B, C) where
    A: FromShape,
    B: FromShape,
    C: FromShape
[src]

impl<A, B, C, D> FromShape for (A, B, C, D) where
    A: FromShape,
    B: FromShape,
    C: FromShape,
    D: FromShape
[src]

impl<A, B, C, D, E> FromShape for (A, B, C, D, E) where
    A: FromShape,
    B: FromShape,
    C: FromShape,
    D: FromShape,
    E: FromShape
[src]

impl<A, B, C, D, E, F> FromShape for (A, B, C, D, E, F) where
    A: FromShape,
    B: FromShape,
    C: FromShape,
    D: FromShape,
    E: FromShape,
    F: FromShape
[src]

impl<A, B, C, D, E, F, G> FromShape for (A, B, C, D, E, F, G) where
    A: FromShape,
    B: FromShape,
    C: FromShape,
    D: FromShape,
    E: FromShape,
    F: FromShape,
    G: FromShape
[src]

impl<A, B, C, D, E, F, G, H> FromShape for (A, B, C, D, E, F, G, H) where
    A: FromShape,
    B: FromShape,
    C: FromShape,
    D: FromShape,
    E: FromShape,
    F: FromShape,
    G: FromShape,
    H: FromShape
[src]

impl<A, B, C, D, E, F, G, H, I> FromShape for (A, B, C, D, E, F, G, H, I) where
    A: FromShape,
    B: FromShape,
    C: FromShape,
    D: FromShape,
    E: FromShape,
    F: FromShape,
    G: FromShape,
    H: FromShape,
    I: FromShape
[src]

impl<A, B, C, D, E, F, G, H, I, J> FromShape for (A, B, C, D, E, F, G, H, I, J) where
    A: FromShape,
    B: FromShape,
    C: FromShape,
    D: FromShape,
    E: FromShape,
    F: FromShape,
    G: FromShape,
    H: FromShape,
    I: FromShape,
    J: FromShape
[src]

impl<A, B, C, D, E, F, G, H, I, J, K> FromShape for (A, B, C, D, E, F, G, H, I, J, K) where
    A: FromShape,
    B: FromShape,
    C: FromShape,
    D: FromShape,
    E: FromShape,
    F: FromShape,
    G: FromShape,
    H: FromShape,
    I: FromShape,
    J: FromShape,
    K: FromShape
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L> FromShape for (A, B, C, D, E, F, G, H, I, J, K, L) where
    A: FromShape,
    B: FromShape,
    C: FromShape,
    D: FromShape,
    E: FromShape,
    F: FromShape,
    G: FromShape,
    H: FromShape,
    I: FromShape,
    J: FromShape,
    K: FromShape,
    L: FromShape
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M> FromShape for (A, B, C, D, E, F, G, H, I, J, K, L, M) where
    A: FromShape,
    B: FromShape,
    C: FromShape,
    D: FromShape,
    E: FromShape,
    F: FromShape,
    G: FromShape,
    H: FromShape,
    I: FromShape,
    J: FromShape,
    K: FromShape,
    L: FromShape,
    M: FromShape
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> FromShape for (A, B, C, D, E, F, G, H, I, J, K, L, M, N) where
    A: FromShape,
    B: FromShape,
    C: FromShape,
    D: FromShape,
    E: FromShape,
    F: FromShape,
    G: FromShape,
    H: FromShape,
    I: FromShape,
    J: FromShape,
    K: FromShape,
    L: FromShape,
    M: FromShape,
    N: FromShape
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> FromShape for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O) where
    A: FromShape,
    B: FromShape,
    C: FromShape,
    D: FromShape,
    E: FromShape,
    F: FromShape,
    G: FromShape,
    H: FromShape,
    I: FromShape,
    J: FromShape,
    K: FromShape,
    L: FromShape,
    M: FromShape,
    N: FromShape,
    O: FromShape
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> FromShape for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) where
    A: FromShape,
    B: FromShape,
    C: FromShape,
    D: FromShape,
    E: FromShape,
    F: FromShape,
    G: FromShape,
    H: FromShape,
    I: FromShape,
    J: FromShape,
    K: FromShape,
    L: FromShape,
    M: FromShape,
    N: FromShape,
    O: FromShape,
    P: FromShape
[src]

Loading content...

Implementors

Loading content...