pub trait StyledShadow: Styled + Sized {
// Provided method
fn shadow_level(self, level: Shadow) -> Self { ... }
}Expand description
Extends gpui::Styled with a named shadow scale.
Provided Methods§
Sourcefn shadow_level(self, level: Shadow) -> Self
fn shadow_level(self, level: Shadow) -> Self
Applies the box-shadow layers for the given Shadow level.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".