plushie/prop/text_direction

Text layout direction type.

Types

pub type TextDirection {
  Auto
  Ltr
  Rtl
}

Constructors

  • Auto
  • Ltr
  • Rtl

Values

pub fn to_prop_value(direction: TextDirection) -> node.PropValue

Encode a TextDirection to its wire-format PropValue.

pub fn to_string(direction: TextDirection) -> String

Convert a TextDirection to its wire-format string representation.

Search Document