Skip to main content

ShadowedExt

Trait ShadowedExt 

Source
pub trait ShadowedExt: ShadowedMut + Sized {
    // Provided methods
    fn shadow_sm(self) -> Self { ... }
    fn shadow_md(self) -> Self { ... }
    fn shadow_lg(self) -> Self { ... }
    fn shadow_xl(self) -> Self { ... }
    fn shadow_none(self) -> Self { ... }
    fn shadow_custom(
        self,
        color: impl Into<String>,
        offset_x: f32,
        offset_y: f32,
        blur: f32,
    ) -> Self { ... }
}
Expand description

Builder API for shadow.

Provided Methods§

Source

fn shadow_sm(self) -> Self

Source

fn shadow_md(self) -> Self

Source

fn shadow_lg(self) -> Self

Source

fn shadow_xl(self) -> Self

Source

fn shadow_none(self) -> Self

Source

fn shadow_custom( self, color: impl Into<String>, offset_x: f32, offset_y: f32, blur: f32, ) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§