TextTransformUtilities

Trait TextTransformUtilities 

Source
pub trait TextTransformUtilities {
Show 24 methods // Required methods fn text_transform(&mut self, transform: TextTransform) -> &mut Self; fn uppercase(&mut self) -> &mut Self; fn lowercase(&mut self) -> &mut Self; fn capitalize(&mut self) -> &mut Self; fn normal_case(&mut self) -> &mut Self; fn text_overflow(&mut self, overflow: TextOverflow) -> &mut Self; fn truncate(&mut self) -> &mut Self; fn text_clip(&mut self) -> &mut Self; fn white_space(&mut self, whitespace: WhiteSpace) -> &mut Self; fn whitespace_normal(&mut self) -> &mut Self; fn whitespace_nowrap(&mut self) -> &mut Self; fn whitespace_pre(&mut self) -> &mut Self; fn whitespace_pre_line(&mut self) -> &mut Self; fn whitespace_pre_wrap(&mut self) -> &mut Self; fn whitespace_break_spaces(&mut self) -> &mut Self; fn word_break(&mut self, word_break: WordBreak) -> &mut Self; fn break_normal(&mut self) -> &mut Self; fn break_all(&mut self) -> &mut Self; fn break_keep(&mut self) -> &mut Self; fn break_words(&mut self) -> &mut Self; fn overflow_wrap(&mut self, wrap: OverflowWrap) -> &mut Self; fn overflow_wrap_normal(&mut self) -> &mut Self; fn overflow_wrap_break_word(&mut self) -> &mut Self; fn overflow_wrap_anywhere(&mut self) -> &mut Self;
}
Expand description

Re-export core tailwind-rs functionality Trait for text transformation utilities

Required Methods§

Source

fn text_transform(&mut self, transform: TextTransform) -> &mut Self

Source

fn uppercase(&mut self) -> &mut Self

Source

fn lowercase(&mut self) -> &mut Self

Source

fn capitalize(&mut self) -> &mut Self

Source

fn normal_case(&mut self) -> &mut Self

Source

fn text_overflow(&mut self, overflow: TextOverflow) -> &mut Self

Source

fn truncate(&mut self) -> &mut Self

Source

fn text_clip(&mut self) -> &mut Self

Source

fn white_space(&mut self, whitespace: WhiteSpace) -> &mut Self

Source

fn whitespace_normal(&mut self) -> &mut Self

Source

fn whitespace_nowrap(&mut self) -> &mut Self

Source

fn whitespace_pre(&mut self) -> &mut Self

Source

fn whitespace_pre_line(&mut self) -> &mut Self

Source

fn whitespace_pre_wrap(&mut self) -> &mut Self

Source

fn whitespace_break_spaces(&mut self) -> &mut Self

Source

fn word_break(&mut self, word_break: WordBreak) -> &mut Self

Source

fn break_normal(&mut self) -> &mut Self

Source

fn break_all(&mut self) -> &mut Self

Source

fn break_keep(&mut self) -> &mut Self

Source

fn break_words(&mut self) -> &mut Self

Source

fn overflow_wrap(&mut self, wrap: OverflowWrap) -> &mut Self

Source

fn overflow_wrap_normal(&mut self) -> &mut Self

Source

fn overflow_wrap_break_word(&mut self) -> &mut Self

Source

fn overflow_wrap_anywhere(&mut self) -> &mut Self

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§