[−][src]Trait amethyst_rendy::shape::FromShape
Trait for providing conversion from a basic shape type.
Required methods
fn from(shape: &InternalShape) -> Self
Convert from a shape to Self
type.
Implementations on Foreign Types
impl<T: FromInternalVertex> FromShape for Vec<T>
[src]
fn from(shape: &InternalShape) -> Self
[src]
impl<A> FromShape for (A,) where
A: FromShape,
[src]
A: FromShape,
fn from(shape: &InternalShape) -> Self
[src]
impl<A, B> FromShape for (A, B) where
A: FromShape,
B: FromShape,
[src]
A: FromShape,
B: FromShape,
fn from(shape: &InternalShape) -> Self
[src]
impl<A, B, C> FromShape for (A, B, C) where
A: FromShape,
B: FromShape,
C: FromShape,
[src]
A: FromShape,
B: FromShape,
C: FromShape,
fn from(shape: &InternalShape) -> Self
[src]
impl<A, B, C, D> FromShape for (A, B, C, D) where
A: FromShape,
B: FromShape,
C: FromShape,
D: FromShape,
[src]
A: FromShape,
B: FromShape,
C: FromShape,
D: FromShape,
fn from(shape: &InternalShape) -> Self
[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]
A: FromShape,
B: FromShape,
C: FromShape,
D: FromShape,
E: FromShape,
fn from(shape: &InternalShape) -> Self
[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]
A: FromShape,
B: FromShape,
C: FromShape,
D: FromShape,
E: FromShape,
F: FromShape,
fn from(shape: &InternalShape) -> Self
[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]
A: FromShape,
B: FromShape,
C: FromShape,
D: FromShape,
E: FromShape,
F: FromShape,
G: FromShape,
fn from(shape: &InternalShape) -> Self
[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]
A: FromShape,
B: FromShape,
C: FromShape,
D: FromShape,
E: FromShape,
F: FromShape,
G: FromShape,
H: FromShape,
fn from(shape: &InternalShape) -> Self
[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]
A: FromShape,
B: FromShape,
C: FromShape,
D: FromShape,
E: FromShape,
F: FromShape,
G: FromShape,
H: FromShape,
I: FromShape,
fn from(shape: &InternalShape) -> Self
[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]
A: FromShape,
B: FromShape,
C: FromShape,
D: FromShape,
E: FromShape,
F: FromShape,
G: FromShape,
H: FromShape,
I: FromShape,
J: FromShape,
fn from(shape: &InternalShape) -> Self
[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]
A: FromShape,
B: FromShape,
C: FromShape,
D: FromShape,
E: FromShape,
F: FromShape,
G: FromShape,
H: FromShape,
I: FromShape,
J: FromShape,
K: FromShape,
fn from(shape: &InternalShape) -> Self
[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]
A: FromShape,
B: FromShape,
C: FromShape,
D: FromShape,
E: FromShape,
F: FromShape,
G: FromShape,
H: FromShape,
I: FromShape,
J: FromShape,
K: FromShape,
L: FromShape,
fn from(shape: &InternalShape) -> Self
[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]
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,
fn from(shape: &InternalShape) -> Self
[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]
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,
fn from(shape: &InternalShape) -> Self
[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]
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,
fn from(shape: &InternalShape) -> Self
[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]
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,