(&self)
| 115 | |
| 116 | impl Rectangle { |
| 117 | pub fn as_irectangle(&self) -> IRectangle { |
| 118 | IRectangle { |
| 119 | x: self.x as i32, |
| 120 | y: self.y as i32, |
| 121 | width: self.width as i32, |
| 122 | height: self.height as i32, |
| 123 | } |
| 124 | } |
| 125 | } |
| 126 | |
| 127 | rect!(IRectangle, i32, IVec2, 0); |
nothing calls this directly
no outgoing calls
no test coverage detected