(mut self, width: f32)
| 36 | |
| 37 | impl ToggleConfig { |
| 38 | pub fn width(mut self, width: f32) -> Self { |
| 39 | self.width = width.max(self.height); // Ensure width is at least as large as height |
| 40 | self |
| 41 | } |
| 42 | |
| 43 | pub fn height(mut self, height: f32) -> Self { |
| 44 | self.height = height; |
no outgoing calls
no test coverage detected