pub trait RoundingExt: Sized {
// Required methods
fn button_rounding(self) -> Self;
fn panel_rounding(self) -> Self;
fn no_rounding(self) -> Self;
fn pill_rounding(self) -> Self;
}Expand description
Generic extension trait for widgets that support rounding
Required Methods§
Apply standard button rounding
Sourcefn panel_rounding(self) -> Self
fn panel_rounding(self) -> Self
Apply panel rounding
Sourcefn no_rounding(self) -> Self
fn no_rounding(self) -> Self
Apply no rounding
Sourcefn pill_rounding(self) -> Self
fn pill_rounding(self) -> Self
Apply pill rounding (fully rounded)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".