(input: VarInput)
| 115 | } |
| 116 | |
| 117 | fn parse(input: VarInput) -> Result<Self, VarParseError> |
| 118 | where |
| 119 | Self: Sized, |
| 120 | { |
| 121 | let s = extract_single_value(input)?; |
| 122 | match s { |
| 123 | "" => Ok(None), |
| 124 | _ => <V as Value>::parse(VarInput::Flat(s)).map(Some), |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | fn box_clone(&self) -> Box<dyn Value> { |
| 129 | Box::new(self.clone()) |
nothing calls this directly
no test coverage detected