Skip to main content

StyleRefinement

Struct StyleRefinement 

Source
pub struct StyleRefinement { /* private fields */ }
Expand description

An element’s styles, in order (later declarations win). Built by the Styled methods; .active(|s| …) and the like hand a fresh one to their closure. Values given as signals or closures are bound parts, added after the static declarations (StyleRefinement::resolved).

Implementations§

Source§

impl StyleRefinement

Source

pub fn placeholder_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The color of an input’s placeholder (placeholderColor, Tailwind’s placeholder:text-*), for the style of a component’s part that edits text (super::InputPartStyle, such as number_input’s input_style). Inherent rather than super::Styled’s: on an element it is the input’s own prop (input().placeholder_color(..)).

Source

pub fn caret_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The color of an input’s caret (caretColor, Tailwind’s caret-*), for a part that edits text (super::InputPartStyle); on iOS it also tints the selection highlight, as UIKit has one tint for both.

Source

pub fn selection_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The color of the selection highlight (selectionColor, Tailwind’s selection:bg-*) of a part’s input or texts (super::InputPartStyle, super::TextPartStyle). Inherent rather than super::Styled’s: an element has Element::selection_color.

Source

pub fn is_empty(&self) -> bool

No declarations, and no bound parts.

Trait Implementations§

Source§

impl Clone for StyleRefinement

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for StyleRefinement

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for StyleRefinement

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for StyleRefinement

Source§

impl From<StyleRefinement> for Style

Source§

fn from(style: StyleRefinement) -> Self

Converts to this type from the input type.
Source§

impl From<StyleRefinement> for TextPartStyle

Source§

fn from(style: StyleRefinement) -> Self

Converts to this type from the input type.
Source§

impl From<StyleRefinement> for InputPartStyle

Source§

fn from(style: StyleRefinement) -> Self

Converts to this type from the input type.
Source§

impl Hash for StyleRefinement

The static declarations (a resolved style, StyleRefinement::resolved, has no bound parts).

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for StyleRefinement

Equal static declarations and the same bound parts.

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Styled for StyleRefinement

Source§

fn style(&mut self) -> &mut StyleRefinement

The styles being built.
Source§

fn p(self, length: impl IntoReactive<Length>) -> Self

Padding on all sides
Source§

fn p_0(self) -> Self

Padding on all sides: 0pt.
Source§

fn p_0p5(self) -> Self

Padding on all sides: 2pt.
Source§

fn p_1(self) -> Self

Padding on all sides: 4pt.
Source§

fn p_1p5(self) -> Self

Padding on all sides: 6pt.
Source§

fn p_2(self) -> Self

Padding on all sides: 8pt.
Source§

fn p_2p5(self) -> Self

Padding on all sides: 10pt.
Source§

fn p_3(self) -> Self

Padding on all sides: 12pt.
Source§

fn p_3p5(self) -> Self

Padding on all sides: 14pt.
Source§

fn p_4(self) -> Self

Padding on all sides: 16pt.
Source§

fn p_5(self) -> Self

Padding on all sides: 20pt.
Source§

fn p_6(self) -> Self

Padding on all sides: 24pt.
Source§

fn p_7(self) -> Self

Padding on all sides: 28pt.
Source§

fn p_8(self) -> Self

Padding on all sides: 32pt.
Source§

fn p_9(self) -> Self

Padding on all sides: 36pt.
Source§

fn p_10(self) -> Self

Padding on all sides: 40pt.
Source§

fn p_11(self) -> Self

Padding on all sides: 44pt.
Source§

fn p_12(self) -> Self

Padding on all sides: 48pt.
Source§

fn p_14(self) -> Self

Padding on all sides: 56pt.
Source§

fn p_16(self) -> Self

Padding on all sides: 64pt.
Source§

fn p_20(self) -> Self

Padding on all sides: 80pt.
Source§

fn p_24(self) -> Self

Padding on all sides: 96pt.
Source§

fn p_28(self) -> Self

Padding on all sides: 112pt.
Source§

fn p_32(self) -> Self

Padding on all sides: 128pt.
Source§

fn p_36(self) -> Self

Padding on all sides: 144pt.
Source§

fn p_40(self) -> Self

Padding on all sides: 160pt.
Source§

fn p_44(self) -> Self

Padding on all sides: 176pt.
Source§

fn p_48(self) -> Self

Padding on all sides: 192pt.
Source§

fn p_52(self) -> Self

Padding on all sides: 208pt.
Source§

fn p_56(self) -> Self

Padding on all sides: 224pt.
Source§

fn p_60(self) -> Self

Padding on all sides: 240pt.
Source§

fn p_64(self) -> Self

Padding on all sides: 256pt.
Source§

fn p_72(self) -> Self

Padding on all sides: 288pt.
Source§

fn p_80(self) -> Self

Padding on all sides: 320pt.
Source§

fn p_96(self) -> Self

Padding on all sides: 384pt.
Source§

fn px(self, length: impl IntoReactive<Length>) -> Self

Horizontal padding
Source§

fn px_0(self) -> Self

Horizontal padding: 0pt.
Source§

fn px_0p5(self) -> Self

Horizontal padding: 2pt.
Source§

fn px_1(self) -> Self

Horizontal padding: 4pt.
Source§

fn px_1p5(self) -> Self

Horizontal padding: 6pt.
Source§

fn px_2(self) -> Self

Horizontal padding: 8pt.
Source§

fn px_2p5(self) -> Self

Horizontal padding: 10pt.
Source§

fn px_3(self) -> Self

Horizontal padding: 12pt.
Source§

fn px_3p5(self) -> Self

Horizontal padding: 14pt.
Source§

fn px_4(self) -> Self

Horizontal padding: 16pt.
Source§

fn px_5(self) -> Self

Horizontal padding: 20pt.
Source§

fn px_6(self) -> Self

Horizontal padding: 24pt.
Source§

fn px_7(self) -> Self

Horizontal padding: 28pt.
Source§

fn px_8(self) -> Self

Horizontal padding: 32pt.
Source§

fn px_9(self) -> Self

Horizontal padding: 36pt.
Source§

fn px_10(self) -> Self

Horizontal padding: 40pt.
Source§

fn px_11(self) -> Self

Horizontal padding: 44pt.
Source§

fn px_12(self) -> Self

Horizontal padding: 48pt.
Source§

fn px_14(self) -> Self

Horizontal padding: 56pt.
Source§

fn px_16(self) -> Self

Horizontal padding: 64pt.
Source§

fn px_20(self) -> Self

Horizontal padding: 80pt.
Source§

fn px_24(self) -> Self

Horizontal padding: 96pt.
Source§

fn px_28(self) -> Self

Horizontal padding: 112pt.
Source§

fn px_32(self) -> Self

Horizontal padding: 128pt.
Source§

fn px_36(self) -> Self

Horizontal padding: 144pt.
Source§

fn px_40(self) -> Self

Horizontal padding: 160pt.
Source§

fn px_44(self) -> Self

Horizontal padding: 176pt.
Source§

fn px_48(self) -> Self

Horizontal padding: 192pt.
Source§

fn px_52(self) -> Self

Horizontal padding: 208pt.
Source§

fn px_56(self) -> Self

Horizontal padding: 224pt.
Source§

fn px_60(self) -> Self

Horizontal padding: 240pt.
Source§

fn px_64(self) -> Self

Horizontal padding: 256pt.
Source§

fn px_72(self) -> Self

Horizontal padding: 288pt.
Source§

fn px_80(self) -> Self

Horizontal padding: 320pt.
Source§

fn px_96(self) -> Self

Horizontal padding: 384pt.
Source§

fn py(self, length: impl IntoReactive<Length>) -> Self

Vertical padding
Source§

fn py_0(self) -> Self

Vertical padding: 0pt.
Source§

fn py_0p5(self) -> Self

Vertical padding: 2pt.
Source§

fn py_1(self) -> Self

Vertical padding: 4pt.
Source§

fn py_1p5(self) -> Self

Vertical padding: 6pt.
Source§

fn py_2(self) -> Self

Vertical padding: 8pt.
Source§

fn py_2p5(self) -> Self

Vertical padding: 10pt.
Source§

fn py_3(self) -> Self

Vertical padding: 12pt.
Source§

fn py_3p5(self) -> Self

Vertical padding: 14pt.
Source§

fn py_4(self) -> Self

Vertical padding: 16pt.
Source§

fn py_5(self) -> Self

Vertical padding: 20pt.
Source§

fn py_6(self) -> Self

Vertical padding: 24pt.
Source§

fn py_7(self) -> Self

Vertical padding: 28pt.
Source§

fn py_8(self) -> Self

Vertical padding: 32pt.
Source§

fn py_9(self) -> Self

Vertical padding: 36pt.
Source§

fn py_10(self) -> Self

Vertical padding: 40pt.
Source§

fn py_11(self) -> Self

Vertical padding: 44pt.
Source§

fn py_12(self) -> Self

Vertical padding: 48pt.
Source§

fn py_14(self) -> Self

Vertical padding: 56pt.
Source§

fn py_16(self) -> Self

Vertical padding: 64pt.
Source§

fn py_20(self) -> Self

Vertical padding: 80pt.
Source§

fn py_24(self) -> Self

Vertical padding: 96pt.
Source§

fn py_28(self) -> Self

Vertical padding: 112pt.
Source§

fn py_32(self) -> Self

Vertical padding: 128pt.
Source§

fn py_36(self) -> Self

Vertical padding: 144pt.
Source§

fn py_40(self) -> Self

Vertical padding: 160pt.
Source§

fn py_44(self) -> Self

Vertical padding: 176pt.
Source§

fn py_48(self) -> Self

Vertical padding: 192pt.
Source§

fn py_52(self) -> Self

Vertical padding: 208pt.
Source§

fn py_56(self) -> Self

Vertical padding: 224pt.
Source§

fn py_60(self) -> Self

Vertical padding: 240pt.
Source§

fn py_64(self) -> Self

Vertical padding: 256pt.
Source§

fn py_72(self) -> Self

Vertical padding: 288pt.
Source§

fn py_80(self) -> Self

Vertical padding: 320pt.
Source§

fn py_96(self) -> Self

Vertical padding: 384pt.
Source§

fn pt(self, length: impl IntoReactive<Length>) -> Self

Top padding
Source§

fn pt_0(self) -> Self

Top padding: 0pt.
Source§

fn pt_0p5(self) -> Self

Top padding: 2pt.
Source§

fn pt_1(self) -> Self

Top padding: 4pt.
Source§

fn pt_1p5(self) -> Self

Top padding: 6pt.
Source§

fn pt_2(self) -> Self

Top padding: 8pt.
Source§

fn pt_2p5(self) -> Self

Top padding: 10pt.
Source§

fn pt_3(self) -> Self

Top padding: 12pt.
Source§

fn pt_3p5(self) -> Self

Top padding: 14pt.
Source§

fn pt_4(self) -> Self

Top padding: 16pt.
Source§

fn pt_5(self) -> Self

Top padding: 20pt.
Source§

fn pt_6(self) -> Self

Top padding: 24pt.
Source§

fn pt_7(self) -> Self

Top padding: 28pt.
Source§

fn pt_8(self) -> Self

Top padding: 32pt.
Source§

fn pt_9(self) -> Self

Top padding: 36pt.
Source§

fn pt_10(self) -> Self

Top padding: 40pt.
Source§

fn pt_11(self) -> Self

Top padding: 44pt.
Source§

fn pt_12(self) -> Self

Top padding: 48pt.
Source§

fn pt_14(self) -> Self

Top padding: 56pt.
Source§

fn pt_16(self) -> Self

Top padding: 64pt.
Source§

fn pt_20(self) -> Self

Top padding: 80pt.
Source§

fn pt_24(self) -> Self

Top padding: 96pt.
Source§

fn pt_28(self) -> Self

Top padding: 112pt.
Source§

fn pt_32(self) -> Self

Top padding: 128pt.
Source§

fn pt_36(self) -> Self

Top padding: 144pt.
Source§

fn pt_40(self) -> Self

Top padding: 160pt.
Source§

fn pt_44(self) -> Self

Top padding: 176pt.
Source§

fn pt_48(self) -> Self

Top padding: 192pt.
Source§

fn pt_52(self) -> Self

Top padding: 208pt.
Source§

fn pt_56(self) -> Self

Top padding: 224pt.
Source§

fn pt_60(self) -> Self

Top padding: 240pt.
Source§

fn pt_64(self) -> Self

Top padding: 256pt.
Source§

fn pt_72(self) -> Self

Top padding: 288pt.
Source§

fn pt_80(self) -> Self

Top padding: 320pt.
Source§

fn pt_96(self) -> Self

Top padding: 384pt.
Source§

fn pr(self, length: impl IntoReactive<Length>) -> Self

Right padding
Source§

fn pr_0(self) -> Self

Right padding: 0pt.
Source§

fn pr_0p5(self) -> Self

Right padding: 2pt.
Source§

fn pr_1(self) -> Self

Right padding: 4pt.
Source§

fn pr_1p5(self) -> Self

Right padding: 6pt.
Source§

fn pr_2(self) -> Self

Right padding: 8pt.
Source§

fn pr_2p5(self) -> Self

Right padding: 10pt.
Source§

fn pr_3(self) -> Self

Right padding: 12pt.
Source§

fn pr_3p5(self) -> Self

Right padding: 14pt.
Source§

fn pr_4(self) -> Self

Right padding: 16pt.
Source§

fn pr_5(self) -> Self

Right padding: 20pt.
Source§

fn pr_6(self) -> Self

Right padding: 24pt.
Source§

fn pr_7(self) -> Self

Right padding: 28pt.
Source§

fn pr_8(self) -> Self

Right padding: 32pt.
Source§

fn pr_9(self) -> Self

Right padding: 36pt.
Source§

fn pr_10(self) -> Self

Right padding: 40pt.
Source§

fn pr_11(self) -> Self

Right padding: 44pt.
Source§

fn pr_12(self) -> Self

Right padding: 48pt.
Source§

fn pr_14(self) -> Self

Right padding: 56pt.
Source§

fn pr_16(self) -> Self

Right padding: 64pt.
Source§

fn pr_20(self) -> Self

Right padding: 80pt.
Source§

fn pr_24(self) -> Self

Right padding: 96pt.
Source§

fn pr_28(self) -> Self

Right padding: 112pt.
Source§

fn pr_32(self) -> Self

Right padding: 128pt.
Source§

fn pr_36(self) -> Self

Right padding: 144pt.
Source§

fn pr_40(self) -> Self

Right padding: 160pt.
Source§

fn pr_44(self) -> Self

Right padding: 176pt.
Source§

fn pr_48(self) -> Self

Right padding: 192pt.
Source§

fn pr_52(self) -> Self

Right padding: 208pt.
Source§

fn pr_56(self) -> Self

Right padding: 224pt.
Source§

fn pr_60(self) -> Self

Right padding: 240pt.
Source§

fn pr_64(self) -> Self

Right padding: 256pt.
Source§

fn pr_72(self) -> Self

Right padding: 288pt.
Source§

fn pr_80(self) -> Self

Right padding: 320pt.
Source§

fn pr_96(self) -> Self

Right padding: 384pt.
Source§

fn pb(self, length: impl IntoReactive<Length>) -> Self

Bottom padding
Source§

fn pb_0(self) -> Self

Bottom padding: 0pt.
Source§

fn pb_0p5(self) -> Self

Bottom padding: 2pt.
Source§

fn pb_1(self) -> Self

Bottom padding: 4pt.
Source§

fn pb_1p5(self) -> Self

Bottom padding: 6pt.
Source§

fn pb_2(self) -> Self

Bottom padding: 8pt.
Source§

fn pb_2p5(self) -> Self

Bottom padding: 10pt.
Source§

fn pb_3(self) -> Self

Bottom padding: 12pt.
Source§

fn pb_3p5(self) -> Self

Bottom padding: 14pt.
Source§

fn pb_4(self) -> Self

Bottom padding: 16pt.
Source§

fn pb_5(self) -> Self

Bottom padding: 20pt.
Source§

fn pb_6(self) -> Self

Bottom padding: 24pt.
Source§

fn pb_7(self) -> Self

Bottom padding: 28pt.
Source§

fn pb_8(self) -> Self

Bottom padding: 32pt.
Source§

fn pb_9(self) -> Self

Bottom padding: 36pt.
Source§

fn pb_10(self) -> Self

Bottom padding: 40pt.
Source§

fn pb_11(self) -> Self

Bottom padding: 44pt.
Source§

fn pb_12(self) -> Self

Bottom padding: 48pt.
Source§

fn pb_14(self) -> Self

Bottom padding: 56pt.
Source§

fn pb_16(self) -> Self

Bottom padding: 64pt.
Source§

fn pb_20(self) -> Self

Bottom padding: 80pt.
Source§

fn pb_24(self) -> Self

Bottom padding: 96pt.
Source§

fn pb_28(self) -> Self

Bottom padding: 112pt.
Source§

fn pb_32(self) -> Self

Bottom padding: 128pt.
Source§

fn pb_36(self) -> Self

Bottom padding: 144pt.
Source§

fn pb_40(self) -> Self

Bottom padding: 160pt.
Source§

fn pb_44(self) -> Self

Bottom padding: 176pt.
Source§

fn pb_48(self) -> Self

Bottom padding: 192pt.
Source§

fn pb_52(self) -> Self

Bottom padding: 208pt.
Source§

fn pb_56(self) -> Self

Bottom padding: 224pt.
Source§

fn pb_60(self) -> Self

Bottom padding: 240pt.
Source§

fn pb_64(self) -> Self

Bottom padding: 256pt.
Source§

fn pb_72(self) -> Self

Bottom padding: 288pt.
Source§

fn pb_80(self) -> Self

Bottom padding: 320pt.
Source§

fn pb_96(self) -> Self

Bottom padding: 384pt.
Source§

fn pl(self, length: impl IntoReactive<Length>) -> Self

Left padding
Source§

fn pl_0(self) -> Self

Left padding: 0pt.
Source§

fn pl_0p5(self) -> Self

Left padding: 2pt.
Source§

fn pl_1(self) -> Self

Left padding: 4pt.
Source§

fn pl_1p5(self) -> Self

Left padding: 6pt.
Source§

fn pl_2(self) -> Self

Left padding: 8pt.
Source§

fn pl_2p5(self) -> Self

Left padding: 10pt.
Source§

fn pl_3(self) -> Self

Left padding: 12pt.
Source§

fn pl_3p5(self) -> Self

Left padding: 14pt.
Source§

fn pl_4(self) -> Self

Left padding: 16pt.
Source§

fn pl_5(self) -> Self

Left padding: 20pt.
Source§

fn pl_6(self) -> Self

Left padding: 24pt.
Source§

fn pl_7(self) -> Self

Left padding: 28pt.
Source§

fn pl_8(self) -> Self

Left padding: 32pt.
Source§

fn pl_9(self) -> Self

Left padding: 36pt.
Source§

fn pl_10(self) -> Self

Left padding: 40pt.
Source§

fn pl_11(self) -> Self

Left padding: 44pt.
Source§

fn pl_12(self) -> Self

Left padding: 48pt.
Source§

fn pl_14(self) -> Self

Left padding: 56pt.
Source§

fn pl_16(self) -> Self

Left padding: 64pt.
Source§

fn pl_20(self) -> Self

Left padding: 80pt.
Source§

fn pl_24(self) -> Self

Left padding: 96pt.
Source§

fn pl_28(self) -> Self

Left padding: 112pt.
Source§

fn pl_32(self) -> Self

Left padding: 128pt.
Source§

fn pl_36(self) -> Self

Left padding: 144pt.
Source§

fn pl_40(self) -> Self

Left padding: 160pt.
Source§

fn pl_44(self) -> Self

Left padding: 176pt.
Source§

fn pl_48(self) -> Self

Left padding: 192pt.
Source§

fn pl_52(self) -> Self

Left padding: 208pt.
Source§

fn pl_56(self) -> Self

Left padding: 224pt.
Source§

fn pl_60(self) -> Self

Left padding: 240pt.
Source§

fn pl_64(self) -> Self

Left padding: 256pt.
Source§

fn pl_72(self) -> Self

Left padding: 288pt.
Source§

fn pl_80(self) -> Self

Left padding: 320pt.
Source§

fn pl_96(self) -> Self

Left padding: 384pt.
Source§

fn ps(self, length: impl IntoReactive<Length>) -> Self

Leading padding (left in left-to-right layouts)
Source§

fn ps_0(self) -> Self

Leading padding (left in left-to-right layouts): 0pt.
Source§

fn ps_0p5(self) -> Self

Leading padding (left in left-to-right layouts): 2pt.
Source§

fn ps_1(self) -> Self

Leading padding (left in left-to-right layouts): 4pt.
Source§

fn ps_1p5(self) -> Self

Leading padding (left in left-to-right layouts): 6pt.
Source§

fn ps_2(self) -> Self

Leading padding (left in left-to-right layouts): 8pt.
Source§

fn ps_2p5(self) -> Self

Leading padding (left in left-to-right layouts): 10pt.
Source§

fn ps_3(self) -> Self

Leading padding (left in left-to-right layouts): 12pt.
Source§

fn ps_3p5(self) -> Self

Leading padding (left in left-to-right layouts): 14pt.
Source§

fn ps_4(self) -> Self

Leading padding (left in left-to-right layouts): 16pt.
Source§

fn ps_5(self) -> Self

Leading padding (left in left-to-right layouts): 20pt.
Source§

fn ps_6(self) -> Self

Leading padding (left in left-to-right layouts): 24pt.
Source§

fn ps_7(self) -> Self

Leading padding (left in left-to-right layouts): 28pt.
Source§

fn ps_8(self) -> Self

Leading padding (left in left-to-right layouts): 32pt.
Source§

fn ps_9(self) -> Self

Leading padding (left in left-to-right layouts): 36pt.
Source§

fn ps_10(self) -> Self

Leading padding (left in left-to-right layouts): 40pt.
Source§

fn ps_11(self) -> Self

Leading padding (left in left-to-right layouts): 44pt.
Source§

fn ps_12(self) -> Self

Leading padding (left in left-to-right layouts): 48pt.
Source§

fn ps_14(self) -> Self

Leading padding (left in left-to-right layouts): 56pt.
Source§

fn ps_16(self) -> Self

Leading padding (left in left-to-right layouts): 64pt.
Source§

fn ps_20(self) -> Self

Leading padding (left in left-to-right layouts): 80pt.
Source§

fn ps_24(self) -> Self

Leading padding (left in left-to-right layouts): 96pt.
Source§

fn ps_28(self) -> Self

Leading padding (left in left-to-right layouts): 112pt.
Source§

fn ps_32(self) -> Self

Leading padding (left in left-to-right layouts): 128pt.
Source§

fn ps_36(self) -> Self

Leading padding (left in left-to-right layouts): 144pt.
Source§

fn ps_40(self) -> Self

Leading padding (left in left-to-right layouts): 160pt.
Source§

fn ps_44(self) -> Self

Leading padding (left in left-to-right layouts): 176pt.
Source§

fn ps_48(self) -> Self

Leading padding (left in left-to-right layouts): 192pt.
Source§

fn ps_52(self) -> Self

Leading padding (left in left-to-right layouts): 208pt.
Source§

fn ps_56(self) -> Self

Leading padding (left in left-to-right layouts): 224pt.
Source§

fn ps_60(self) -> Self

Leading padding (left in left-to-right layouts): 240pt.
Source§

fn ps_64(self) -> Self

Leading padding (left in left-to-right layouts): 256pt.
Source§

fn ps_72(self) -> Self

Leading padding (left in left-to-right layouts): 288pt.
Source§

fn ps_80(self) -> Self

Leading padding (left in left-to-right layouts): 320pt.
Source§

fn ps_96(self) -> Self

Leading padding (left in left-to-right layouts): 384pt.
Source§

fn pe(self, length: impl IntoReactive<Length>) -> Self

Trailing padding
Source§

fn pe_0(self) -> Self

Trailing padding: 0pt.
Source§

fn pe_0p5(self) -> Self

Trailing padding: 2pt.
Source§

fn pe_1(self) -> Self

Trailing padding: 4pt.
Source§

fn pe_1p5(self) -> Self

Trailing padding: 6pt.
Source§

fn pe_2(self) -> Self

Trailing padding: 8pt.
Source§

fn pe_2p5(self) -> Self

Trailing padding: 10pt.
Source§

fn pe_3(self) -> Self

Trailing padding: 12pt.
Source§

fn pe_3p5(self) -> Self

Trailing padding: 14pt.
Source§

fn pe_4(self) -> Self

Trailing padding: 16pt.
Source§

fn pe_5(self) -> Self

Trailing padding: 20pt.
Source§

fn pe_6(self) -> Self

Trailing padding: 24pt.
Source§

fn pe_7(self) -> Self

Trailing padding: 28pt.
Source§

fn pe_8(self) -> Self

Trailing padding: 32pt.
Source§

fn pe_9(self) -> Self

Trailing padding: 36pt.
Source§

fn pe_10(self) -> Self

Trailing padding: 40pt.
Source§

fn pe_11(self) -> Self

Trailing padding: 44pt.
Source§

fn pe_12(self) -> Self

Trailing padding: 48pt.
Source§

fn pe_14(self) -> Self

Trailing padding: 56pt.
Source§

fn pe_16(self) -> Self

Trailing padding: 64pt.
Source§

fn pe_20(self) -> Self

Trailing padding: 80pt.
Source§

fn pe_24(self) -> Self

Trailing padding: 96pt.
Source§

fn pe_28(self) -> Self

Trailing padding: 112pt.
Source§

fn pe_32(self) -> Self

Trailing padding: 128pt.
Source§

fn pe_36(self) -> Self

Trailing padding: 144pt.
Source§

fn pe_40(self) -> Self

Trailing padding: 160pt.
Source§

fn pe_44(self) -> Self

Trailing padding: 176pt.
Source§

fn pe_48(self) -> Self

Trailing padding: 192pt.
Source§

fn pe_52(self) -> Self

Trailing padding: 208pt.
Source§

fn pe_56(self) -> Self

Trailing padding: 224pt.
Source§

fn pe_60(self) -> Self

Trailing padding: 240pt.
Source§

fn pe_64(self) -> Self

Trailing padding: 256pt.
Source§

fn pe_72(self) -> Self

Trailing padding: 288pt.
Source§

fn pe_80(self) -> Self

Trailing padding: 320pt.
Source§

fn pe_96(self) -> Self

Trailing padding: 384pt.
Source§

fn m(self, length: impl IntoReactive<Length>) -> Self

Margin on all sides
Source§

fn m_0(self) -> Self

Margin on all sides: 0pt.
Source§

fn m_0p5(self) -> Self

Margin on all sides: 2pt.
Source§

fn m_1(self) -> Self

Margin on all sides: 4pt.
Source§

fn m_1p5(self) -> Self

Margin on all sides: 6pt.
Source§

fn m_2(self) -> Self

Margin on all sides: 8pt.
Source§

fn m_2p5(self) -> Self

Margin on all sides: 10pt.
Source§

fn m_3(self) -> Self

Margin on all sides: 12pt.
Source§

fn m_3p5(self) -> Self

Margin on all sides: 14pt.
Source§

fn m_4(self) -> Self

Margin on all sides: 16pt.
Source§

fn m_5(self) -> Self

Margin on all sides: 20pt.
Source§

fn m_6(self) -> Self

Margin on all sides: 24pt.
Source§

fn m_7(self) -> Self

Margin on all sides: 28pt.
Source§

fn m_8(self) -> Self

Margin on all sides: 32pt.
Source§

fn m_9(self) -> Self

Margin on all sides: 36pt.
Source§

fn m_10(self) -> Self

Margin on all sides: 40pt.
Source§

fn m_11(self) -> Self

Margin on all sides: 44pt.
Source§

fn m_12(self) -> Self

Margin on all sides: 48pt.
Source§

fn m_14(self) -> Self

Margin on all sides: 56pt.
Source§

fn m_16(self) -> Self

Margin on all sides: 64pt.
Source§

fn m_20(self) -> Self

Margin on all sides: 80pt.
Source§

fn m_24(self) -> Self

Margin on all sides: 96pt.
Source§

fn m_28(self) -> Self

Margin on all sides: 112pt.
Source§

fn m_32(self) -> Self

Margin on all sides: 128pt.
Source§

fn m_36(self) -> Self

Margin on all sides: 144pt.
Source§

fn m_40(self) -> Self

Margin on all sides: 160pt.
Source§

fn m_44(self) -> Self

Margin on all sides: 176pt.
Source§

fn m_48(self) -> Self

Margin on all sides: 192pt.
Source§

fn m_52(self) -> Self

Margin on all sides: 208pt.
Source§

fn m_56(self) -> Self

Margin on all sides: 224pt.
Source§

fn m_60(self) -> Self

Margin on all sides: 240pt.
Source§

fn m_64(self) -> Self

Margin on all sides: 256pt.
Source§

fn m_72(self) -> Self

Margin on all sides: 288pt.
Source§

fn m_80(self) -> Self

Margin on all sides: 320pt.
Source§

fn m_96(self) -> Self

Margin on all sides: 384pt.
Source§

fn mx(self, length: impl IntoReactive<Length>) -> Self

Horizontal margin
Source§

fn mx_0(self) -> Self

Horizontal margin: 0pt.
Source§

fn mx_0p5(self) -> Self

Horizontal margin: 2pt.
Source§

fn mx_1(self) -> Self

Horizontal margin: 4pt.
Source§

fn mx_1p5(self) -> Self

Horizontal margin: 6pt.
Source§

fn mx_2(self) -> Self

Horizontal margin: 8pt.
Source§

fn mx_2p5(self) -> Self

Horizontal margin: 10pt.
Source§

fn mx_3(self) -> Self

Horizontal margin: 12pt.
Source§

fn mx_3p5(self) -> Self

Horizontal margin: 14pt.
Source§

fn mx_4(self) -> Self

Horizontal margin: 16pt.
Source§

fn mx_5(self) -> Self

Horizontal margin: 20pt.
Source§

fn mx_6(self) -> Self

Horizontal margin: 24pt.
Source§

fn mx_7(self) -> Self

Horizontal margin: 28pt.
Source§

fn mx_8(self) -> Self

Horizontal margin: 32pt.
Source§

fn mx_9(self) -> Self

Horizontal margin: 36pt.
Source§

fn mx_10(self) -> Self

Horizontal margin: 40pt.
Source§

fn mx_11(self) -> Self

Horizontal margin: 44pt.
Source§

fn mx_12(self) -> Self

Horizontal margin: 48pt.
Source§

fn mx_14(self) -> Self

Horizontal margin: 56pt.
Source§

fn mx_16(self) -> Self

Horizontal margin: 64pt.
Source§

fn mx_20(self) -> Self

Horizontal margin: 80pt.
Source§

fn mx_24(self) -> Self

Horizontal margin: 96pt.
Source§

fn mx_28(self) -> Self

Horizontal margin: 112pt.
Source§

fn mx_32(self) -> Self

Horizontal margin: 128pt.
Source§

fn mx_36(self) -> Self

Horizontal margin: 144pt.
Source§

fn mx_40(self) -> Self

Horizontal margin: 160pt.
Source§

fn mx_44(self) -> Self

Horizontal margin: 176pt.
Source§

fn mx_48(self) -> Self

Horizontal margin: 192pt.
Source§

fn mx_52(self) -> Self

Horizontal margin: 208pt.
Source§

fn mx_56(self) -> Self

Horizontal margin: 224pt.
Source§

fn mx_60(self) -> Self

Horizontal margin: 240pt.
Source§

fn mx_64(self) -> Self

Horizontal margin: 256pt.
Source§

fn mx_72(self) -> Self

Horizontal margin: 288pt.
Source§

fn mx_80(self) -> Self

Horizontal margin: 320pt.
Source§

fn mx_96(self) -> Self

Horizontal margin: 384pt.
Source§

fn my(self, length: impl IntoReactive<Length>) -> Self

Vertical margin
Source§

fn my_0(self) -> Self

Vertical margin: 0pt.
Source§

fn my_0p5(self) -> Self

Vertical margin: 2pt.
Source§

fn my_1(self) -> Self

Vertical margin: 4pt.
Source§

fn my_1p5(self) -> Self

Vertical margin: 6pt.
Source§

fn my_2(self) -> Self

Vertical margin: 8pt.
Source§

fn my_2p5(self) -> Self

Vertical margin: 10pt.
Source§

fn my_3(self) -> Self

Vertical margin: 12pt.
Source§

fn my_3p5(self) -> Self

Vertical margin: 14pt.
Source§

fn my_4(self) -> Self

Vertical margin: 16pt.
Source§

fn my_5(self) -> Self

Vertical margin: 20pt.
Source§

fn my_6(self) -> Self

Vertical margin: 24pt.
Source§

fn my_7(self) -> Self

Vertical margin: 28pt.
Source§

fn my_8(self) -> Self

Vertical margin: 32pt.
Source§

fn my_9(self) -> Self

Vertical margin: 36pt.
Source§

fn my_10(self) -> Self

Vertical margin: 40pt.
Source§

fn my_11(self) -> Self

Vertical margin: 44pt.
Source§

fn my_12(self) -> Self

Vertical margin: 48pt.
Source§

fn my_14(self) -> Self

Vertical margin: 56pt.
Source§

fn my_16(self) -> Self

Vertical margin: 64pt.
Source§

fn my_20(self) -> Self

Vertical margin: 80pt.
Source§

fn my_24(self) -> Self

Vertical margin: 96pt.
Source§

fn my_28(self) -> Self

Vertical margin: 112pt.
Source§

fn my_32(self) -> Self

Vertical margin: 128pt.
Source§

fn my_36(self) -> Self

Vertical margin: 144pt.
Source§

fn my_40(self) -> Self

Vertical margin: 160pt.
Source§

fn my_44(self) -> Self

Vertical margin: 176pt.
Source§

fn my_48(self) -> Self

Vertical margin: 192pt.
Source§

fn my_52(self) -> Self

Vertical margin: 208pt.
Source§

fn my_56(self) -> Self

Vertical margin: 224pt.
Source§

fn my_60(self) -> Self

Vertical margin: 240pt.
Source§

fn my_64(self) -> Self

Vertical margin: 256pt.
Source§

fn my_72(self) -> Self

Vertical margin: 288pt.
Source§

fn my_80(self) -> Self

Vertical margin: 320pt.
Source§

fn my_96(self) -> Self

Vertical margin: 384pt.
Source§

fn mt(self, length: impl IntoReactive<Length>) -> Self

Top margin
Source§

fn mt_0(self) -> Self

Top margin: 0pt.
Source§

fn mt_0p5(self) -> Self

Top margin: 2pt.
Source§

fn mt_1(self) -> Self

Top margin: 4pt.
Source§

fn mt_1p5(self) -> Self

Top margin: 6pt.
Source§

fn mt_2(self) -> Self

Top margin: 8pt.
Source§

fn mt_2p5(self) -> Self

Top margin: 10pt.
Source§

fn mt_3(self) -> Self

Top margin: 12pt.
Source§

fn mt_3p5(self) -> Self

Top margin: 14pt.
Source§

fn mt_4(self) -> Self

Top margin: 16pt.
Source§

fn mt_5(self) -> Self

Top margin: 20pt.
Source§

fn mt_6(self) -> Self

Top margin: 24pt.
Source§

fn mt_7(self) -> Self

Top margin: 28pt.
Source§

fn mt_8(self) -> Self

Top margin: 32pt.
Source§

fn mt_9(self) -> Self

Top margin: 36pt.
Source§

fn mt_10(self) -> Self

Top margin: 40pt.
Source§

fn mt_11(self) -> Self

Top margin: 44pt.
Source§

fn mt_12(self) -> Self

Top margin: 48pt.
Source§

fn mt_14(self) -> Self

Top margin: 56pt.
Source§

fn mt_16(self) -> Self

Top margin: 64pt.
Source§

fn mt_20(self) -> Self

Top margin: 80pt.
Source§

fn mt_24(self) -> Self

Top margin: 96pt.
Source§

fn mt_28(self) -> Self

Top margin: 112pt.
Source§

fn mt_32(self) -> Self

Top margin: 128pt.
Source§

fn mt_36(self) -> Self

Top margin: 144pt.
Source§

fn mt_40(self) -> Self

Top margin: 160pt.
Source§

fn mt_44(self) -> Self

Top margin: 176pt.
Source§

fn mt_48(self) -> Self

Top margin: 192pt.
Source§

fn mt_52(self) -> Self

Top margin: 208pt.
Source§

fn mt_56(self) -> Self

Top margin: 224pt.
Source§

fn mt_60(self) -> Self

Top margin: 240pt.
Source§

fn mt_64(self) -> Self

Top margin: 256pt.
Source§

fn mt_72(self) -> Self

Top margin: 288pt.
Source§

fn mt_80(self) -> Self

Top margin: 320pt.
Source§

fn mt_96(self) -> Self

Top margin: 384pt.
Source§

fn mr(self, length: impl IntoReactive<Length>) -> Self

Right margin
Source§

fn mr_0(self) -> Self

Right margin: 0pt.
Source§

fn mr_0p5(self) -> Self

Right margin: 2pt.
Source§

fn mr_1(self) -> Self

Right margin: 4pt.
Source§

fn mr_1p5(self) -> Self

Right margin: 6pt.
Source§

fn mr_2(self) -> Self

Right margin: 8pt.
Source§

fn mr_2p5(self) -> Self

Right margin: 10pt.
Source§

fn mr_3(self) -> Self

Right margin: 12pt.
Source§

fn mr_3p5(self) -> Self

Right margin: 14pt.
Source§

fn mr_4(self) -> Self

Right margin: 16pt.
Source§

fn mr_5(self) -> Self

Right margin: 20pt.
Source§

fn mr_6(self) -> Self

Right margin: 24pt.
Source§

fn mr_7(self) -> Self

Right margin: 28pt.
Source§

fn mr_8(self) -> Self

Right margin: 32pt.
Source§

fn mr_9(self) -> Self

Right margin: 36pt.
Source§

fn mr_10(self) -> Self

Right margin: 40pt.
Source§

fn mr_11(self) -> Self

Right margin: 44pt.
Source§

fn mr_12(self) -> Self

Right margin: 48pt.
Source§

fn mr_14(self) -> Self

Right margin: 56pt.
Source§

fn mr_16(self) -> Self

Right margin: 64pt.
Source§

fn mr_20(self) -> Self

Right margin: 80pt.
Source§

fn mr_24(self) -> Self

Right margin: 96pt.
Source§

fn mr_28(self) -> Self

Right margin: 112pt.
Source§

fn mr_32(self) -> Self

Right margin: 128pt.
Source§

fn mr_36(self) -> Self

Right margin: 144pt.
Source§

fn mr_40(self) -> Self

Right margin: 160pt.
Source§

fn mr_44(self) -> Self

Right margin: 176pt.
Source§

fn mr_48(self) -> Self

Right margin: 192pt.
Source§

fn mr_52(self) -> Self

Right margin: 208pt.
Source§

fn mr_56(self) -> Self

Right margin: 224pt.
Source§

fn mr_60(self) -> Self

Right margin: 240pt.
Source§

fn mr_64(self) -> Self

Right margin: 256pt.
Source§

fn mr_72(self) -> Self

Right margin: 288pt.
Source§

fn mr_80(self) -> Self

Right margin: 320pt.
Source§

fn mr_96(self) -> Self

Right margin: 384pt.
Source§

fn mb(self, length: impl IntoReactive<Length>) -> Self

Bottom margin
Source§

fn mb_0(self) -> Self

Bottom margin: 0pt.
Source§

fn mb_0p5(self) -> Self

Bottom margin: 2pt.
Source§

fn mb_1(self) -> Self

Bottom margin: 4pt.
Source§

fn mb_1p5(self) -> Self

Bottom margin: 6pt.
Source§

fn mb_2(self) -> Self

Bottom margin: 8pt.
Source§

fn mb_2p5(self) -> Self

Bottom margin: 10pt.
Source§

fn mb_3(self) -> Self

Bottom margin: 12pt.
Source§

fn mb_3p5(self) -> Self

Bottom margin: 14pt.
Source§

fn mb_4(self) -> Self

Bottom margin: 16pt.
Source§

fn mb_5(self) -> Self

Bottom margin: 20pt.
Source§

fn mb_6(self) -> Self

Bottom margin: 24pt.
Source§

fn mb_7(self) -> Self

Bottom margin: 28pt.
Source§

fn mb_8(self) -> Self

Bottom margin: 32pt.
Source§

fn mb_9(self) -> Self

Bottom margin: 36pt.
Source§

fn mb_10(self) -> Self

Bottom margin: 40pt.
Source§

fn mb_11(self) -> Self

Bottom margin: 44pt.
Source§

fn mb_12(self) -> Self

Bottom margin: 48pt.
Source§

fn mb_14(self) -> Self

Bottom margin: 56pt.
Source§

fn mb_16(self) -> Self

Bottom margin: 64pt.
Source§

fn mb_20(self) -> Self

Bottom margin: 80pt.
Source§

fn mb_24(self) -> Self

Bottom margin: 96pt.
Source§

fn mb_28(self) -> Self

Bottom margin: 112pt.
Source§

fn mb_32(self) -> Self

Bottom margin: 128pt.
Source§

fn mb_36(self) -> Self

Bottom margin: 144pt.
Source§

fn mb_40(self) -> Self

Bottom margin: 160pt.
Source§

fn mb_44(self) -> Self

Bottom margin: 176pt.
Source§

fn mb_48(self) -> Self

Bottom margin: 192pt.
Source§

fn mb_52(self) -> Self

Bottom margin: 208pt.
Source§

fn mb_56(self) -> Self

Bottom margin: 224pt.
Source§

fn mb_60(self) -> Self

Bottom margin: 240pt.
Source§

fn mb_64(self) -> Self

Bottom margin: 256pt.
Source§

fn mb_72(self) -> Self

Bottom margin: 288pt.
Source§

fn mb_80(self) -> Self

Bottom margin: 320pt.
Source§

fn mb_96(self) -> Self

Bottom margin: 384pt.
Source§

fn ml(self, length: impl IntoReactive<Length>) -> Self

Left margin
Source§

fn ml_0(self) -> Self

Left margin: 0pt.
Source§

fn ml_0p5(self) -> Self

Left margin: 2pt.
Source§

fn ml_1(self) -> Self

Left margin: 4pt.
Source§

fn ml_1p5(self) -> Self

Left margin: 6pt.
Source§

fn ml_2(self) -> Self

Left margin: 8pt.
Source§

fn ml_2p5(self) -> Self

Left margin: 10pt.
Source§

fn ml_3(self) -> Self

Left margin: 12pt.
Source§

fn ml_3p5(self) -> Self

Left margin: 14pt.
Source§

fn ml_4(self) -> Self

Left margin: 16pt.
Source§

fn ml_5(self) -> Self

Left margin: 20pt.
Source§

fn ml_6(self) -> Self

Left margin: 24pt.
Source§

fn ml_7(self) -> Self

Left margin: 28pt.
Source§

fn ml_8(self) -> Self

Left margin: 32pt.
Source§

fn ml_9(self) -> Self

Left margin: 36pt.
Source§

fn ml_10(self) -> Self

Left margin: 40pt.
Source§

fn ml_11(self) -> Self

Left margin: 44pt.
Source§

fn ml_12(self) -> Self

Left margin: 48pt.
Source§

fn ml_14(self) -> Self

Left margin: 56pt.
Source§

fn ml_16(self) -> Self

Left margin: 64pt.
Source§

fn ml_20(self) -> Self

Left margin: 80pt.
Source§

fn ml_24(self) -> Self

Left margin: 96pt.
Source§

fn ml_28(self) -> Self

Left margin: 112pt.
Source§

fn ml_32(self) -> Self

Left margin: 128pt.
Source§

fn ml_36(self) -> Self

Left margin: 144pt.
Source§

fn ml_40(self) -> Self

Left margin: 160pt.
Source§

fn ml_44(self) -> Self

Left margin: 176pt.
Source§

fn ml_48(self) -> Self

Left margin: 192pt.
Source§

fn ml_52(self) -> Self

Left margin: 208pt.
Source§

fn ml_56(self) -> Self

Left margin: 224pt.
Source§

fn ml_60(self) -> Self

Left margin: 240pt.
Source§

fn ml_64(self) -> Self

Left margin: 256pt.
Source§

fn ml_72(self) -> Self

Left margin: 288pt.
Source§

fn ml_80(self) -> Self

Left margin: 320pt.
Source§

fn ml_96(self) -> Self

Left margin: 384pt.
Source§

fn ms(self, length: impl IntoReactive<Length>) -> Self

Leading margin
Source§

fn ms_0(self) -> Self

Leading margin: 0pt.
Source§

fn ms_0p5(self) -> Self

Leading margin: 2pt.
Source§

fn ms_1(self) -> Self

Leading margin: 4pt.
Source§

fn ms_1p5(self) -> Self

Leading margin: 6pt.
Source§

fn ms_2(self) -> Self

Leading margin: 8pt.
Source§

fn ms_2p5(self) -> Self

Leading margin: 10pt.
Source§

fn ms_3(self) -> Self

Leading margin: 12pt.
Source§

fn ms_3p5(self) -> Self

Leading margin: 14pt.
Source§

fn ms_4(self) -> Self

Leading margin: 16pt.
Source§

fn ms_5(self) -> Self

Leading margin: 20pt.
Source§

fn ms_6(self) -> Self

Leading margin: 24pt.
Source§

fn ms_7(self) -> Self

Leading margin: 28pt.
Source§

fn ms_8(self) -> Self

Leading margin: 32pt.
Source§

fn ms_9(self) -> Self

Leading margin: 36pt.
Source§

fn ms_10(self) -> Self

Leading margin: 40pt.
Source§

fn ms_11(self) -> Self

Leading margin: 44pt.
Source§

fn ms_12(self) -> Self

Leading margin: 48pt.
Source§

fn ms_14(self) -> Self

Leading margin: 56pt.
Source§

fn ms_16(self) -> Self

Leading margin: 64pt.
Source§

fn ms_20(self) -> Self

Leading margin: 80pt.
Source§

fn ms_24(self) -> Self

Leading margin: 96pt.
Source§

fn ms_28(self) -> Self

Leading margin: 112pt.
Source§

fn ms_32(self) -> Self

Leading margin: 128pt.
Source§

fn ms_36(self) -> Self

Leading margin: 144pt.
Source§

fn ms_40(self) -> Self

Leading margin: 160pt.
Source§

fn ms_44(self) -> Self

Leading margin: 176pt.
Source§

fn ms_48(self) -> Self

Leading margin: 192pt.
Source§

fn ms_52(self) -> Self

Leading margin: 208pt.
Source§

fn ms_56(self) -> Self

Leading margin: 224pt.
Source§

fn ms_60(self) -> Self

Leading margin: 240pt.
Source§

fn ms_64(self) -> Self

Leading margin: 256pt.
Source§

fn ms_72(self) -> Self

Leading margin: 288pt.
Source§

fn ms_80(self) -> Self

Leading margin: 320pt.
Source§

fn ms_96(self) -> Self

Leading margin: 384pt.
Source§

fn me(self, length: impl IntoReactive<Length>) -> Self

Trailing margin
Source§

fn me_0(self) -> Self

Trailing margin: 0pt.
Source§

fn me_0p5(self) -> Self

Trailing margin: 2pt.
Source§

fn me_1(self) -> Self

Trailing margin: 4pt.
Source§

fn me_1p5(self) -> Self

Trailing margin: 6pt.
Source§

fn me_2(self) -> Self

Trailing margin: 8pt.
Source§

fn me_2p5(self) -> Self

Trailing margin: 10pt.
Source§

fn me_3(self) -> Self

Trailing margin: 12pt.
Source§

fn me_3p5(self) -> Self

Trailing margin: 14pt.
Source§

fn me_4(self) -> Self

Trailing margin: 16pt.
Source§

fn me_5(self) -> Self

Trailing margin: 20pt.
Source§

fn me_6(self) -> Self

Trailing margin: 24pt.
Source§

fn me_7(self) -> Self

Trailing margin: 28pt.
Source§

fn me_8(self) -> Self

Trailing margin: 32pt.
Source§

fn me_9(self) -> Self

Trailing margin: 36pt.
Source§

fn me_10(self) -> Self

Trailing margin: 40pt.
Source§

fn me_11(self) -> Self

Trailing margin: 44pt.
Source§

fn me_12(self) -> Self

Trailing margin: 48pt.
Source§

fn me_14(self) -> Self

Trailing margin: 56pt.
Source§

fn me_16(self) -> Self

Trailing margin: 64pt.
Source§

fn me_20(self) -> Self

Trailing margin: 80pt.
Source§

fn me_24(self) -> Self

Trailing margin: 96pt.
Source§

fn me_28(self) -> Self

Trailing margin: 112pt.
Source§

fn me_32(self) -> Self

Trailing margin: 128pt.
Source§

fn me_36(self) -> Self

Trailing margin: 144pt.
Source§

fn me_40(self) -> Self

Trailing margin: 160pt.
Source§

fn me_44(self) -> Self

Trailing margin: 176pt.
Source§

fn me_48(self) -> Self

Trailing margin: 192pt.
Source§

fn me_52(self) -> Self

Trailing margin: 208pt.
Source§

fn me_56(self) -> Self

Trailing margin: 224pt.
Source§

fn me_60(self) -> Self

Trailing margin: 240pt.
Source§

fn me_64(self) -> Self

Trailing margin: 256pt.
Source§

fn me_72(self) -> Self

Trailing margin: 288pt.
Source§

fn me_80(self) -> Self

Trailing margin: 320pt.
Source§

fn me_96(self) -> Self

Trailing margin: 384pt.
Source§

fn gap(self, length: impl IntoReactive<Length>) -> Self

Space between children
Source§

fn gap_0(self) -> Self

Space between children: 0pt.
Source§

fn gap_0p5(self) -> Self

Space between children: 2pt.
Source§

fn gap_1(self) -> Self

Space between children: 4pt.
Source§

fn gap_1p5(self) -> Self

Space between children: 6pt.
Source§

fn gap_2(self) -> Self

Space between children: 8pt.
Source§

fn gap_2p5(self) -> Self

Space between children: 10pt.
Source§

fn gap_3(self) -> Self

Space between children: 12pt.
Source§

fn gap_3p5(self) -> Self

Space between children: 14pt.
Source§

fn gap_4(self) -> Self

Space between children: 16pt.
Source§

fn gap_5(self) -> Self

Space between children: 20pt.
Source§

fn gap_6(self) -> Self

Space between children: 24pt.
Source§

fn gap_7(self) -> Self

Space between children: 28pt.
Source§

fn gap_8(self) -> Self

Space between children: 32pt.
Source§

fn gap_9(self) -> Self

Space between children: 36pt.
Source§

fn gap_10(self) -> Self

Space between children: 40pt.
Source§

fn gap_11(self) -> Self

Space between children: 44pt.
Source§

fn gap_12(self) -> Self

Space between children: 48pt.
Source§

fn gap_14(self) -> Self

Space between children: 56pt.
Source§

fn gap_16(self) -> Self

Space between children: 64pt.
Source§

fn gap_20(self) -> Self

Space between children: 80pt.
Source§

fn gap_24(self) -> Self

Space between children: 96pt.
Source§

fn gap_28(self) -> Self

Space between children: 112pt.
Source§

fn gap_32(self) -> Self

Space between children: 128pt.
Source§

fn gap_36(self) -> Self

Space between children: 144pt.
Source§

fn gap_40(self) -> Self

Space between children: 160pt.
Source§

fn gap_44(self) -> Self

Space between children: 176pt.
Source§

fn gap_48(self) -> Self

Space between children: 192pt.
Source§

fn gap_52(self) -> Self

Space between children: 208pt.
Source§

fn gap_56(self) -> Self

Space between children: 224pt.
Source§

fn gap_60(self) -> Self

Space between children: 240pt.
Source§

fn gap_64(self) -> Self

Space between children: 256pt.
Source§

fn gap_72(self) -> Self

Space between children: 288pt.
Source§

fn gap_80(self) -> Self

Space between children: 320pt.
Source§

fn gap_96(self) -> Self

Space between children: 384pt.
Source§

fn gap_x(self, length: impl IntoReactive<Length>) -> Self

Space between columns
Source§

fn gap_x_0(self) -> Self

Space between columns: 0pt.
Source§

fn gap_x_0p5(self) -> Self

Space between columns: 2pt.
Source§

fn gap_x_1(self) -> Self

Space between columns: 4pt.
Source§

fn gap_x_1p5(self) -> Self

Space between columns: 6pt.
Source§

fn gap_x_2(self) -> Self

Space between columns: 8pt.
Source§

fn gap_x_2p5(self) -> Self

Space between columns: 10pt.
Source§

fn gap_x_3(self) -> Self

Space between columns: 12pt.
Source§

fn gap_x_3p5(self) -> Self

Space between columns: 14pt.
Source§

fn gap_x_4(self) -> Self

Space between columns: 16pt.
Source§

fn gap_x_5(self) -> Self

Space between columns: 20pt.
Source§

fn gap_x_6(self) -> Self

Space between columns: 24pt.
Source§

fn gap_x_7(self) -> Self

Space between columns: 28pt.
Source§

fn gap_x_8(self) -> Self

Space between columns: 32pt.
Source§

fn gap_x_9(self) -> Self

Space between columns: 36pt.
Source§

fn gap_x_10(self) -> Self

Space between columns: 40pt.
Source§

fn gap_x_11(self) -> Self

Space between columns: 44pt.
Source§

fn gap_x_12(self) -> Self

Space between columns: 48pt.
Source§

fn gap_x_14(self) -> Self

Space between columns: 56pt.
Source§

fn gap_x_16(self) -> Self

Space between columns: 64pt.
Source§

fn gap_x_20(self) -> Self

Space between columns: 80pt.
Source§

fn gap_x_24(self) -> Self

Space between columns: 96pt.
Source§

fn gap_x_28(self) -> Self

Space between columns: 112pt.
Source§

fn gap_x_32(self) -> Self

Space between columns: 128pt.
Source§

fn gap_x_36(self) -> Self

Space between columns: 144pt.
Source§

fn gap_x_40(self) -> Self

Space between columns: 160pt.
Source§

fn gap_x_44(self) -> Self

Space between columns: 176pt.
Source§

fn gap_x_48(self) -> Self

Space between columns: 192pt.
Source§

fn gap_x_52(self) -> Self

Space between columns: 208pt.
Source§

fn gap_x_56(self) -> Self

Space between columns: 224pt.
Source§

fn gap_x_60(self) -> Self

Space between columns: 240pt.
Source§

fn gap_x_64(self) -> Self

Space between columns: 256pt.
Source§

fn gap_x_72(self) -> Self

Space between columns: 288pt.
Source§

fn gap_x_80(self) -> Self

Space between columns: 320pt.
Source§

fn gap_x_96(self) -> Self

Space between columns: 384pt.
Source§

fn gap_y(self, length: impl IntoReactive<Length>) -> Self

Space between rows
Source§

fn gap_y_0(self) -> Self

Space between rows: 0pt.
Source§

fn gap_y_0p5(self) -> Self

Space between rows: 2pt.
Source§

fn gap_y_1(self) -> Self

Space between rows: 4pt.
Source§

fn gap_y_1p5(self) -> Self

Space between rows: 6pt.
Source§

fn gap_y_2(self) -> Self

Space between rows: 8pt.
Source§

fn gap_y_2p5(self) -> Self

Space between rows: 10pt.
Source§

fn gap_y_3(self) -> Self

Space between rows: 12pt.
Source§

fn gap_y_3p5(self) -> Self

Space between rows: 14pt.
Source§

fn gap_y_4(self) -> Self

Space between rows: 16pt.
Source§

fn gap_y_5(self) -> Self

Space between rows: 20pt.
Source§

fn gap_y_6(self) -> Self

Space between rows: 24pt.
Source§

fn gap_y_7(self) -> Self

Space between rows: 28pt.
Source§

fn gap_y_8(self) -> Self

Space between rows: 32pt.
Source§

fn gap_y_9(self) -> Self

Space between rows: 36pt.
Source§

fn gap_y_10(self) -> Self

Space between rows: 40pt.
Source§

fn gap_y_11(self) -> Self

Space between rows: 44pt.
Source§

fn gap_y_12(self) -> Self

Space between rows: 48pt.
Source§

fn gap_y_14(self) -> Self

Space between rows: 56pt.
Source§

fn gap_y_16(self) -> Self

Space between rows: 64pt.
Source§

fn gap_y_20(self) -> Self

Space between rows: 80pt.
Source§

fn gap_y_24(self) -> Self

Space between rows: 96pt.
Source§

fn gap_y_28(self) -> Self

Space between rows: 112pt.
Source§

fn gap_y_32(self) -> Self

Space between rows: 128pt.
Source§

fn gap_y_36(self) -> Self

Space between rows: 144pt.
Source§

fn gap_y_40(self) -> Self

Space between rows: 160pt.
Source§

fn gap_y_44(self) -> Self

Space between rows: 176pt.
Source§

fn gap_y_48(self) -> Self

Space between rows: 192pt.
Source§

fn gap_y_52(self) -> Self

Space between rows: 208pt.
Source§

fn gap_y_56(self) -> Self

Space between rows: 224pt.
Source§

fn gap_y_60(self) -> Self

Space between rows: 240pt.
Source§

fn gap_y_64(self) -> Self

Space between rows: 256pt.
Source§

fn gap_y_72(self) -> Self

Space between rows: 288pt.
Source§

fn gap_y_80(self) -> Self

Space between rows: 320pt.
Source§

fn gap_y_96(self) -> Self

Space between rows: 384pt.
Source§

fn w(self, length: impl IntoReactive<Length>) -> Self

Width
Source§

fn w_0(self) -> Self

Width: 0pt.
Source§

fn w_0p5(self) -> Self

Width: 2pt.
Source§

fn w_1(self) -> Self

Width: 4pt.
Source§

fn w_1p5(self) -> Self

Width: 6pt.
Source§

fn w_2(self) -> Self

Width: 8pt.
Source§

fn w_2p5(self) -> Self

Width: 10pt.
Source§

fn w_3(self) -> Self

Width: 12pt.
Source§

fn w_3p5(self) -> Self

Width: 14pt.
Source§

fn w_4(self) -> Self

Width: 16pt.
Source§

fn w_5(self) -> Self

Width: 20pt.
Source§

fn w_6(self) -> Self

Width: 24pt.
Source§

fn w_7(self) -> Self

Width: 28pt.
Source§

fn w_8(self) -> Self

Width: 32pt.
Source§

fn w_9(self) -> Self

Width: 36pt.
Source§

fn w_10(self) -> Self

Width: 40pt.
Source§

fn w_11(self) -> Self

Width: 44pt.
Source§

fn w_12(self) -> Self

Width: 48pt.
Source§

fn w_14(self) -> Self

Width: 56pt.
Source§

fn w_16(self) -> Self

Width: 64pt.
Source§

fn w_20(self) -> Self

Width: 80pt.
Source§

fn w_24(self) -> Self

Width: 96pt.
Source§

fn w_28(self) -> Self

Width: 112pt.
Source§

fn w_32(self) -> Self

Width: 128pt.
Source§

fn w_36(self) -> Self

Width: 144pt.
Source§

fn w_40(self) -> Self

Width: 160pt.
Source§

fn w_44(self) -> Self

Width: 176pt.
Source§

fn w_48(self) -> Self

Width: 192pt.
Source§

fn w_52(self) -> Self

Width: 208pt.
Source§

fn w_56(self) -> Self

Width: 224pt.
Source§

fn w_60(self) -> Self

Width: 240pt.
Source§

fn w_64(self) -> Self

Width: 256pt.
Source§

fn w_72(self) -> Self

Width: 288pt.
Source§

fn w_80(self) -> Self

Width: 320pt.
Source§

fn w_96(self) -> Self

Width: 384pt.
Source§

fn h(self, length: impl IntoReactive<Length>) -> Self

Height
Source§

fn h_0(self) -> Self

Height: 0pt.
Source§

fn h_0p5(self) -> Self

Height: 2pt.
Source§

fn h_1(self) -> Self

Height: 4pt.
Source§

fn h_1p5(self) -> Self

Height: 6pt.
Source§

fn h_2(self) -> Self

Height: 8pt.
Source§

fn h_2p5(self) -> Self

Height: 10pt.
Source§

fn h_3(self) -> Self

Height: 12pt.
Source§

fn h_3p5(self) -> Self

Height: 14pt.
Source§

fn h_4(self) -> Self

Height: 16pt.
Source§

fn h_5(self) -> Self

Height: 20pt.
Source§

fn h_6(self) -> Self

Height: 24pt.
Source§

fn h_7(self) -> Self

Height: 28pt.
Source§

fn h_8(self) -> Self

Height: 32pt.
Source§

fn h_9(self) -> Self

Height: 36pt.
Source§

fn h_10(self) -> Self

Height: 40pt.
Source§

fn h_11(self) -> Self

Height: 44pt.
Source§

fn h_12(self) -> Self

Height: 48pt.
Source§

fn h_14(self) -> Self

Height: 56pt.
Source§

fn h_16(self) -> Self

Height: 64pt.
Source§

fn h_20(self) -> Self

Height: 80pt.
Source§

fn h_24(self) -> Self

Height: 96pt.
Source§

fn h_28(self) -> Self

Height: 112pt.
Source§

fn h_32(self) -> Self

Height: 128pt.
Source§

fn h_36(self) -> Self

Height: 144pt.
Source§

fn h_40(self) -> Self

Height: 160pt.
Source§

fn h_44(self) -> Self

Height: 176pt.
Source§

fn h_48(self) -> Self

Height: 192pt.
Source§

fn h_52(self) -> Self

Height: 208pt.
Source§

fn h_56(self) -> Self

Height: 224pt.
Source§

fn h_60(self) -> Self

Height: 240pt.
Source§

fn h_64(self) -> Self

Height: 256pt.
Source§

fn h_72(self) -> Self

Height: 288pt.
Source§

fn h_80(self) -> Self

Height: 320pt.
Source§

fn h_96(self) -> Self

Height: 384pt.
Source§

fn size(self, length: impl IntoReactive<Length>) -> Self

Width and height
Source§

fn size_0(self) -> Self

Width and height: 0pt.
Source§

fn size_0p5(self) -> Self

Width and height: 2pt.
Source§

fn size_1(self) -> Self

Width and height: 4pt.
Source§

fn size_1p5(self) -> Self

Width and height: 6pt.
Source§

fn size_2(self) -> Self

Width and height: 8pt.
Source§

fn size_2p5(self) -> Self

Width and height: 10pt.
Source§

fn size_3(self) -> Self

Width and height: 12pt.
Source§

fn size_3p5(self) -> Self

Width and height: 14pt.
Source§

fn size_4(self) -> Self

Width and height: 16pt.
Source§

fn size_5(self) -> Self

Width and height: 20pt.
Source§

fn size_6(self) -> Self

Width and height: 24pt.
Source§

fn size_7(self) -> Self

Width and height: 28pt.
Source§

fn size_8(self) -> Self

Width and height: 32pt.
Source§

fn size_9(self) -> Self

Width and height: 36pt.
Source§

fn size_10(self) -> Self

Width and height: 40pt.
Source§

fn size_11(self) -> Self

Width and height: 44pt.
Source§

fn size_12(self) -> Self

Width and height: 48pt.
Source§

fn size_14(self) -> Self

Width and height: 56pt.
Source§

fn size_16(self) -> Self

Width and height: 64pt.
Source§

fn size_20(self) -> Self

Width and height: 80pt.
Source§

fn size_24(self) -> Self

Width and height: 96pt.
Source§

fn size_28(self) -> Self

Width and height: 112pt.
Source§

fn size_32(self) -> Self

Width and height: 128pt.
Source§

fn size_36(self) -> Self

Width and height: 144pt.
Source§

fn size_40(self) -> Self

Width and height: 160pt.
Source§

fn size_44(self) -> Self

Width and height: 176pt.
Source§

fn size_48(self) -> Self

Width and height: 192pt.
Source§

fn size_52(self) -> Self

Width and height: 208pt.
Source§

fn size_56(self) -> Self

Width and height: 224pt.
Source§

fn size_60(self) -> Self

Width and height: 240pt.
Source§

fn size_64(self) -> Self

Width and height: 256pt.
Source§

fn size_72(self) -> Self

Width and height: 288pt.
Source§

fn size_80(self) -> Self

Width and height: 320pt.
Source§

fn size_96(self) -> Self

Width and height: 384pt.
Source§

fn min_w(self, length: impl IntoReactive<Length>) -> Self

Minimum width
Source§

fn min_w_0(self) -> Self

Minimum width: 0pt.
Source§

fn min_w_0p5(self) -> Self

Minimum width: 2pt.
Source§

fn min_w_1(self) -> Self

Minimum width: 4pt.
Source§

fn min_w_1p5(self) -> Self

Minimum width: 6pt.
Source§

fn min_w_2(self) -> Self

Minimum width: 8pt.
Source§

fn min_w_2p5(self) -> Self

Minimum width: 10pt.
Source§

fn min_w_3(self) -> Self

Minimum width: 12pt.
Source§

fn min_w_3p5(self) -> Self

Minimum width: 14pt.
Source§

fn min_w_4(self) -> Self

Minimum width: 16pt.
Source§

fn min_w_5(self) -> Self

Minimum width: 20pt.
Source§

fn min_w_6(self) -> Self

Minimum width: 24pt.
Source§

fn min_w_7(self) -> Self

Minimum width: 28pt.
Source§

fn min_w_8(self) -> Self

Minimum width: 32pt.
Source§

fn min_w_9(self) -> Self

Minimum width: 36pt.
Source§

fn min_w_10(self) -> Self

Minimum width: 40pt.
Source§

fn min_w_11(self) -> Self

Minimum width: 44pt.
Source§

fn min_w_12(self) -> Self

Minimum width: 48pt.
Source§

fn min_w_14(self) -> Self

Minimum width: 56pt.
Source§

fn min_w_16(self) -> Self

Minimum width: 64pt.
Source§

fn min_w_20(self) -> Self

Minimum width: 80pt.
Source§

fn min_w_24(self) -> Self

Minimum width: 96pt.
Source§

fn min_w_28(self) -> Self

Minimum width: 112pt.
Source§

fn min_w_32(self) -> Self

Minimum width: 128pt.
Source§

fn min_w_36(self) -> Self

Minimum width: 144pt.
Source§

fn min_w_40(self) -> Self

Minimum width: 160pt.
Source§

fn min_w_44(self) -> Self

Minimum width: 176pt.
Source§

fn min_w_48(self) -> Self

Minimum width: 192pt.
Source§

fn min_w_52(self) -> Self

Minimum width: 208pt.
Source§

fn min_w_56(self) -> Self

Minimum width: 224pt.
Source§

fn min_w_60(self) -> Self

Minimum width: 240pt.
Source§

fn min_w_64(self) -> Self

Minimum width: 256pt.
Source§

fn min_w_72(self) -> Self

Minimum width: 288pt.
Source§

fn min_w_80(self) -> Self

Minimum width: 320pt.
Source§

fn min_w_96(self) -> Self

Minimum width: 384pt.
Source§

fn min_h(self, length: impl IntoReactive<Length>) -> Self

Minimum height
Source§

fn min_h_0(self) -> Self

Minimum height: 0pt.
Source§

fn min_h_0p5(self) -> Self

Minimum height: 2pt.
Source§

fn min_h_1(self) -> Self

Minimum height: 4pt.
Source§

fn min_h_1p5(self) -> Self

Minimum height: 6pt.
Source§

fn min_h_2(self) -> Self

Minimum height: 8pt.
Source§

fn min_h_2p5(self) -> Self

Minimum height: 10pt.
Source§

fn min_h_3(self) -> Self

Minimum height: 12pt.
Source§

fn min_h_3p5(self) -> Self

Minimum height: 14pt.
Source§

fn min_h_4(self) -> Self

Minimum height: 16pt.
Source§

fn min_h_5(self) -> Self

Minimum height: 20pt.
Source§

fn min_h_6(self) -> Self

Minimum height: 24pt.
Source§

fn min_h_7(self) -> Self

Minimum height: 28pt.
Source§

fn min_h_8(self) -> Self

Minimum height: 32pt.
Source§

fn min_h_9(self) -> Self

Minimum height: 36pt.
Source§

fn min_h_10(self) -> Self

Minimum height: 40pt.
Source§

fn min_h_11(self) -> Self

Minimum height: 44pt.
Source§

fn min_h_12(self) -> Self

Minimum height: 48pt.
Source§

fn min_h_14(self) -> Self

Minimum height: 56pt.
Source§

fn min_h_16(self) -> Self

Minimum height: 64pt.
Source§

fn min_h_20(self) -> Self

Minimum height: 80pt.
Source§

fn min_h_24(self) -> Self

Minimum height: 96pt.
Source§

fn min_h_28(self) -> Self

Minimum height: 112pt.
Source§

fn min_h_32(self) -> Self

Minimum height: 128pt.
Source§

fn min_h_36(self) -> Self

Minimum height: 144pt.
Source§

fn min_h_40(self) -> Self

Minimum height: 160pt.
Source§

fn min_h_44(self) -> Self

Minimum height: 176pt.
Source§

fn min_h_48(self) -> Self

Minimum height: 192pt.
Source§

fn min_h_52(self) -> Self

Minimum height: 208pt.
Source§

fn min_h_56(self) -> Self

Minimum height: 224pt.
Source§

fn min_h_60(self) -> Self

Minimum height: 240pt.
Source§

fn min_h_64(self) -> Self

Minimum height: 256pt.
Source§

fn min_h_72(self) -> Self

Minimum height: 288pt.
Source§

fn min_h_80(self) -> Self

Minimum height: 320pt.
Source§

fn min_h_96(self) -> Self

Minimum height: 384pt.
Source§

fn max_w(self, length: impl IntoReactive<Length>) -> Self

Maximum width
Source§

fn max_w_0(self) -> Self

Maximum width: 0pt.
Source§

fn max_w_0p5(self) -> Self

Maximum width: 2pt.
Source§

fn max_w_1(self) -> Self

Maximum width: 4pt.
Source§

fn max_w_1p5(self) -> Self

Maximum width: 6pt.
Source§

fn max_w_2(self) -> Self

Maximum width: 8pt.
Source§

fn max_w_2p5(self) -> Self

Maximum width: 10pt.
Source§

fn max_w_3(self) -> Self

Maximum width: 12pt.
Source§

fn max_w_3p5(self) -> Self

Maximum width: 14pt.
Source§

fn max_w_4(self) -> Self

Maximum width: 16pt.
Source§

fn max_w_5(self) -> Self

Maximum width: 20pt.
Source§

fn max_w_6(self) -> Self

Maximum width: 24pt.
Source§

fn max_w_7(self) -> Self

Maximum width: 28pt.
Source§

fn max_w_8(self) -> Self

Maximum width: 32pt.
Source§

fn max_w_9(self) -> Self

Maximum width: 36pt.
Source§

fn max_w_10(self) -> Self

Maximum width: 40pt.
Source§

fn max_w_11(self) -> Self

Maximum width: 44pt.
Source§

fn max_w_12(self) -> Self

Maximum width: 48pt.
Source§

fn max_w_14(self) -> Self

Maximum width: 56pt.
Source§

fn max_w_16(self) -> Self

Maximum width: 64pt.
Source§

fn max_w_20(self) -> Self

Maximum width: 80pt.
Source§

fn max_w_24(self) -> Self

Maximum width: 96pt.
Source§

fn max_w_28(self) -> Self

Maximum width: 112pt.
Source§

fn max_w_32(self) -> Self

Maximum width: 128pt.
Source§

fn max_w_36(self) -> Self

Maximum width: 144pt.
Source§

fn max_w_40(self) -> Self

Maximum width: 160pt.
Source§

fn max_w_44(self) -> Self

Maximum width: 176pt.
Source§

fn max_w_48(self) -> Self

Maximum width: 192pt.
Source§

fn max_w_52(self) -> Self

Maximum width: 208pt.
Source§

fn max_w_56(self) -> Self

Maximum width: 224pt.
Source§

fn max_w_60(self) -> Self

Maximum width: 240pt.
Source§

fn max_w_64(self) -> Self

Maximum width: 256pt.
Source§

fn max_w_72(self) -> Self

Maximum width: 288pt.
Source§

fn max_w_80(self) -> Self

Maximum width: 320pt.
Source§

fn max_w_96(self) -> Self

Maximum width: 384pt.
Source§

fn max_h(self, length: impl IntoReactive<Length>) -> Self

Maximum height
Source§

fn max_h_0(self) -> Self

Maximum height: 0pt.
Source§

fn max_h_0p5(self) -> Self

Maximum height: 2pt.
Source§

fn max_h_1(self) -> Self

Maximum height: 4pt.
Source§

fn max_h_1p5(self) -> Self

Maximum height: 6pt.
Source§

fn max_h_2(self) -> Self

Maximum height: 8pt.
Source§

fn max_h_2p5(self) -> Self

Maximum height: 10pt.
Source§

fn max_h_3(self) -> Self

Maximum height: 12pt.
Source§

fn max_h_3p5(self) -> Self

Maximum height: 14pt.
Source§

fn max_h_4(self) -> Self

Maximum height: 16pt.
Source§

fn max_h_5(self) -> Self

Maximum height: 20pt.
Source§

fn max_h_6(self) -> Self

Maximum height: 24pt.
Source§

fn max_h_7(self) -> Self

Maximum height: 28pt.
Source§

fn max_h_8(self) -> Self

Maximum height: 32pt.
Source§

fn max_h_9(self) -> Self

Maximum height: 36pt.
Source§

fn max_h_10(self) -> Self

Maximum height: 40pt.
Source§

fn max_h_11(self) -> Self

Maximum height: 44pt.
Source§

fn max_h_12(self) -> Self

Maximum height: 48pt.
Source§

fn max_h_14(self) -> Self

Maximum height: 56pt.
Source§

fn max_h_16(self) -> Self

Maximum height: 64pt.
Source§

fn max_h_20(self) -> Self

Maximum height: 80pt.
Source§

fn max_h_24(self) -> Self

Maximum height: 96pt.
Source§

fn max_h_28(self) -> Self

Maximum height: 112pt.
Source§

fn max_h_32(self) -> Self

Maximum height: 128pt.
Source§

fn max_h_36(self) -> Self

Maximum height: 144pt.
Source§

fn max_h_40(self) -> Self

Maximum height: 160pt.
Source§

fn max_h_44(self) -> Self

Maximum height: 176pt.
Source§

fn max_h_48(self) -> Self

Maximum height: 192pt.
Source§

fn max_h_52(self) -> Self

Maximum height: 208pt.
Source§

fn max_h_56(self) -> Self

Maximum height: 224pt.
Source§

fn max_h_60(self) -> Self

Maximum height: 240pt.
Source§

fn max_h_64(self) -> Self

Maximum height: 256pt.
Source§

fn max_h_72(self) -> Self

Maximum height: 288pt.
Source§

fn max_h_80(self) -> Self

Maximum height: 320pt.
Source§

fn max_h_96(self) -> Self

Maximum height: 384pt.
Source§

fn top(self, length: impl IntoReactive<Length>) -> Self

Distance from the parent’s top edge (absolute layout)
Source§

fn top_0(self) -> Self

Distance from the parent’s top edge (absolute layout): 0pt.
Source§

fn top_0p5(self) -> Self

Distance from the parent’s top edge (absolute layout): 2pt.
Source§

fn top_1(self) -> Self

Distance from the parent’s top edge (absolute layout): 4pt.
Source§

fn top_1p5(self) -> Self

Distance from the parent’s top edge (absolute layout): 6pt.
Source§

fn top_2(self) -> Self

Distance from the parent’s top edge (absolute layout): 8pt.
Source§

fn top_2p5(self) -> Self

Distance from the parent’s top edge (absolute layout): 10pt.
Source§

fn top_3(self) -> Self

Distance from the parent’s top edge (absolute layout): 12pt.
Source§

fn top_3p5(self) -> Self

Distance from the parent’s top edge (absolute layout): 14pt.
Source§

fn top_4(self) -> Self

Distance from the parent’s top edge (absolute layout): 16pt.
Source§

fn top_5(self) -> Self

Distance from the parent’s top edge (absolute layout): 20pt.
Source§

fn top_6(self) -> Self

Distance from the parent’s top edge (absolute layout): 24pt.
Source§

fn top_7(self) -> Self

Distance from the parent’s top edge (absolute layout): 28pt.
Source§

fn top_8(self) -> Self

Distance from the parent’s top edge (absolute layout): 32pt.
Source§

fn top_9(self) -> Self

Distance from the parent’s top edge (absolute layout): 36pt.
Source§

fn top_10(self) -> Self

Distance from the parent’s top edge (absolute layout): 40pt.
Source§

fn top_11(self) -> Self

Distance from the parent’s top edge (absolute layout): 44pt.
Source§

fn top_12(self) -> Self

Distance from the parent’s top edge (absolute layout): 48pt.
Source§

fn top_14(self) -> Self

Distance from the parent’s top edge (absolute layout): 56pt.
Source§

fn top_16(self) -> Self

Distance from the parent’s top edge (absolute layout): 64pt.
Source§

fn top_20(self) -> Self

Distance from the parent’s top edge (absolute layout): 80pt.
Source§

fn top_24(self) -> Self

Distance from the parent’s top edge (absolute layout): 96pt.
Source§

fn top_28(self) -> Self

Distance from the parent’s top edge (absolute layout): 112pt.
Source§

fn top_32(self) -> Self

Distance from the parent’s top edge (absolute layout): 128pt.
Source§

fn top_36(self) -> Self

Distance from the parent’s top edge (absolute layout): 144pt.
Source§

fn top_40(self) -> Self

Distance from the parent’s top edge (absolute layout): 160pt.
Source§

fn top_44(self) -> Self

Distance from the parent’s top edge (absolute layout): 176pt.
Source§

fn top_48(self) -> Self

Distance from the parent’s top edge (absolute layout): 192pt.
Source§

fn top_52(self) -> Self

Distance from the parent’s top edge (absolute layout): 208pt.
Source§

fn top_56(self) -> Self

Distance from the parent’s top edge (absolute layout): 224pt.
Source§

fn top_60(self) -> Self

Distance from the parent’s top edge (absolute layout): 240pt.
Source§

fn top_64(self) -> Self

Distance from the parent’s top edge (absolute layout): 256pt.
Source§

fn top_72(self) -> Self

Distance from the parent’s top edge (absolute layout): 288pt.
Source§

fn top_80(self) -> Self

Distance from the parent’s top edge (absolute layout): 320pt.
Source§

fn top_96(self) -> Self

Distance from the parent’s top edge (absolute layout): 384pt.
Source§

fn right(self, length: impl IntoReactive<Length>) -> Self

Distance from the parent’s right edge
Source§

fn right_0(self) -> Self

Distance from the parent’s right edge: 0pt.
Source§

fn right_0p5(self) -> Self

Distance from the parent’s right edge: 2pt.
Source§

fn right_1(self) -> Self

Distance from the parent’s right edge: 4pt.
Source§

fn right_1p5(self) -> Self

Distance from the parent’s right edge: 6pt.
Source§

fn right_2(self) -> Self

Distance from the parent’s right edge: 8pt.
Source§

fn right_2p5(self) -> Self

Distance from the parent’s right edge: 10pt.
Source§

fn right_3(self) -> Self

Distance from the parent’s right edge: 12pt.
Source§

fn right_3p5(self) -> Self

Distance from the parent’s right edge: 14pt.
Source§

fn right_4(self) -> Self

Distance from the parent’s right edge: 16pt.
Source§

fn right_5(self) -> Self

Distance from the parent’s right edge: 20pt.
Source§

fn right_6(self) -> Self

Distance from the parent’s right edge: 24pt.
Source§

fn right_7(self) -> Self

Distance from the parent’s right edge: 28pt.
Source§

fn right_8(self) -> Self

Distance from the parent’s right edge: 32pt.
Source§

fn right_9(self) -> Self

Distance from the parent’s right edge: 36pt.
Source§

fn right_10(self) -> Self

Distance from the parent’s right edge: 40pt.
Source§

fn right_11(self) -> Self

Distance from the parent’s right edge: 44pt.
Source§

fn right_12(self) -> Self

Distance from the parent’s right edge: 48pt.
Source§

fn right_14(self) -> Self

Distance from the parent’s right edge: 56pt.
Source§

fn right_16(self) -> Self

Distance from the parent’s right edge: 64pt.
Source§

fn right_20(self) -> Self

Distance from the parent’s right edge: 80pt.
Source§

fn right_24(self) -> Self

Distance from the parent’s right edge: 96pt.
Source§

fn right_28(self) -> Self

Distance from the parent’s right edge: 112pt.
Source§

fn right_32(self) -> Self

Distance from the parent’s right edge: 128pt.
Source§

fn right_36(self) -> Self

Distance from the parent’s right edge: 144pt.
Source§

fn right_40(self) -> Self

Distance from the parent’s right edge: 160pt.
Source§

fn right_44(self) -> Self

Distance from the parent’s right edge: 176pt.
Source§

fn right_48(self) -> Self

Distance from the parent’s right edge: 192pt.
Source§

fn right_52(self) -> Self

Distance from the parent’s right edge: 208pt.
Source§

fn right_56(self) -> Self

Distance from the parent’s right edge: 224pt.
Source§

fn right_60(self) -> Self

Distance from the parent’s right edge: 240pt.
Source§

fn right_64(self) -> Self

Distance from the parent’s right edge: 256pt.
Source§

fn right_72(self) -> Self

Distance from the parent’s right edge: 288pt.
Source§

fn right_80(self) -> Self

Distance from the parent’s right edge: 320pt.
Source§

fn right_96(self) -> Self

Distance from the parent’s right edge: 384pt.
Source§

fn bottom(self, length: impl IntoReactive<Length>) -> Self

Distance from the parent’s bottom edge
Source§

fn bottom_0(self) -> Self

Distance from the parent’s bottom edge: 0pt.
Source§

fn bottom_0p5(self) -> Self

Distance from the parent’s bottom edge: 2pt.
Source§

fn bottom_1(self) -> Self

Distance from the parent’s bottom edge: 4pt.
Source§

fn bottom_1p5(self) -> Self

Distance from the parent’s bottom edge: 6pt.
Source§

fn bottom_2(self) -> Self

Distance from the parent’s bottom edge: 8pt.
Source§

fn bottom_2p5(self) -> Self

Distance from the parent’s bottom edge: 10pt.
Source§

fn bottom_3(self) -> Self

Distance from the parent’s bottom edge: 12pt.
Source§

fn bottom_3p5(self) -> Self

Distance from the parent’s bottom edge: 14pt.
Source§

fn bottom_4(self) -> Self

Distance from the parent’s bottom edge: 16pt.
Source§

fn bottom_5(self) -> Self

Distance from the parent’s bottom edge: 20pt.
Source§

fn bottom_6(self) -> Self

Distance from the parent’s bottom edge: 24pt.
Source§

fn bottom_7(self) -> Self

Distance from the parent’s bottom edge: 28pt.
Source§

fn bottom_8(self) -> Self

Distance from the parent’s bottom edge: 32pt.
Source§

fn bottom_9(self) -> Self

Distance from the parent’s bottom edge: 36pt.
Source§

fn bottom_10(self) -> Self

Distance from the parent’s bottom edge: 40pt.
Source§

fn bottom_11(self) -> Self

Distance from the parent’s bottom edge: 44pt.
Source§

fn bottom_12(self) -> Self

Distance from the parent’s bottom edge: 48pt.
Source§

fn bottom_14(self) -> Self

Distance from the parent’s bottom edge: 56pt.
Source§

fn bottom_16(self) -> Self

Distance from the parent’s bottom edge: 64pt.
Source§

fn bottom_20(self) -> Self

Distance from the parent’s bottom edge: 80pt.
Source§

fn bottom_24(self) -> Self

Distance from the parent’s bottom edge: 96pt.
Source§

fn bottom_28(self) -> Self

Distance from the parent’s bottom edge: 112pt.
Source§

fn bottom_32(self) -> Self

Distance from the parent’s bottom edge: 128pt.
Source§

fn bottom_36(self) -> Self

Distance from the parent’s bottom edge: 144pt.
Source§

fn bottom_40(self) -> Self

Distance from the parent’s bottom edge: 160pt.
Source§

fn bottom_44(self) -> Self

Distance from the parent’s bottom edge: 176pt.
Source§

fn bottom_48(self) -> Self

Distance from the parent’s bottom edge: 192pt.
Source§

fn bottom_52(self) -> Self

Distance from the parent’s bottom edge: 208pt.
Source§

fn bottom_56(self) -> Self

Distance from the parent’s bottom edge: 224pt.
Source§

fn bottom_60(self) -> Self

Distance from the parent’s bottom edge: 240pt.
Source§

fn bottom_64(self) -> Self

Distance from the parent’s bottom edge: 256pt.
Source§

fn bottom_72(self) -> Self

Distance from the parent’s bottom edge: 288pt.
Source§

fn bottom_80(self) -> Self

Distance from the parent’s bottom edge: 320pt.
Source§

fn bottom_96(self) -> Self

Distance from the parent’s bottom edge: 384pt.
Source§

fn left(self, length: impl IntoReactive<Length>) -> Self

Distance from the parent’s left edge
Source§

fn left_0(self) -> Self

Distance from the parent’s left edge: 0pt.
Source§

fn left_0p5(self) -> Self

Distance from the parent’s left edge: 2pt.
Source§

fn left_1(self) -> Self

Distance from the parent’s left edge: 4pt.
Source§

fn left_1p5(self) -> Self

Distance from the parent’s left edge: 6pt.
Source§

fn left_2(self) -> Self

Distance from the parent’s left edge: 8pt.
Source§

fn left_2p5(self) -> Self

Distance from the parent’s left edge: 10pt.
Source§

fn left_3(self) -> Self

Distance from the parent’s left edge: 12pt.
Source§

fn left_3p5(self) -> Self

Distance from the parent’s left edge: 14pt.
Source§

fn left_4(self) -> Self

Distance from the parent’s left edge: 16pt.
Source§

fn left_5(self) -> Self

Distance from the parent’s left edge: 20pt.
Source§

fn left_6(self) -> Self

Distance from the parent’s left edge: 24pt.
Source§

fn left_7(self) -> Self

Distance from the parent’s left edge: 28pt.
Source§

fn left_8(self) -> Self

Distance from the parent’s left edge: 32pt.
Source§

fn left_9(self) -> Self

Distance from the parent’s left edge: 36pt.
Source§

fn left_10(self) -> Self

Distance from the parent’s left edge: 40pt.
Source§

fn left_11(self) -> Self

Distance from the parent’s left edge: 44pt.
Source§

fn left_12(self) -> Self

Distance from the parent’s left edge: 48pt.
Source§

fn left_14(self) -> Self

Distance from the parent’s left edge: 56pt.
Source§

fn left_16(self) -> Self

Distance from the parent’s left edge: 64pt.
Source§

fn left_20(self) -> Self

Distance from the parent’s left edge: 80pt.
Source§

fn left_24(self) -> Self

Distance from the parent’s left edge: 96pt.
Source§

fn left_28(self) -> Self

Distance from the parent’s left edge: 112pt.
Source§

fn left_32(self) -> Self

Distance from the parent’s left edge: 128pt.
Source§

fn left_36(self) -> Self

Distance from the parent’s left edge: 144pt.
Source§

fn left_40(self) -> Self

Distance from the parent’s left edge: 160pt.
Source§

fn left_44(self) -> Self

Distance from the parent’s left edge: 176pt.
Source§

fn left_48(self) -> Self

Distance from the parent’s left edge: 192pt.
Source§

fn left_52(self) -> Self

Distance from the parent’s left edge: 208pt.
Source§

fn left_56(self) -> Self

Distance from the parent’s left edge: 224pt.
Source§

fn left_60(self) -> Self

Distance from the parent’s left edge: 240pt.
Source§

fn left_64(self) -> Self

Distance from the parent’s left edge: 256pt.
Source§

fn left_72(self) -> Self

Distance from the parent’s left edge: 288pt.
Source§

fn left_80(self) -> Self

Distance from the parent’s left edge: 320pt.
Source§

fn left_96(self) -> Self

Distance from the parent’s left edge: 384pt.
Source§

fn inset(self, length: impl IntoReactive<Length>) -> Self

Distance from every edge of the parent
Source§

fn inset_0(self) -> Self

Distance from every edge of the parent: 0pt.
Source§

fn inset_0p5(self) -> Self

Distance from every edge of the parent: 2pt.
Source§

fn inset_1(self) -> Self

Distance from every edge of the parent: 4pt.
Source§

fn inset_1p5(self) -> Self

Distance from every edge of the parent: 6pt.
Source§

fn inset_2(self) -> Self

Distance from every edge of the parent: 8pt.
Source§

fn inset_2p5(self) -> Self

Distance from every edge of the parent: 10pt.
Source§

fn inset_3(self) -> Self

Distance from every edge of the parent: 12pt.
Source§

fn inset_3p5(self) -> Self

Distance from every edge of the parent: 14pt.
Source§

fn inset_4(self) -> Self

Distance from every edge of the parent: 16pt.
Source§

fn inset_5(self) -> Self

Distance from every edge of the parent: 20pt.
Source§

fn inset_6(self) -> Self

Distance from every edge of the parent: 24pt.
Source§

fn inset_7(self) -> Self

Distance from every edge of the parent: 28pt.
Source§

fn inset_8(self) -> Self

Distance from every edge of the parent: 32pt.
Source§

fn inset_9(self) -> Self

Distance from every edge of the parent: 36pt.
Source§

fn inset_10(self) -> Self

Distance from every edge of the parent: 40pt.
Source§

fn inset_11(self) -> Self

Distance from every edge of the parent: 44pt.
Source§

fn inset_12(self) -> Self

Distance from every edge of the parent: 48pt.
Source§

fn inset_14(self) -> Self

Distance from every edge of the parent: 56pt.
Source§

fn inset_16(self) -> Self

Distance from every edge of the parent: 64pt.
Source§

fn inset_20(self) -> Self

Distance from every edge of the parent: 80pt.
Source§

fn inset_24(self) -> Self

Distance from every edge of the parent: 96pt.
Source§

fn inset_28(self) -> Self

Distance from every edge of the parent: 112pt.
Source§

fn inset_32(self) -> Self

Distance from every edge of the parent: 128pt.
Source§

fn inset_36(self) -> Self

Distance from every edge of the parent: 144pt.
Source§

fn inset_40(self) -> Self

Distance from every edge of the parent: 160pt.
Source§

fn inset_44(self) -> Self

Distance from every edge of the parent: 176pt.
Source§

fn inset_48(self) -> Self

Distance from every edge of the parent: 192pt.
Source§

fn inset_52(self) -> Self

Distance from every edge of the parent: 208pt.
Source§

fn inset_56(self) -> Self

Distance from every edge of the parent: 224pt.
Source§

fn inset_60(self) -> Self

Distance from every edge of the parent: 240pt.
Source§

fn inset_64(self) -> Self

Distance from every edge of the parent: 256pt.
Source§

fn inset_72(self) -> Self

Distance from every edge of the parent: 288pt.
Source§

fn inset_80(self) -> Self

Distance from every edge of the parent: 320pt.
Source§

fn inset_96(self) -> Self

Distance from every edge of the parent: 384pt.
Source§

fn basis(self, length: impl IntoReactive<Length>) -> Self

The flex basis
Source§

fn basis_0(self) -> Self

The flex basis: 0pt.
Source§

fn basis_0p5(self) -> Self

The flex basis: 2pt.
Source§

fn basis_1(self) -> Self

The flex basis: 4pt.
Source§

fn basis_1p5(self) -> Self

The flex basis: 6pt.
Source§

fn basis_2(self) -> Self

The flex basis: 8pt.
Source§

fn basis_2p5(self) -> Self

The flex basis: 10pt.
Source§

fn basis_3(self) -> Self

The flex basis: 12pt.
Source§

fn basis_3p5(self) -> Self

The flex basis: 14pt.
Source§

fn basis_4(self) -> Self

The flex basis: 16pt.
Source§

fn basis_5(self) -> Self

The flex basis: 20pt.
Source§

fn basis_6(self) -> Self

The flex basis: 24pt.
Source§

fn basis_7(self) -> Self

The flex basis: 28pt.
Source§

fn basis_8(self) -> Self

The flex basis: 32pt.
Source§

fn basis_9(self) -> Self

The flex basis: 36pt.
Source§

fn basis_10(self) -> Self

The flex basis: 40pt.
Source§

fn basis_11(self) -> Self

The flex basis: 44pt.
Source§

fn basis_12(self) -> Self

The flex basis: 48pt.
Source§

fn basis_14(self) -> Self

The flex basis: 56pt.
Source§

fn basis_16(self) -> Self

The flex basis: 64pt.
Source§

fn basis_20(self) -> Self

The flex basis: 80pt.
Source§

fn basis_24(self) -> Self

The flex basis: 96pt.
Source§

fn basis_28(self) -> Self

The flex basis: 112pt.
Source§

fn basis_32(self) -> Self

The flex basis: 128pt.
Source§

fn basis_36(self) -> Self

The flex basis: 144pt.
Source§

fn basis_40(self) -> Self

The flex basis: 160pt.
Source§

fn basis_44(self) -> Self

The flex basis: 176pt.
Source§

fn basis_48(self) -> Self

The flex basis: 192pt.
Source§

fn basis_52(self) -> Self

The flex basis: 208pt.
Source§

fn basis_56(self) -> Self

The flex basis: 224pt.
Source§

fn basis_60(self) -> Self

The flex basis: 240pt.
Source§

fn basis_64(self) -> Self

The flex basis: 256pt.
Source§

fn basis_72(self) -> Self

The flex basis: 288pt.
Source§

fn basis_80(self) -> Self

The flex basis: 320pt.
Source§

fn basis_96(self) -> Self

The flex basis: 384pt.
Source§

fn p_safe_area(self) -> Self

Padding on every side by the safe area’s insets where the view renders (CSS’s padding: env(safe-area-inset-*)): the insets of its root view (the surface’s safe area, a dialog’s, or a page’s below its header).
Source§

fn px_safe_area(self) -> Self

Left and right padding by the safe area’s insets on those edges (Styled::p_safe_area).
Source§

fn py_safe_area(self) -> Self

Top and bottom padding by the safe area’s insets on those edges (Styled::p_safe_area).
Source§

fn pt_safe_area(self) -> Self

Top padding by the safe area’s top inset where the view renders (CSS’s padding-top: env(safe-area-inset-top), Styled::p_safe_area).
Source§

fn pt_safe_area_plus(self, extra: impl Into<AbsoluteLength>) -> Self

Top padding by the safe area’s top inset plus extra (CSS’s padding-top: calc(env(safe-area-inset-top) + <extra>)); extra is not negative.
Source§

fn pr_safe_area(self) -> Self

Right padding by the safe area’s right inset where the view renders (CSS’s padding-right: env(safe-area-inset-right), Styled::p_safe_area).
Source§

fn pr_safe_area_plus(self, extra: impl Into<AbsoluteLength>) -> Self

Right padding by the safe area’s right inset plus extra (CSS’s padding-right: calc(env(safe-area-inset-right) + <extra>)); extra is not negative.
Source§

fn pb_safe_area(self) -> Self

Bottom padding by the safe area’s bottom inset where the view renders (CSS’s padding-bottom: env(safe-area-inset-bottom), Styled::p_safe_area).
Source§

fn pb_safe_area_plus(self, extra: impl Into<AbsoluteLength>) -> Self

Bottom padding by the safe area’s bottom inset plus extra (CSS’s padding-bottom: calc(env(safe-area-inset-bottom) + <extra>)); extra is not negative.
Source§

fn pl_safe_area(self) -> Self

Left padding by the safe area’s left inset where the view renders (CSS’s padding-left: env(safe-area-inset-left), Styled::p_safe_area).
Source§

fn pl_safe_area_plus(self, extra: impl Into<AbsoluteLength>) -> Self

Left padding by the safe area’s left inset plus extra (CSS’s padding-left: calc(env(safe-area-inset-left) + <extra>)); extra is not negative.
Source§

fn pb_keyboard(self) -> Self

Bottom padding by the software keyboard’s height over the surface, 0 while it is hidden (CSS’s padding-bottom: env(keyboard-inset-height)): content kept above the keyboard, moving with it natively. For a view that reaches the bottom of the surface.
Source§

fn pb_keyboard_plus(self, extra: impl Into<AbsoluteLength>) -> Self

Bottom padding by the keyboard’s height plus extra (CSS’s padding-bottom: calc(env(keyboard-inset-height) + <extra>), Styled::pb_keyboard); extra is not negative.
Source§

fn m_safe_area(self) -> Self

Margin on every side by the safe area’s insets where the view renders (CSS’s margin: env(safe-area-inset-*)): the insets of its root view (the surface’s safe area, a dialog’s, or a page’s below its header).
Source§

fn mx_safe_area(self) -> Self

Left and right margin by the safe area’s insets on those edges (Styled::m_safe_area).
Source§

fn my_safe_area(self) -> Self

Top and bottom margin by the safe area’s insets on those edges (Styled::m_safe_area).
Source§

fn mt_safe_area(self) -> Self

Top margin by the safe area’s top inset where the view renders (CSS’s margin-top: env(safe-area-inset-top), Styled::m_safe_area).
Source§

fn mt_safe_area_plus(self, extra: impl Into<AbsoluteLength>) -> Self

Top margin by the safe area’s top inset plus extra (CSS’s margin-top: calc(env(safe-area-inset-top) + <extra>)).
Source§

fn mr_safe_area(self) -> Self

Right margin by the safe area’s right inset where the view renders (CSS’s margin-right: env(safe-area-inset-right), Styled::m_safe_area).
Source§

fn mr_safe_area_plus(self, extra: impl Into<AbsoluteLength>) -> Self

Right margin by the safe area’s right inset plus extra (CSS’s margin-right: calc(env(safe-area-inset-right) + <extra>)).
Source§

fn mb_safe_area(self) -> Self

Bottom margin by the safe area’s bottom inset where the view renders (CSS’s margin-bottom: env(safe-area-inset-bottom), Styled::m_safe_area).
Source§

fn mb_safe_area_plus(self, extra: impl Into<AbsoluteLength>) -> Self

Bottom margin by the safe area’s bottom inset plus extra (CSS’s margin-bottom: calc(env(safe-area-inset-bottom) + <extra>)).
Source§

fn ml_safe_area(self) -> Self

Left margin by the safe area’s left inset where the view renders (CSS’s margin-left: env(safe-area-inset-left), Styled::m_safe_area).
Source§

fn ml_safe_area_plus(self, extra: impl Into<AbsoluteLength>) -> Self

Left margin by the safe area’s left inset plus extra (CSS’s margin-left: calc(env(safe-area-inset-left) + <extra>)).
Source§

fn mb_keyboard(self) -> Self

Bottom margin by the software keyboard’s height over the surface, 0 while it is hidden (CSS’s margin-bottom: env(keyboard-inset-height)): content kept above the keyboard, moving with it natively. For a view that reaches the bottom of the surface.
Source§

fn mb_keyboard_plus(self, extra: impl Into<AbsoluteLength>) -> Self

Bottom margin by the keyboard’s height plus extra (CSS’s margin-bottom: calc(env(keyboard-inset-height) + <extra>), Styled::mb_keyboard).
Source§

fn flex(self) -> Self

Flex layout, its children in a row unless a direction is set (CSS’s display: flex, Tailwind’s flex). A view that sets no display lays its children out in a column.
Source§

fn grid(self) -> Self

Grid layout.
Source§

fn grid_cols(self, count: impl IntoReactive<u16>) -> Self

count equal grid columns (Tailwind’s grid-cols-3).
Source§

fn grid_rows(self, count: impl IntoReactive<u16>) -> Self

count equal grid rows.
Source§

fn grid_template_columns(self, tracks: impl IntoReactive<SharedString>) -> Self

The grid’s columns as CSS tracks ("200px 1fr", "repeat(auto-fill, minmax(80px, 1fr))", line names).
Source§

fn grid_template_rows(self, tracks: impl IntoReactive<SharedString>) -> Self

The grid’s rows as CSS tracks.
Source§

fn grid_flow_col(self) -> Self

Items fill the grid column by column.
Source§

fn grid_flow_dense(self) -> Self

Items fill the grid’s holes left by larger ones.
Source§

fn col_span(self, count: impl IntoReactive<u16>) -> Self

In the grid, count columns wide.
Source§

fn row_span(self, count: impl IntoReactive<u16>) -> Self

In the grid, count rows high.
Source§

fn col_span_full(self) -> Self

Across every column of the grid.
Source§

fn row_span_full(self) -> Self

Across every row of the grid.
Source§

fn col_start(self, line: impl IntoReactive<i16>) -> Self

Starts at column line line (1 is the first; negative from the end).
Source§

fn col_end(self, line: impl IntoReactive<i16>) -> Self

Ends at column line line.
Source§

fn row_start(self, line: impl IntoReactive<i16>) -> Self

Starts at row line line.
Source§

fn row_end(self, line: impl IntoReactive<i16>) -> Self

Ends at row line line.
Source§

fn hidden(self) -> Self

Not laid out nor shown.
Source§

fn invisible(self) -> Self

Laid out but not shown, nor what is inside it (CSS’s visibility: hidden, Tailwind’s invisible, GPUI’s Styled::invisible): it keeps its place and frame, and takes no presses or keyboard focus. On a text nested in another (a span), its characters keep their place in the lines and are left out of copies and screen readers.
Source§

fn flex_row(self) -> Self

Children in a row.
Source§

fn flex_row_reverse(self) -> Self

Children in a row, last first.
Source§

fn flex_col(self) -> Self

Children in a column (the default of a view that sets no display).
Source§

fn flex_col_reverse(self) -> Self

Children in a column, last first.
Source§

fn flex_wrap(self) -> Self

Children wrap onto new lines.
Source§

fn flex_1(self) -> Self

Grows and shrinks, ignoring its own size (flex: 1 1 0).
Source§

fn flex_auto(self) -> Self

Grows and shrinks from its own size (flex: 1 1 auto).
Source§

fn flex_none(self) -> Self

Neither grows nor shrinks.
Source§

fn flex_grow(self, factor: impl IntoReactive<f32>) -> Self

Takes free space, factor times as much as a sibling growing by 1 (flex-grow; Tailwind’s grow-*).
Source§

fn flex_shrink(self, factor: impl IntoReactive<f32>) -> Self

Gives up space when there is too little, factor times as much as a sibling shrinking by 1 (flex-shrink).
Source§

fn flex_shrink_0(self) -> Self

Never shrinks.
Source§

fn items_start(self) -> Self

Children at the cross axis’ start.
Source§

fn items_center(self) -> Self

Children centered on the cross axis.
Source§

fn items_end(self) -> Self

Children at the cross axis’ end.
Source§

fn items_stretch(self) -> Self

Children stretched across (the default).
Source§

fn items_baseline(self) -> Self

Children aligned on their text baseline.
Source§

fn justify_start(self) -> Self

Children at the main axis’ start (the default).
Source§

fn justify_center(self) -> Self

Children centered on the main axis.
Source§

fn justify_end(self) -> Self

Children at the main axis’ end.
Source§

fn justify_between(self) -> Self

Free space between children.
Source§

fn justify_around(self) -> Self

Free space around children.
Source§

fn justify_evenly(self) -> Self

Free space evenly between and around children.
Source§

fn content_start(self) -> Self

Wrapped lines at the cross axis’ start (alignContent, the default; Tailwind’s content-start).
Source§

fn content_center(self) -> Self

Wrapped lines centered on the cross axis (content-center).
Source§

fn content_end(self) -> Self

Wrapped lines at the cross axis’ end (content-end).
Source§

fn content_between(self) -> Self

Free space between wrapped lines (content-between).
Source§

fn content_around(self) -> Self

Free space around wrapped lines (content-around).
Source§

fn content_evenly(self) -> Self

Free space evenly between and around wrapped lines (content-evenly).
Source§

fn content_stretch(self) -> Self

Wrapped lines stretched to fill the cross axis (content-stretch).
Source§

fn self_start(self) -> Self

Itself at the cross axis’ start.
Source§

fn self_center(self) -> Self

Itself centered on the cross axis.
Source§

fn self_end(self) -> Self

Itself at the cross axis’ end.
Source§

fn self_stretch(self) -> Self

Itself stretched across.
Source§

fn w_full(self) -> Self

The parent’s full width.
Source§

fn h_full(self) -> Self

The parent’s full height.
Source§

fn size_full(self) -> Self

The parent’s full size.
Source§

fn aspect_ratio(self, ratio: impl IntoReactive<f32>) -> Self

Width over height.
Source§

fn aspect_square(self) -> Self

As wide as high.
Source§

fn relative(self) -> Self

Laid out in the flow (the default).
Source§

fn absolute(self) -> Self

Out of the flow, placed by top / left / … in the parent.
Source§

fn sticky(self) -> Self

In the flow, and while its parent shows it sticks top (in a horizontal scroll view left) from the start of the viewport of the scroll view around it, as far as the end of its parent’s content box (CSS position: sticky; .top(..) / .bind_sticky_top(..) say where).
Source§

fn overflow_hidden(self) -> Self

Clips its children.
Source§

fn z_index(self, z: impl IntoReactive<i32>) -> Self

Stacking order among siblings.
Source§

fn bg(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The background color.
Source§

fn opacity(self, opacity: impl IntoReactive<f32>) -> Self

Opacity, 0 (invisible) to 1.
Source§

fn rounded(self, radius: impl IntoReactive<Length>) -> Self

The corner radius.
Source§

fn rounded_none(self) -> Self

No rounded corners.
Source§

fn rounded_xs(self) -> Self

2pt corners.
Source§

fn rounded_sm(self) -> Self

4pt corners.
Source§

fn rounded_md(self) -> Self

6pt corners.
Source§

fn rounded_lg(self) -> Self

8pt corners.
Source§

fn rounded_xl(self) -> Self

12pt corners.
Source§

fn rounded_2xl(self) -> Self

16pt corners.
Source§

fn rounded_3xl(self) -> Self

24pt corners.
Source§

fn rounded_full(self) -> Self

Fully round ends (pills, circles).
Source§

fn rounded_t(self, radius: impl IntoReactive<Length>) -> Self

The top corners’ radius.
Source§

fn rounded_b(self, radius: impl IntoReactive<Length>) -> Self

The bottom corners’ radius.
Source§

fn border(self, width: impl IntoReactive<AbsoluteLength>) -> Self

The border width on all sides.
Source§

fn border_1(self) -> Self

A 1pt border.
Source§

fn border_2(self) -> Self

A 2pt border.
Source§

fn border_t_1(self) -> Self

A 1pt top border.
Source§

fn border_b_1(self) -> Self

A 1pt bottom border.
Source§

fn border_l_1(self) -> Self

A 1pt left border.
Source§

fn border_r_1(self) -> Self

A 1pt right border.
Source§

fn border_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The border color.
Source§

fn border_t(self, width: impl IntoReactive<AbsoluteLength>) -> Self

The top border’s width.
Source§

fn border_r(self, width: impl IntoReactive<AbsoluteLength>) -> Self

The right border’s width.
Source§

fn border_b(self, width: impl IntoReactive<AbsoluteLength>) -> Self

The bottom border’s width.
Source§

fn border_l(self, width: impl IntoReactive<AbsoluteLength>) -> Self

The left border’s width.
Source§

fn border_x(self, width: impl IntoReactive<AbsoluteLength>) -> Self

The left and right borders’ width.
Source§

fn border_y(self, width: impl IntoReactive<AbsoluteLength>) -> Self

The top and bottom borders’ width.
Source§

fn border_s(self, width: impl IntoReactive<AbsoluteLength>) -> Self

The leading border’s width (left in left-to-right layouts).
Source§

fn border_e(self, width: impl IntoReactive<AbsoluteLength>) -> Self

The trailing border’s width.
Source§

fn border_t_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The top border’s color.
Source§

fn border_r_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The right border’s color.
Source§

fn border_b_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The bottom border’s color.
Source§

fn border_l_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The left border’s color.
Source§

fn border_x_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The left and right borders’ color.
Source§

fn border_y_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The top and bottom borders’ color.
Source§

fn border_s_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The leading border’s color.
Source§

fn border_e_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The trailing border’s color.
Source§

fn border_solid(self) -> Self

Solid borders (the default).
Source§

fn border_dashed(self) -> Self

Dashed borders.
Source§

fn border_dotted(self) -> Self

Dotted borders.
Source§

fn border_none(self) -> Self

No border, whatever the widths set before or after (they take no space); Styled::border_solid and the other styles show it again.
Source§

fn border_curve(self, curve: BorderCurve) -> Self

The shape of its rounded corners.
Source§

fn rounded_tl(self, radius: impl IntoReactive<Length>) -> Self

The top left corner’s radius.
Source§

fn rounded_tr(self, radius: impl IntoReactive<Length>) -> Self

The top right corner’s radius.
Source§

fn rounded_br(self, radius: impl IntoReactive<Length>) -> Self

The bottom right corner’s radius.
Source§

fn rounded_bl(self, radius: impl IntoReactive<Length>) -> Self

The bottom left corner’s radius.
Source§

fn rounded_l(self, radius: impl IntoReactive<Length>) -> Self

The left corners’ radius.
Source§

fn rounded_r(self, radius: impl IntoReactive<Length>) -> Self

The right corners’ radius.
Source§

fn rounded_ss(self, radius: impl IntoReactive<Length>) -> Self

The top leading corner’s radius (top left in left-to-right layouts; Tailwind’s rounded-ss).
Source§

fn rounded_se(self, radius: impl IntoReactive<Length>) -> Self

The top trailing corner’s radius (rounded-se).
Source§

fn rounded_ee(self, radius: impl IntoReactive<Length>) -> Self

The bottom trailing corner’s radius (rounded-ee).
Source§

fn rounded_es(self, radius: impl IntoReactive<Length>) -> Self

The bottom leading corner’s radius (rounded-es).
Source§

fn rounded_s(self, radius: impl IntoReactive<Length>) -> Self

The leading corners’ radius.
Source§

fn rounded_e(self, radius: impl IntoReactive<Length>) -> Self

The trailing corners’ radius.
Source§

fn outline(self, width: impl Into<AbsoluteLength>) -> Self

An outline width wide, outside the border; it takes no space. Solid unless a style method says otherwise, before or after it.
Source§

fn outline_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The outline’s color.
Source§

fn outline_offset(self, offset: impl IntoReactive<AbsoluteLength>) -> Self

The outline’s distance from the border (negative: inside it).
Source§

fn outline_dashed(self) -> Self

A dashed outline (3 points wide unless Styled::outline sets a width, as CSS’s medium).
Source§

fn outline_dotted(self) -> Self

A dotted outline (3 points wide unless Styled::outline sets a width).
Source§

fn outline_none(self) -> Self

No outline.
Source§

fn shadow_none(self) -> Self

No shadow.
Source§

fn shadow_2xs(self) -> Self

Tailwind’s shadow-2xs.
Source§

fn shadow_xs(self) -> Self

Tailwind’s shadow-xs.
Source§

fn shadow_sm(self) -> Self

Tailwind’s shadow-sm.
Source§

fn shadow_md(self) -> Self

Tailwind’s shadow-md.
Source§

fn shadow_lg(self) -> Self

Tailwind’s shadow-lg.
Source§

fn shadow_xl(self) -> Self

Tailwind’s shadow-xl.
Source§

fn shadow_2xl(self) -> Self

Tailwind’s shadow-2xl.
Source§

fn shadow(self, layers: impl IntoIterator<Item = BoxShadow>) -> Self

Box shadows of its own (CSS’s box-shadow: offsets, blur, spread, color, inset), instead of a preset’s.
Source§

fn shadow_color(self, color: impl Into<AdaptiveColor>) -> Self

The shadow’s color: of the presets’ layers (an opaque color keeps their alpha, Tailwind’s shadow-sky-500; one with an alpha sets it, shadow-sky-500/50).
Source§

fn inset_shadow_2xs(self) -> Self

Tailwind’s inset-shadow-2xs.
Source§

fn inset_shadow_xs(self) -> Self

Tailwind’s inset-shadow-xs.
Source§

fn inset_shadow_sm(self) -> Self

Tailwind’s inset-shadow-sm.
Source§

fn inset_shadow_none(self) -> Self

No inset shadow.
Source§

fn inset_shadow_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The inset shadow’s color (as Styled::shadow_color for the presets).
Source§

fn ring(self, width: impl IntoReactive<AbsoluteLength>) -> Self

A ring width wide around the border (a solid shadow; it takes no space), in the text color unless Styled::ring_color.
Source§

fn ring_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The ring’s color.
Source§

fn ring_offset(self, width: impl IntoReactive<AbsoluteLength>) -> Self

A gap of width between the border and the ring.
Source§

fn ring_offset_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The gap’s color (white by default).
Source§

fn ring_inset(self) -> Self

The ring inside the border instead.
Source§

fn inset_ring(self, width: impl IntoReactive<AbsoluteLength>) -> Self

A second ring width wide, inside the border.
Source§

fn inset_ring_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The inside ring’s color.
Source§

fn bg_linear(self, angle: impl IntoReactive<Radians>) -> Self

A linear gradient over the background, along angle (0 up, deg(90.0) right), from Styled::gradient_from through Styled::gradient_via to Styled::gradient_to.
Source§

fn bg_linear_to_t(self) -> Self

A linear gradient towards the top.
Source§

fn bg_linear_to_r(self) -> Self

A linear gradient towards the right.
Source§

fn bg_linear_to_b(self) -> Self

A linear gradient towards the bottom.
Source§

fn bg_linear_to_l(self) -> Self

A linear gradient towards the left.
Source§

fn bg_linear_to_tr(self) -> Self

A linear gradient towards the top right corner.
Source§

fn bg_linear_to_br(self) -> Self

A linear gradient towards the bottom right corner.
Source§

fn bg_linear_to_bl(self) -> Self

A linear gradient towards the bottom left corner.
Source§

fn bg_linear_to_tl(self) -> Self

A linear gradient towards the top left corner.
Source§

fn bg_radial(self) -> Self

A radial gradient from the center to the farthest corner.
Source§

fn bg_conic(self, angle: impl IntoReactive<Radians>) -> Self

A conic gradient around the center, starting at angle (0 up).
Source§

fn bg_gradient_none(self) -> Self

No gradient.
Source§

fn gradient_from(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The gradient’s first color (transparent by default).
Source§

fn gradient_via(self, color: impl IntoReactive<AdaptiveColor>) -> Self

A color in the middle of the gradient.
Source§

fn gradient_to(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The gradient’s last color (transparent by default).
Source§

fn gradient_from_position(self, at: impl IntoReactive<Percentage>) -> Self

Where the first color is along the gradient (0% by default).
Source§

fn gradient_via_position(self, at: impl IntoReactive<Percentage>) -> Self

Where the middle color is (50% by default).
Source§

fn gradient_to_position(self, at: impl IntoReactive<Percentage>) -> Self

Where the last color is (100% by default).
Source§

fn mask_linear( self, angle: impl IntoReactive<Radians>, stops: impl IntoReactive<Vec<ColorStop>>, ) -> Self

Masks the view and its content with a linear gradient’s alpha: opaque stops reveal it, transparent stops hide it. Colors do not tint it. The angle follows CSS (0 up, deg(90.0) right). Stops accept colors or (color, position) pairs, with typed fractions or lengths. Both arguments accept signals and closures (Vec<ColorStop> for reactive stops); static values create no binding. .mask_linear(deg(90.0), [transparent_black(), black(), transparent_black()]). An empty stop vector clears the mask reactively. Includes backdrop filters. Not drawn on Windows and GPUI.
Source§

fn mask_radial(self, stops: impl IntoReactive<Vec<ColorStop>>) -> Self

Masks with an elliptical gradient from the center to the farthest corner. Stops and platform support follow Styled::mask_linear. Use a Vec<ColorStop> for signal/closure results, or an array of colors/pairs for static stops. An empty vector clears the mask reactively.
Source§

fn mask_none(self) -> Self

Clears the gradient mask, including in state styles.
Source§

fn clip_path(self, clip: impl IntoReactive<ClipInset>) -> Self

Clips everything it draws, the elements in it included, to clip (CSS’s clip-path: inset(..)): a rectangle inset from its box with rounded corners, outside which presses reach neither it nor what is in it. Its changes animate with Styled::transition_clip_path (or Styled::transition_all), so a panel opens out of a corner: .clip_path(ClipInset::new().bottom(percentage(1.0)).left(percentage(1.0)).rounded(px(12.0))) while closed, .clip_path(ClipInset::new().rounded(px(12.0))) open.
Source§

fn clip_path_none(self) -> Self

Clears the clip path, including in state styles.
Source§

fn blur(self, radius: impl Into<Points>) -> Self

Blurs it and its content by radius (Tailwind’s blur-sm is 8 points).
Source§

fn brightness(self, amount: f32) -> Self

Brightens (> 1) or darkens (< 1) it.
Source§

fn contrast(self, amount: f32) -> Self

Raises (> 1) or lowers (< 1) its contrast.
Source§

fn grayscale(self, amount: f32) -> Self

Turns it gray (1: fully).
Source§

fn hue_rotate(self, angle: impl Into<Radians>) -> Self

Turns its hues by angle.
Source§

fn invert(self, amount: f32) -> Self

Inverts its colors (1: fully).
Source§

fn saturate(self, amount: f32) -> Self

Saturates (> 1) or desaturates (< 1) it.
Source§

fn sepia(self, amount: f32) -> Self

Tones it sepia (1: fully).
Source§

fn filter_none(self) -> Self

No filters.
Source§

fn backdrop_blur(self, radius: impl Into<Points>) -> Self

Blurs what is behind it by radius (frosted glass; give it a translucent background).
Source§

fn backdrop_brightness(self, amount: f32) -> Self

Brightens or darkens what is behind it.
Source§

fn backdrop_contrast(self, amount: f32) -> Self

Changes the contrast of what is behind it.
Source§

fn backdrop_grayscale(self, amount: f32) -> Self

Turns what is behind it gray.
Source§

fn backdrop_hue_rotate(self, angle: impl Into<Radians>) -> Self

Turns the hues of what is behind it.
Source§

fn backdrop_invert(self, amount: f32) -> Self

Inverts what is behind it.
Source§

fn backdrop_opacity(self, amount: f32) -> Self

Fades what is behind it.
Source§

fn backdrop_saturate(self, amount: f32) -> Self

Saturates what is behind it.
Source§

fn backdrop_sepia(self, amount: f32) -> Self

Tones what is behind it sepia.
Source§

fn backdrop_filter_none(self) -> Self

No backdrop filters.
Source§

fn mix_blend_mode(self, mode: BlendMode) -> Self

How it blends with what is behind it.
Source§

fn pointer_events( self, pointer_events: impl IntoReactive<PointerEvents>, ) -> Self

Which touches it and the views in it take (pointerEvents): PointerEvents::None none, for the views in it too unless one says Auto; BoxNone none on itself; BoxOnly none on the views in it.
Source§

fn select_text(self) -> Self

Its texts can be selected and copied (userSelect: "text", Tailwind’s select-text).
Source§

fn select_none(self) -> Self

Its texts cannot be selected (userSelect: "none", Tailwind’s select-none).
Source§

fn glass_effect(self, glass: GlassEffect) -> Self

Apple’s Liquid Glass behind the element (glassEffect; iOS 26 and macOS 26), its backdropFilter elsewhere.
Source§

fn glass_tint_color( self, color: impl IntoReactive<Option<AdaptiveColor>>, ) -> Self

The tint of the glass material (glassTintColor). A color tints the native glass; None restores its default. Bind an optional adaptive color to set and clear the tint; static colors can be passed directly. Has no effect without glassEffect.
Source§

fn cursor(self, cursor: Cursor) -> Self

The pointer’s look over the element (cursor; desktops, and iPad and Android with a mouse).
Source§

fn cursor_pointer(self) -> Self

The pointing hand over the element: something to press (Tailwind’s cursor-pointer).
Source§

fn transition(self) -> Self

Changes of colors, opacity, shadows and transforms animate (Tailwind’s transition: 150ms, ease-in-out by default).
Source§

fn transition_all(self) -> Self

Changes of everything that can animate do.
Source§

fn transition_colors(self) -> Self

Changes of colors animate.
Source§

fn transition_opacity(self) -> Self

Changes of opacity animate.
Source§

fn transition_shadow(self) -> Self

Changes of shadows animate.
Source§

fn transition_transform(self) -> Self

Changes of the transform animate.
Source§

fn transition_clip_path(self) -> Self

Changes of the clip path animate (CSS’s transition-property: clip-path).
Source§

fn transition_mask(self) -> Self

Changes of the mask animate (CSS’s transition-property: mask-image): gradients of the same shape and stop count move stop by stop; any other change applies at once.
Source§

fn transition_none(self) -> Self

Changes jump.
Source§

fn duration(self, ms: impl IntoReactive<f32>) -> Self

Transitions last ms milliseconds.
Source§

fn delay(self, ms: impl IntoReactive<f32>) -> Self

Transitions start after ms milliseconds.
Source§

fn ease_linear(self) -> Self

Transitions at a constant pace.
Source§

fn ease_in(self) -> Self

Transitions that start slowly.
Source§

fn ease_out(self) -> Self

Transitions that end slowly.
Source§

fn ease_in_out(self) -> Self

Transitions that start and end slowly.
Source§

fn ease_bezier(self, x1: f32, y1: f32, x2: f32, y2: f32) -> Self

Transitions along the cubic Bézier curve x1, y1, x2, y2 (a y outside 0..1 overshoots).
Source§

fn ease_spring(self, spring: Spring) -> Self

Transitions on a spring’s physics (its stiffness, damping and mass; Tailwind extension ease-spring-[620,36]): they time themselves, lasting until the spring settles (Spring::settle_ms), so Self::duration is not used. A spring that cannot settle (a stiffness, damping or mass that is not positive) sets nothing.
Source§

fn animate_spin(self) -> Self

Turns around, forever (Tailwind’s animate-spin: a loader).
Source§

fn animate_ping(self) -> Self

Scales up and fades out, forever (animate-ping: a badge’s pulse).
Source§

fn animate_pulse(self) -> Self

Fades to half and back, forever (animate-pulse: a skeleton).
Source§

fn animate_bounce(self) -> Self

Jumps and lands, forever (animate-bounce).
Source§

fn animation(self, animation: KeyframeAnimation) -> Self

A keyframe animation with its own timing (TS: animationName with animationDuration, animationDelay, animationTimingFunction, animationIterationCount, animationFrameRate): .animation(KeyframeAnimation::new(Keyframes::Spin).duration(800.0)).
Source§

fn animate_none(self) -> Self

No keyframe animation.
Source§

fn scale(self, scale: impl IntoReactive<f32>) -> Self

Scales from the center (1 is the natural size).
Source§

fn scale_x(self, scale: impl IntoReactive<f32>) -> Self

Scales horizontally.
Source§

fn scale_y(self, scale: impl IntoReactive<f32>) -> Self

Scales vertically.
Source§

fn translate_x(self, offset: impl IntoReactive<DefiniteLength>) -> Self

Moves horizontally by offset (after layout): points, or a fraction of its own width (relative(-0.5)).
Source§

fn translate_y(self, offset: impl IntoReactive<DefiniteLength>) -> Self

Moves vertically by offset (after layout): points, or a fraction of its own height.
Source§

fn rotate(self, angle: impl IntoReactive<Radians>) -> Self

Rotates by angle, clockwise.
Source§

fn rotate_x(self, angle: impl IntoReactive<Radians>) -> Self

Rotates by angle around the horizontal axis (3D; in a view with Styled::perspective it tilts towards the viewer).
Source§

fn rotate_y(self, angle: impl IntoReactive<Radians>) -> Self

Rotates by angle around the vertical axis (3D).
Source§

fn skew_x(self, angle: impl IntoReactive<Radians>) -> Self

Slants vertical edges by angle (iOS; Android has no skew).
Source§

fn skew_y(self, angle: impl IntoReactive<Radians>) -> Self

Slants horizontal edges by angle (iOS).
Source§

fn perspective(self, distance: impl IntoReactive<AbsoluteLength>) -> Self

Gives its children depth: their 3D rotations are seen from distance away (smaller: stronger), from its center (CSS’s perspective, perspective-*).
Source§

fn transform_step( self, kind: TransformKind, amount: impl IntoReactive<f32>, ) -> Self

The step kind of its transform, by amount. The steps compose in CSS’s order, whatever the order of the calls: translate, rotate, scale, then the 3D rotations and the skews. TransformKind::Perspective is Styled::perspective, its children’s depth.
Source§

fn transform_none(self) -> Self

No 3D rotations and skews (CSS’s transform: none; the translation, rotation and scale are properties of their own, which Styled::translate_none, Styled::rotate_none and Styled::scale_none remove).
Source§

fn translate_none(self) -> Self

No translation (also none set before).
Source§

fn scale_none(self) -> Self

No scale (also none set before).
Source§

fn rotate_none(self) -> Self

No rotation (also none set before; the 3D rotations stay).
Source§

fn transform_origin(self, origin: TransformOrigin) -> Self

The point its transform turns and scales around (the center by default).
Source§

fn origin_top_left(self) -> Self

Transforms around its top left corner.
Source§

fn origin_top(self) -> Self

Transforms around the middle of its top edge.
Source§

fn origin_top_right(self) -> Self

Transforms around its top right corner.
Source§

fn origin_left(self) -> Self

Transforms around the middle of its left edge.
Source§

fn origin_center(self) -> Self

Transforms around its center (the default).
Source§

fn origin_right(self) -> Self

Transforms around the middle of its right edge.
Source§

fn origin_bottom_left(self) -> Self

Transforms around its bottom left corner.
Source§

fn origin_bottom(self) -> Self

Transforms around the middle of its bottom edge.
Source§

fn origin_bottom_right(self) -> Self

Transforms around its bottom right corner.
Source§

fn object_fit(self, fit: impl IntoReactive<ResizeMode>) -> Self

How an image or a video fits its box (objectFit): Cover (an image’s default), Contain (a video’s), Stretch (CSS’s fill), Center (none) or ScaleDown.
Source§

fn object_position(self, position: ObjectPosition) -> Self

Where an image sits in its box once its resize mode has sized it (CSS’s object-position; the center by default): a covering image is cropped around it.
Source§

fn object_top_left(self) -> Self

Shows an image’s top left corner (Tailwind’s object-top-left).
Source§

fn object_top(self) -> Self

Shows an image’s top (Tailwind’s object-top): a tall image covering its box is cropped at the bottom.
Source§

fn object_top_right(self) -> Self

Shows an image’s top right corner (Tailwind’s object-top-right).
Source§

fn object_left(self) -> Self

Shows an image’s left side (Tailwind’s object-left).
Source§

fn object_center(self) -> Self

Centers an image in its box (Tailwind’s object-center, the default).
Source§

fn object_right(self) -> Self

Shows an image’s right side (Tailwind’s object-right).
Source§

fn object_bottom_left(self) -> Self

Shows an image’s bottom left corner (Tailwind’s object-bottom-left).
Source§

fn object_bottom(self) -> Self

Shows an image’s bottom (Tailwind’s object-bottom).
Source§

fn object_bottom_right(self) -> Self

Shows an image’s bottom right corner (Tailwind’s object-bottom-right).
Source§

fn backface_hidden(self) -> Self

Invisible while its 3D rotations turn it away (a card’s back).
Source§

fn backface_visible(self) -> Self

Visible from behind too (the default).
Source§

fn text_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The text color.
Source§

fn tint_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The tint color (Tailwind’s tint-*): of template images, and of a page header’s buttons in super::Screen::header_style_with.
Source§

fn accent_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The color a system control shows its state in (accentColor, CSS’s accent-color, Tailwind’s accent-*), which a native component gets as its accentColor prop, such as the track of a system switch when on. Set on the control itself; it is not inherited.
Source§

fn fill_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

What the shapes the element draws are filled with (fill, Tailwind’s fill-<color>; the elements inside inherit it, as in CSS): the areas of nsh_base::plot.
Source§

fn fill_none(self) -> Self

No fill (fill-none).
Source§

fn fill_current(self) -> Self

The text color as the fill (fill-current, currentColor).
Source§

fn stroke_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

What the outlines of the shapes the element draws are painted with (stroke, Tailwind’s stroke-<color>; inherited, as in CSS): the lines and grids of nsh_base::plot.
Source§

fn stroke_none(self) -> Self

No stroke (stroke-none).
Source§

fn stroke_current(self) -> Self

The text color as the stroke (stroke-current, currentColor).
Source§

fn stroke_width(self, width: impl IntoReactive<AbsoluteLength>) -> Self

The width of those outlines (strokeWidth, Tailwind’s stroke-<number>; 1 by default, inherited).
Source§

fn text_size(self, size: impl IntoReactive<Length>) -> Self

The font size, in points.
Source§

fn text_xs(self) -> Self

12pt text, 16pt lines.
Source§

fn text_sm(self) -> Self

14pt text, 20pt lines.
Source§

fn text_base(self) -> Self

16pt text, 24pt lines.
Source§

fn text_lg(self) -> Self

18pt text, 28pt lines.
Source§

fn text_xl(self) -> Self

20pt text, 28pt lines.
Source§

fn text_2xl(self) -> Self

24pt text, 32pt lines.
Source§

fn text_3xl(self) -> Self

30pt text, 36pt lines.
Source§

fn text_4xl(self) -> Self

36pt text, 40pt lines.
Source§

fn text_5xl(self) -> Self

48pt text, 48pt lines.
Source§

fn text_6xl(self) -> Self

60pt text, 60pt lines.
Source§

fn text_7xl(self) -> Self

72pt text, 72pt lines.
Source§

fn text_8xl(self) -> Self

96pt text, 96pt lines.
Source§

fn text_9xl(self) -> Self

128pt text, 128pt lines.
Source§

fn line_height(self, height: impl IntoReactive<LineHeight>) -> Self

The line height: points (px(20.0)), or a multiple of the font size (LineHeight::Multiple(1.5)).
Source§

fn font_weight(self, weight: FontWeight) -> Self

The font weight.
Source§

fn font_family(self, family: impl IntoReactive<SharedString>) -> Self

The font family (None style: the system font is the default).
Source§

fn italic(self) -> Self

Italic text.
Source§

fn underline(self) -> Self

Underlined text (with Styled::line_through, both lines).
Source§

fn line_through(self) -> Self

Struck-through text (with Styled::underline, both lines).
Source§

fn no_underline(self) -> Self

No underline nor strike-through.
Source§

fn text_decoration_color(self, color: impl IntoReactive<AdaptiveColor>) -> Self

The color of the underline and strike-through (the text’s by default).
Source§

fn text_decoration_solid(self) -> Self

Solid decoration lines (the default).
Source§

fn text_decoration_double(self) -> Self

Double decoration lines.
Source§

fn text_decoration_dotted(self) -> Self

Dotted decoration lines.
Source§

fn text_decoration_dashed(self) -> Self

Dashed decoration lines.
Source§

fn text_decoration_wavy(self) -> Self

Wavy decoration lines (spelling marks).
Source§

fn text_decoration_thickness(self, thickness: impl IntoReactive<Points>) -> Self

The decoration lines’ thickness.
Source§

fn underline_offset(self, offset: impl IntoReactive<Points>) -> Self

The underline’s distance below the baseline.
Source§

fn uppercase(self) -> Self

Shown in capitals (the content stays as it is).
Source§

fn lowercase(self) -> Self

Shown in small letters.
Source§

fn capitalize(self) -> Self

Each word shown with a capital first letter.
Source§

fn normal_case(self) -> Self

Shown as written (undoes an inherited case).
Source§

fn tabular_nums(self) -> Self

Digits of one width, for columns of numbers.
Source§

fn proportional_nums(self) -> Self

Digits of their own widths (the default).
Source§

fn oldstyle_nums(self) -> Self

Old-style digits, with ascenders and descenders.
Source§

fn lining_nums(self) -> Self

Lining digits, all of capital height.
Source§

fn small_caps(self) -> Self

Small capitals for lower-case letters.
Source§

fn normal_nums(self) -> Self

The font’s own number forms (undoes the number forms set before; small_caps stays).
Source§

fn direction(self, direction: impl IntoReactive<LayoutDirection>) -> Self

The layout direction of the view and its subtree (by default its parent’s; the surface’s follows the user’s language).
Source§

fn number_of_lines(self, lines: impl IntoReactive<u32>) -> Self

At most lines lines (numberOfLines; 0: no limit), the last one cut as Styled::text_overflow says.
Source§

fn text_overflow(self, mode: impl IntoReactive<EllipsizeMode>) -> Self

Where a clamped text is cut (textOverflow): its end with an ellipsis (Tail, the default), its start or middle, or clipped.
Source§

fn truncate(self) -> Self

One line, cut with an ellipsis (Tailwind’s truncate).
Source§

fn whitespace_nowrap(self) -> Self

Its texts’ lines never wrap (Tailwind’s whitespace-nowrap). A view’s reaches the texts in it, as CSS’s white-space does.
Source§

fn whitespace_normal(self) -> Self

Its texts’ lines wrap (Tailwind’s whitespace-normal): undoes a view’s whitespace_nowrap or text_pretty around them.
Source§

fn text_pretty(self) -> Self

Its texts’ lines wrap without leaving a word or two alone on the last line (Tailwind’s text-pretty): a last line shorter than a quarter of the box takes words from the lines above, without adding a line. A view’s reaches the texts in it.
Source§

fn writing_direction(self, direction: WritingDirection) -> Self

The text’s base direction (by default its content’s).
Source§

fn text_justify(self) -> Self

Lines stretched to both edges.
Source§

fn text_shadow_2xs(self) -> Self

Tailwind’s text-shadow-2xs.
Source§

fn text_shadow_xs(self) -> Self

Tailwind’s text-shadow-xs.
Source§

fn text_shadow_sm(self) -> Self

Tailwind’s text-shadow-sm.
Source§

fn text_shadow_md(self) -> Self

Tailwind’s text-shadow-md.
Source§

fn text_shadow_lg(self) -> Self

Tailwind’s text-shadow-lg.
Source§

fn text_shadow_none(self) -> Self

No text shadow from the presets.
Source§

fn text_shadow_color(self, color: impl Into<AdaptiveColor>) -> Self

The text shadow’s color: of a preset or of Styled::text_shadow’s layers (an opaque color keeps their alpha).
Source§

fn text_shadow(self, layers: impl IntoIterator<Item = TextShadow>) -> Self

Text shadows of its own (CSS’s text-shadow: offsets, blur and color), instead of a preset’s; drawn as the widest one.
Source§

fn text_left(self) -> Self

Text aligned left.
Source§

fn text_center(self) -> Self

Text centered.
Source§

fn text_right(self) -> Self

Text aligned right.
Source§

fn text_indent(self, indent: impl IntoReactive<AbsoluteLength>) -> Self

The first line of every paragraph indented by indent from the leading edge (CSS’s text-indent); a negative value is 0, the first line not hanging into the margin.
Source§

fn align_baseline(self) -> Self

Inside a text, its bottom on the baseline (the default: align-baseline).
Source§

fn align_text_top(self) -> Self

Inside a text, its top at the top of the text’s font (align-text-top).
Source§

fn align_text_bottom(self) -> Self

Inside a text, its bottom at the bottom of the text’s font (align-text-bottom).
Source§

fn align_middle(self) -> Self

Inside a text, its middle half the font’s x height above the baseline (align-middle).
Source§

fn letter_spacing(self, spacing: impl IntoReactive<AbsoluteLength>) -> Self

Extra space between letters.
Source§

fn style_when( self, when: impl IntoReactive<bool>, f: impl FnOnce(StyleRefinement) -> StyleRefinement, ) -> Self

f’s styles while when holds: a value decides once, a signal or a closure switches them as it changes (Tailwind’s classes made conditional; native states such as .active need none).
Source§

fn style_with( self, f: impl Fn(StyleRefinement) -> StyleRefinement + 'static, ) -> Self

The styles f makes, made again when what it reads changes (any style that depends on the app’s state; a value that changes alone is better given to its method: .w(move || px(width.get()))).
Source§

fn dark(self, f: impl FnOnce(StyleRefinement) -> StyleRefinement) -> Self

Styles in dark appearance (Tailwind’s dark:), for what is not a color: theme colors switch by themselves.
Source§

fn selected(self, f: impl FnOnce(StyleRefinement) -> StyleRefinement) -> Self

Styles while selected (Tailwind’s selected:): the element’s accessibility state says so (a Button’s selected, a tab’s).
Source§

fn checked(self, f: impl FnOnce(StyleRefinement) -> StyleRefinement) -> Self

Styles while checked (Tailwind’s checked:): the element’s accessibility state says so, not mixed (a checkbox’s, a switch’s, a radio’s), or the control it is a part of is (Interactive::project_checked: a switch’s thumb).
Source§

fn indeterminate( self, f: impl FnOnce(StyleRefinement) -> StyleRefinement, ) -> Self

Styles while indeterminate (Tailwind’s indeterminate:): the element’s accessibility state says checked is mixed (a checkbox that is neither), or the control it is a part of is (Interactive::project_indeterminate: a checkbox’s indicator).
Source§

fn expanded(self, f: impl FnOnce(StyleRefinement) -> StyleRefinement) -> Self

Styles while expanded (Tailwind’s aria-expanded:): the element’s accessibility state says so (a Popover’s or Menu’s trigger while its popup is open, a collapsible’s header).
Source§

fn aria_pressed( self, f: impl FnOnce(StyleRefinement) -> StyleRefinement, ) -> Self

Styles while a toggle button is on (Tailwind’s aria-pressed:): the element’s accessibility state says it is pressed, not mixed (gpui-base’s Toggle styled pressed). Not .active(..), a press in progress.
Source§

fn group(self) -> Self

Makes it a group: the group_* styles of the elements inside follow its press, hover and focus (Tailwind’s group).
Source§

fn group_named(self, name: &'static str) -> Self

Makes it the group name (group/name), for group_*_named styles inside it that skip nearer groups.
Source§

fn group_active( self, f: impl FnOnce(StyleRefinement) -> StyleRefinement, ) -> Self

Styles while the nearest Styled::group around it is pressed (group-active:).
Source§

fn group_hover(self, f: impl FnOnce(StyleRefinement) -> StyleRefinement) -> Self

Styles while the nearest group around it is hovered.
Source§

fn group_focus_within( self, f: impl FnOnce(StyleRefinement) -> StyleRefinement, ) -> Self

Styles while an input in the nearest group around it has focus (group-focus-within:).
Source§

fn group_focus_visible( self, f: impl FnOnce(StyleRefinement) -> StyleRefinement, ) -> Self

Styles while the nearest group around it has the keyboard focus and shows it (group-focus-visible:).
Source§

fn group_active_named( self, name: &'static str, f: impl FnOnce(StyleRefinement) -> StyleRefinement, ) -> Self

Styles while the group name around it is pressed (group-active/name:).
Source§

fn group_hover_named( self, name: &'static str, f: impl FnOnce(StyleRefinement) -> StyleRefinement, ) -> Self

Styles while the group name around it is hovered.
Source§

fn group_focus_within_named( self, name: &'static str, f: impl FnOnce(StyleRefinement) -> StyleRefinement, ) -> Self

Styles while an input in the group name around it has focus.
Source§

fn group_focus_visible_named( self, name: &'static str, f: impl FnOnce(StyleRefinement) -> StyleRefinement, ) -> Self

Styles while the group name around it has the keyboard focus and shows it (group-focus-visible/name:).

Auto Trait Implementations§

§

impl !RefUnwindSafe for StyleRefinement

§

impl !Send for StyleRefinement

§

impl !Sync for StyleRefinement

§

impl !UnwindSafe for StyleRefinement

§

impl Forget for StyleRefinement

§

impl Freeze for StyleRefinement
where *const RcInner<Vec<(Variant, Declaration)>> is !null: Freeze, PhantomData<RcInner<Vec<(Variant, Declaration)>>>: Freeze, *const u8 is !null: Freeze, PhantomData<&'static str>: Freeze, PhantomData<Rc<dyn Fn(&mut StyleRefinement)>>: Freeze,

§

impl Move for StyleRefinement

§

impl Unpin for StyleRefinement
where Rc<Vec<(Variant, Declaration)>>: Unpin, *const u8 is !null: Unpin, &'static str: Unpin, Rc<dyn Fn(&mut StyleRefinement)>: Unpin,

§

impl UnsafeUnpin for StyleRefinement
where *const RcInner<Vec<(Variant, Declaration)>> is !null: UnsafeUnpin, PhantomData<RcInner<Vec<(Variant, Declaration)>>>: UnsafeUnpin, *const u8 is !null: UnsafeUnpin, PhantomData<&'static str>: UnsafeUnpin, PhantomData<Rc<dyn Fn(&mut StyleRefinement)>>: UnsafeUnpin,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.