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

Method overflow

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

Source from the content-addressed store, hash-verified

148 /// Configures overflow (clip and scroll) properties.
149 #[inline]
150 pub fn overflow(mut self, f: impl for<'a> FnOnce(&'a mut elements::OverflowBuilder) -> &'a mut elements::OverflowBuilder) -> Self {
151 let mut builder = elements::OverflowBuilder { config: self.inner.clip };
152 f(&mut builder);
153 self.inner.clip = builder.config;
154 self
155 }
156
157 /// Sets custom element data.
158 #[inline]

Calls 1

fFunction · 0.85