TextShadowUtilities

Trait TextShadowUtilities 

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

Source

fn text_shadow_none(self) -> Self

Set text shadow to none

Source

fn text_shadow_sm(self) -> Self

Set text shadow to small

Source

fn text_shadow_md(self) -> Self

Set text shadow to medium

Source

fn text_shadow(self) -> Self

Set text shadow to default

Source

fn text_shadow_lg(self) -> Self

Set text shadow to large

Source

fn text_shadow_xl(self) -> Self

Set text shadow to extra large

Source

fn text_shadow_2xl(self) -> Self

Set text shadow to 2XL

Source

fn text_shadow_inner(self) -> Self

Set text shadow to inner

Source

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.

Implementors§