pub trait TextShadowUtilities {
// Required methods
fn text_shadow_none(self) -> Self;
fn text_shadow_sm(self) -> Self;
fn text_shadow_md(self) -> Self;
fn text_shadow(self) -> Self;
fn text_shadow_lg(self) -> Self;
fn text_shadow_xl(self) -> Self;
fn text_shadow_2xl(self) -> Self;
fn text_shadow_inner(self) -> Self;
fn text_shadow_custom(self, shadow: TextShadow) -> Self;
}
Expand description
Trait for adding text shadow utilities to ClassBuilder
Required Methods§
Sourcefn text_shadow_none(self) -> Self
fn text_shadow_none(self) -> Self
Set text shadow to none
Sourcefn text_shadow_sm(self) -> Self
fn text_shadow_sm(self) -> Self
Set text shadow to small
Sourcefn text_shadow_md(self) -> Self
fn text_shadow_md(self) -> Self
Set text shadow to medium
Sourcefn text_shadow(self) -> Self
fn text_shadow(self) -> Self
Set text shadow to default
Sourcefn text_shadow_lg(self) -> Self
fn text_shadow_lg(self) -> Self
Set text shadow to large
Sourcefn text_shadow_xl(self) -> Self
fn text_shadow_xl(self) -> Self
Set text shadow to extra large
Sourcefn text_shadow_2xl(self) -> Self
fn text_shadow_2xl(self) -> Self
Set text shadow to 2XL
Sourcefn text_shadow_inner(self) -> Self
fn text_shadow_inner(self) -> Self
Set text shadow to inner
Sourcefn text_shadow_custom(self, shadow: TextShadow) -> Self
fn text_shadow_custom(self, shadow: TextShadow) -> Self
Set text shadow with custom value
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.