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§
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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".