plushie/prop/alignment

Alignment type for widget positioning.

Horizontal: Left, Center, Right. Vertical: Top, Center, Bottom.

Types

pub type Alignment {
  Left
  Center
  Right
  Top
  Bottom
}

Constructors

  • Left
  • Center
  • Right
  • Top
  • Bottom

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