|
|
|
|
|
by kazoomonger
1940 days ago
|
|
What would happen if I wanted only some fields to be required? To borrow from the GP example, something like this: struct Person<F> {
pub name: F<String>,
pub age: Option<u32>,
}
With `Person<Box>` still leaving `age` as optional. |
|