Description of a python parameter; used for `parse_args()`.
| 29 | |
| 30 | /// Description of a python parameter; used for `parse_args()`. |
| 31 | pub struct ParamDescription<'a> { |
| 32 | /// The name of the parameter. |
| 33 | pub name: &'a str, |
| 34 | /// Whether the parameter is optional. |
| 35 | pub is_optional: bool, |
| 36 | } |
| 37 | |
| 38 | impl<'a> ParamDescription<'a> { |
| 39 | /// Name, with leading `r#` stripped. |
nothing calls this directly
no outgoing calls
no test coverage detected