(mut self, f: impl for<'a> FnOnce(&'a mut elements::VisualRotationBuilder) -> &'a mut elements::VisualRotationBuilder)
| 270 | /// ``` |
| 271 | #[inline] |
| 272 | pub fn rotate_visual(mut self, f: impl for<'a> FnOnce(&'a mut elements::VisualRotationBuilder) -> &'a mut elements::VisualRotationBuilder) -> Self { |
| 273 | let mut builder = elements::VisualRotationBuilder { |
| 274 | config: engine::VisualRotationConfig::default(), |
| 275 | }; |
| 276 | f(&mut builder); |
| 277 | self.inner.visual_rotation = Some(builder.config); |
| 278 | self |
| 279 | } |
| 280 | |
| 281 | /// Applies vertex-level shape rotation to this element's geometry. |
| 282 | /// |