plushie/prop/alignment

Alignment type for widget positioning.

Types

pub type Alignment {
  Left
  Center
  Right
  Top
  Bottom
  Start
  End
}

Constructors

  • Left
  • Center
  • Right
  • Top
  • Bottom
  • Start
  • End

Values

pub fn to_prop_value(a: Alignment) -> node.PropValue

Encode to wire-format PropValue.

pub fn to_string(a: Alignment) -> String

Convert an Alignment to its wire-format string representation.

Search Document