1 2 3 4 5 6 7 8 9 10
pub struct Part<T> {
pub size:T,
}
pub struct Body<T> {
pub head:Part<T>,
pub torso:Part<T>,
pub arms:Vec<Part<T>>,
pub legs:Vec<Part<T>>,
pub color:T,
}
1 2 3 4 5 6 7 8 9 10
pub struct Part<T> {
pub size:T,
}
pub struct Body<T> {
pub head:Part<T>,
pub torso:Part<T>,
pub arms:Vec<Part<T>>,
pub legs:Vec<Part<T>>,
pub color:T,
}