Skip to main content

RoundedExt

Trait RoundedExt 

Source
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§

Source

fn rounded(self, radius: f32) -> Self

Source

fn rounded_none(self) -> Self

Source

fn rounded_sm(self) -> Self

Source

fn rounded_md(self) -> Self

Source

fn rounded_lg(self) -> Self

Source

fn rounded_xl(self) -> Self

Source

fn rounded_2xl(self) -> Self

Source

fn rounded_full(self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§