plushie/prop/wrapping

Text wrapping strategy type.

Types

pub type Wrapping {
  NoWrap
  Word
  Glyph
  WordOrGlyph
}

Constructors

  • NoWrap
  • Word
  • Glyph
  • WordOrGlyph

Values

pub fn to_prop_value(w: Wrapping) -> node.PropValue

Encode a Wrapping to its wire-format PropValue.

pub fn to_string(w: Wrapping) -> String

Convert a Wrapping to its wire-format string representation.

Search Document