(mut self, f: impl for<'a> FnOnce(&'a mut elements::ShapeRotationBuilder) -> &'a mut elements::ShapeRotationBuilder)
| 295 | /// ``` |
| 296 | #[inline] |
| 297 | pub fn rotate_shape(mut self, f: impl for<'a> FnOnce(&'a mut elements::ShapeRotationBuilder) -> &'a mut elements::ShapeRotationBuilder) -> Self { |
| 298 | let mut builder = elements::ShapeRotationBuilder { |
| 299 | config: engine::ShapeRotationConfig::default(), |
| 300 | }; |
| 301 | f(&mut builder); |
| 302 | self.inner.shape_rotation = Some(builder.config); |
| 303 | self |
| 304 | } |
| 305 | |
| 306 | /// Configures accessibility properties and focus ring styling. |
| 307 | /// |