plushie/widget/rule

Rule widget builder (horizontal/vertical divider).

Types

pub opaque type Rule

Values

pub fn a11y(r: Rule, a: a11y.A11y) -> Rule

Set accessibility properties for this widget.

pub fn build(r: Rule) -> node.Node

Build the rule into a renderable Node.

pub fn direction(r: Rule, d: direction.Direction) -> Rule

Set the direction.

pub fn height(r: Rule, h: Float) -> Rule

Set the height.

pub fn new(id: String) -> Rule

Create a new rule builder.

pub fn style(r: Rule, s: String) -> Rule

Set the style.

pub fn width(r: Rule, w: Float) -> Rule

Set the width.

Search Document