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

Method width

src/lib.rs:85–88  ·  view source on GitHub ↗
(mut self, width: layout::Sizing)

Source from the content-addressed store, hash-verified

83 /// Sets the width of the element.
84 #[inline]
85 pub fn width(mut self, width: layout::Sizing) -> Self {
86 self.inner.layout.sizing.width = width.into();
87 self
88 }
89
90 /// Sets the height of the element.
91 #[inline]

Calls

no outgoing calls