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

Method floating

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

Source from the content-addressed store, hash-verified

173 /// Configures floating properties using a closure.
174 #[inline]
175 pub fn floating(mut self, f: impl for<'a> FnOnce(&'a mut elements::FloatingBuilder) -> &'a mut elements::FloatingBuilder) -> Self {
176 let mut builder = elements::FloatingBuilder { config: self.inner.floating };
177 f(&mut builder);
178 self.inner.floating = builder.config;
179 self
180 }
181
182 /// Configures border properties using a closure.
183 #[inline]

Callers 1

test_floatingFunction · 0.80

Calls 1

fFunction · 0.85

Tested by 1

test_floatingFunction · 0.64