MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / rotate_shape

Method rotate_shape

src/lib.rs:297–304  ·  view source on GitHub ↗
(mut self, f: impl for<'a> FnOnce(&'a mut elements::ShapeRotationBuilder) -> &'a mut elements::ShapeRotationBuilder)

Source from the content-addressed store, hash-verified

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 ///

Calls 1

fFunction · 0.85