(mut self, radius: impl Into<layout::CornerRadius>)
| 105 | /// Accepts `f32` (all corners) or `(f32, f32, f32, f32)` in CSS order (top-left, top-right, bottom-right, bottom-left). |
| 106 | #[inline] |
| 107 | pub fn corner_radius(mut self, radius: impl Into<layout::CornerRadius>) -> Self { |
| 108 | self.inner.corner_radius = radius.into(); |
| 109 | self |
| 110 | } |
| 111 | |
| 112 | /// Sets the element's ID. |
| 113 | /// |
no outgoing calls