pub trait RoundedExt: RoundedMut + Sized {
// Provided methods
fn rounded(self, radius: f32) -> Self { ... }
fn rounded_none(self) -> Self { ... }
fn rounded_sm(self) -> Self { ... }
fn rounded_md(self) -> Self { ... }
fn rounded_lg(self) -> Self { ... }
fn rounded_xl(self) -> Self { ... }
fn rounded_2xl(self) -> Self { ... }
fn rounded_full(self) -> Self { ... }
}Expand description
Builder API for corner radius.
Provided Methods§
fn rounded(self, radius: f32) -> Self
fn rounded_none(self) -> Self
fn rounded_sm(self) -> Self
fn rounded_md(self) -> Self
fn rounded_lg(self) -> Self
fn rounded_xl(self) -> Self
fn rounded_2xl(self) -> Self
fn rounded_full(self) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".