Skip to main content

Styled

Trait Styled 

Source
pub trait Styled: Sized {
Show 3277 methods // Required method fn style(&mut self) -> &mut StyleRefinement; // Provided methods fn w(self, length: impl Clone + Into<Length>) -> Self { ... } fn w_0(self) -> Self { ... } fn w_neg_0(self) -> Self { ... } fn w_0p5(self) -> Self { ... } fn w_neg_0p5(self) -> Self { ... } fn w_1(self) -> Self { ... } fn w_neg_1(self) -> Self { ... } fn w_1p5(self) -> Self { ... } fn w_neg_1p5(self) -> Self { ... } fn w_2(self) -> Self { ... } fn w_neg_2(self) -> Self { ... } fn w_2p5(self) -> Self { ... } fn w_neg_2p5(self) -> Self { ... } fn w_3(self) -> Self { ... } fn w_neg_3(self) -> Self { ... } fn w_3p5(self) -> Self { ... } fn w_neg_3p5(self) -> Self { ... } fn w_4(self) -> Self { ... } fn w_neg_4(self) -> Self { ... } fn w_5(self) -> Self { ... } fn w_neg_5(self) -> Self { ... } fn w_6(self) -> Self { ... } fn w_neg_6(self) -> Self { ... } fn w_7(self) -> Self { ... } fn w_neg_7(self) -> Self { ... } fn w_8(self) -> Self { ... } fn w_neg_8(self) -> Self { ... } fn w_9(self) -> Self { ... } fn w_neg_9(self) -> Self { ... } fn w_10(self) -> Self { ... } fn w_neg_10(self) -> Self { ... } fn w_11(self) -> Self { ... } fn w_neg_11(self) -> Self { ... } fn w_12(self) -> Self { ... } fn w_neg_12(self) -> Self { ... } fn w_16(self) -> Self { ... } fn w_neg_16(self) -> Self { ... } fn w_20(self) -> Self { ... } fn w_neg_20(self) -> Self { ... } fn w_24(self) -> Self { ... } fn w_neg_24(self) -> Self { ... } fn w_32(self) -> Self { ... } fn w_neg_32(self) -> Self { ... } fn w_40(self) -> Self { ... } fn w_neg_40(self) -> Self { ... } fn w_48(self) -> Self { ... } fn w_neg_48(self) -> Self { ... } fn w_56(self) -> Self { ... } fn w_neg_56(self) -> Self { ... } fn w_64(self) -> Self { ... } fn w_neg_64(self) -> Self { ... } fn w_72(self) -> Self { ... } fn w_neg_72(self) -> Self { ... } fn w_80(self) -> Self { ... } fn w_neg_80(self) -> Self { ... } fn w_96(self) -> Self { ... } fn w_neg_96(self) -> Self { ... } fn w_112(self) -> Self { ... } fn w_neg_112(self) -> Self { ... } fn w_128(self) -> Self { ... } fn w_neg_128(self) -> Self { ... } fn w_auto(self) -> Self { ... } fn w_px(self) -> Self { ... } fn w_neg_px(self) -> Self { ... } fn w_full(self) -> Self { ... } fn w_neg_full(self) -> Self { ... } fn w_1_2(self) -> Self { ... } fn w_neg_1_2(self) -> Self { ... } fn w_1_3(self) -> Self { ... } fn w_neg_1_3(self) -> Self { ... } fn w_2_3(self) -> Self { ... } fn w_neg_2_3(self) -> Self { ... } fn w_1_4(self) -> Self { ... } fn w_neg_1_4(self) -> Self { ... } fn w_2_4(self) -> Self { ... } fn w_neg_2_4(self) -> Self { ... } fn w_3_4(self) -> Self { ... } fn w_neg_3_4(self) -> Self { ... } fn w_1_5(self) -> Self { ... } fn w_neg_1_5(self) -> Self { ... } fn w_2_5(self) -> Self { ... } fn w_neg_2_5(self) -> Self { ... } fn w_3_5(self) -> Self { ... } fn w_neg_3_5(self) -> Self { ... } fn w_4_5(self) -> Self { ... } fn w_neg_4_5(self) -> Self { ... } fn w_1_6(self) -> Self { ... } fn w_neg_1_6(self) -> Self { ... } fn w_5_6(self) -> Self { ... } fn w_neg_5_6(self) -> Self { ... } fn w_1_12(self) -> Self { ... } fn w_neg_1_12(self) -> Self { ... } fn h(self, length: impl Clone + Into<Length>) -> Self { ... } fn h_0(self) -> Self { ... } fn h_neg_0(self) -> Self { ... } fn h_0p5(self) -> Self { ... } fn h_neg_0p5(self) -> Self { ... } fn h_1(self) -> Self { ... } fn h_neg_1(self) -> Self { ... } fn h_1p5(self) -> Self { ... } fn h_neg_1p5(self) -> Self { ... } fn h_2(self) -> Self { ... } fn h_neg_2(self) -> Self { ... } fn h_2p5(self) -> Self { ... } fn h_neg_2p5(self) -> Self { ... } fn h_3(self) -> Self { ... } fn h_neg_3(self) -> Self { ... } fn h_3p5(self) -> Self { ... } fn h_neg_3p5(self) -> Self { ... } fn h_4(self) -> Self { ... } fn h_neg_4(self) -> Self { ... } fn h_5(self) -> Self { ... } fn h_neg_5(self) -> Self { ... } fn h_6(self) -> Self { ... } fn h_neg_6(self) -> Self { ... } fn h_7(self) -> Self { ... } fn h_neg_7(self) -> Self { ... } fn h_8(self) -> Self { ... } fn h_neg_8(self) -> Self { ... } fn h_9(self) -> Self { ... } fn h_neg_9(self) -> Self { ... } fn h_10(self) -> Self { ... } fn h_neg_10(self) -> Self { ... } fn h_11(self) -> Self { ... } fn h_neg_11(self) -> Self { ... } fn h_12(self) -> Self { ... } fn h_neg_12(self) -> Self { ... } fn h_16(self) -> Self { ... } fn h_neg_16(self) -> Self { ... } fn h_20(self) -> Self { ... } fn h_neg_20(self) -> Self { ... } fn h_24(self) -> Self { ... } fn h_neg_24(self) -> Self { ... } fn h_32(self) -> Self { ... } fn h_neg_32(self) -> Self { ... } fn h_40(self) -> Self { ... } fn h_neg_40(self) -> Self { ... } fn h_48(self) -> Self { ... } fn h_neg_48(self) -> Self { ... } fn h_56(self) -> Self { ... } fn h_neg_56(self) -> Self { ... } fn h_64(self) -> Self { ... } fn h_neg_64(self) -> Self { ... } fn h_72(self) -> Self { ... } fn h_neg_72(self) -> Self { ... } fn h_80(self) -> Self { ... } fn h_neg_80(self) -> Self { ... } fn h_96(self) -> Self { ... } fn h_neg_96(self) -> Self { ... } fn h_112(self) -> Self { ... } fn h_neg_112(self) -> Self { ... } fn h_128(self) -> Self { ... } fn h_neg_128(self) -> Self { ... } fn h_auto(self) -> Self { ... } fn h_px(self) -> Self { ... } fn h_neg_px(self) -> Self { ... } fn h_full(self) -> Self { ... } fn h_neg_full(self) -> Self { ... } fn h_1_2(self) -> Self { ... } fn h_neg_1_2(self) -> Self { ... } fn h_1_3(self) -> Self { ... } fn h_neg_1_3(self) -> Self { ... } fn h_2_3(self) -> Self { ... } fn h_neg_2_3(self) -> Self { ... } fn h_1_4(self) -> Self { ... } fn h_neg_1_4(self) -> Self { ... } fn h_2_4(self) -> Self { ... } fn h_neg_2_4(self) -> Self { ... } fn h_3_4(self) -> Self { ... } fn h_neg_3_4(self) -> Self { ... } fn h_1_5(self) -> Self { ... } fn h_neg_1_5(self) -> Self { ... } fn h_2_5(self) -> Self { ... } fn h_neg_2_5(self) -> Self { ... } fn h_3_5(self) -> Self { ... } fn h_neg_3_5(self) -> Self { ... } fn h_4_5(self) -> Self { ... } fn h_neg_4_5(self) -> Self { ... } fn h_1_6(self) -> Self { ... } fn h_neg_1_6(self) -> Self { ... } fn h_5_6(self) -> Self { ... } fn h_neg_5_6(self) -> Self { ... } fn h_1_12(self) -> Self { ... } fn h_neg_1_12(self) -> Self { ... } fn size(self, length: impl Clone + Into<Length>) -> Self { ... } fn size_0(self) -> Self { ... } fn size_neg_0(self) -> Self { ... } fn size_0p5(self) -> Self { ... } fn size_neg_0p5(self) -> Self { ... } fn size_1(self) -> Self { ... } fn size_neg_1(self) -> Self { ... } fn size_1p5(self) -> Self { ... } fn size_neg_1p5(self) -> Self { ... } fn size_2(self) -> Self { ... } fn size_neg_2(self) -> Self { ... } fn size_2p5(self) -> Self { ... } fn size_neg_2p5(self) -> Self { ... } fn size_3(self) -> Self { ... } fn size_neg_3(self) -> Self { ... } fn size_3p5(self) -> Self { ... } fn size_neg_3p5(self) -> Self { ... } fn size_4(self) -> Self { ... } fn size_neg_4(self) -> Self { ... } fn size_5(self) -> Self { ... } fn size_neg_5(self) -> Self { ... } fn size_6(self) -> Self { ... } fn size_neg_6(self) -> Self { ... } fn size_7(self) -> Self { ... } fn size_neg_7(self) -> Self { ... } fn size_8(self) -> Self { ... } fn size_neg_8(self) -> Self { ... } fn size_9(self) -> Self { ... } fn size_neg_9(self) -> Self { ... } fn size_10(self) -> Self { ... } fn size_neg_10(self) -> Self { ... } fn size_11(self) -> Self { ... } fn size_neg_11(self) -> Self { ... } fn size_12(self) -> Self { ... } fn size_neg_12(self) -> Self { ... } fn size_16(self) -> Self { ... } fn size_neg_16(self) -> Self { ... } fn size_20(self) -> Self { ... } fn size_neg_20(self) -> Self { ... } fn size_24(self) -> Self { ... } fn size_neg_24(self) -> Self { ... } fn size_32(self) -> Self { ... } fn size_neg_32(self) -> Self { ... } fn size_40(self) -> Self { ... } fn size_neg_40(self) -> Self { ... } fn size_48(self) -> Self { ... } fn size_neg_48(self) -> Self { ... } fn size_56(self) -> Self { ... } fn size_neg_56(self) -> Self { ... } fn size_64(self) -> Self { ... } fn size_neg_64(self) -> Self { ... } fn size_72(self) -> Self { ... } fn size_neg_72(self) -> Self { ... } fn size_80(self) -> Self { ... } fn size_neg_80(self) -> Self { ... } fn size_96(self) -> Self { ... } fn size_neg_96(self) -> Self { ... } fn size_112(self) -> Self { ... } fn size_neg_112(self) -> Self { ... } fn size_128(self) -> Self { ... } fn size_neg_128(self) -> Self { ... } fn size_auto(self) -> Self { ... } fn size_px(self) -> Self { ... } fn size_neg_px(self) -> Self { ... } fn size_full(self) -> Self { ... } fn size_neg_full(self) -> Self { ... } fn size_1_2(self) -> Self { ... } fn size_neg_1_2(self) -> Self { ... } fn size_1_3(self) -> Self { ... } fn size_neg_1_3(self) -> Self { ... } fn size_2_3(self) -> Self { ... } fn size_neg_2_3(self) -> Self { ... } fn size_1_4(self) -> Self { ... } fn size_neg_1_4(self) -> Self { ... } fn size_2_4(self) -> Self { ... } fn size_neg_2_4(self) -> Self { ... } fn size_3_4(self) -> Self { ... } fn size_neg_3_4(self) -> Self { ... } fn size_1_5(self) -> Self { ... } fn size_neg_1_5(self) -> Self { ... } fn size_2_5(self) -> Self { ... } fn size_neg_2_5(self) -> Self { ... } fn size_3_5(self) -> Self { ... } fn size_neg_3_5(self) -> Self { ... } fn size_4_5(self) -> Self { ... } fn size_neg_4_5(self) -> Self { ... } fn size_1_6(self) -> Self { ... } fn size_neg_1_6(self) -> Self { ... } fn size_5_6(self) -> Self { ... } fn size_neg_5_6(self) -> Self { ... } fn size_1_12(self) -> Self { ... } fn size_neg_1_12(self) -> Self { ... } fn min_size(self, length: impl Clone + Into<Length>) -> Self { ... } fn min_size_0(self) -> Self { ... } fn min_size_neg_0(self) -> Self { ... } fn min_size_0p5(self) -> Self { ... } fn min_size_neg_0p5(self) -> Self { ... } fn min_size_1(self) -> Self { ... } fn min_size_neg_1(self) -> Self { ... } fn min_size_1p5(self) -> Self { ... } fn min_size_neg_1p5(self) -> Self { ... } fn min_size_2(self) -> Self { ... } fn min_size_neg_2(self) -> Self { ... } fn min_size_2p5(self) -> Self { ... } fn min_size_neg_2p5(self) -> Self { ... } fn min_size_3(self) -> Self { ... } fn min_size_neg_3(self) -> Self { ... } fn min_size_3p5(self) -> Self { ... } fn min_size_neg_3p5(self) -> Self { ... } fn min_size_4(self) -> Self { ... } fn min_size_neg_4(self) -> Self { ... } fn min_size_5(self) -> Self { ... } fn min_size_neg_5(self) -> Self { ... } fn min_size_6(self) -> Self { ... } fn min_size_neg_6(self) -> Self { ... } fn min_size_7(self) -> Self { ... } fn min_size_neg_7(self) -> Self { ... } fn min_size_8(self) -> Self { ... } fn min_size_neg_8(self) -> Self { ... } fn min_size_9(self) -> Self { ... } fn min_size_neg_9(self) -> Self { ... } fn min_size_10(self) -> Self { ... } fn min_size_neg_10(self) -> Self { ... } fn min_size_11(self) -> Self { ... } fn min_size_neg_11(self) -> Self { ... } fn min_size_12(self) -> Self { ... } fn min_size_neg_12(self) -> Self { ... } fn min_size_16(self) -> Self { ... } fn min_size_neg_16(self) -> Self { ... } fn min_size_20(self) -> Self { ... } fn min_size_neg_20(self) -> Self { ... } fn min_size_24(self) -> Self { ... } fn min_size_neg_24(self) -> Self { ... } fn min_size_32(self) -> Self { ... } fn min_size_neg_32(self) -> Self { ... } fn min_size_40(self) -> Self { ... } fn min_size_neg_40(self) -> Self { ... } fn min_size_48(self) -> Self { ... } fn min_size_neg_48(self) -> Self { ... } fn min_size_56(self) -> Self { ... } fn min_size_neg_56(self) -> Self { ... } fn min_size_64(self) -> Self { ... } fn min_size_neg_64(self) -> Self { ... } fn min_size_72(self) -> Self { ... } fn min_size_neg_72(self) -> Self { ... } fn min_size_80(self) -> Self { ... } fn min_size_neg_80(self) -> Self { ... } fn min_size_96(self) -> Self { ... } fn min_size_neg_96(self) -> Self { ... } fn min_size_112(self) -> Self { ... } fn min_size_neg_112(self) -> Self { ... } fn min_size_128(self) -> Self { ... } fn min_size_neg_128(self) -> Self { ... } fn min_size_auto(self) -> Self { ... } fn min_size_px(self) -> Self { ... } fn min_size_neg_px(self) -> Self { ... } fn min_size_full(self) -> Self { ... } fn min_size_neg_full(self) -> Self { ... } fn min_size_1_2(self) -> Self { ... } fn min_size_neg_1_2(self) -> Self { ... } fn min_size_1_3(self) -> Self { ... } fn min_size_neg_1_3(self) -> Self { ... } fn min_size_2_3(self) -> Self { ... } fn min_size_neg_2_3(self) -> Self { ... } fn min_size_1_4(self) -> Self { ... } fn min_size_neg_1_4(self) -> Self { ... } fn min_size_2_4(self) -> Self { ... } fn min_size_neg_2_4(self) -> Self { ... } fn min_size_3_4(self) -> Self { ... } fn min_size_neg_3_4(self) -> Self { ... } fn min_size_1_5(self) -> Self { ... } fn min_size_neg_1_5(self) -> Self { ... } fn min_size_2_5(self) -> Self { ... } fn min_size_neg_2_5(self) -> Self { ... } fn min_size_3_5(self) -> Self { ... } fn min_size_neg_3_5(self) -> Self { ... } fn min_size_4_5(self) -> Self { ... } fn min_size_neg_4_5(self) -> Self { ... } fn min_size_1_6(self) -> Self { ... } fn min_size_neg_1_6(self) -> Self { ... } fn min_size_5_6(self) -> Self { ... } fn min_size_neg_5_6(self) -> Self { ... } fn min_size_1_12(self) -> Self { ... } fn min_size_neg_1_12(self) -> Self { ... } fn min_w(self, length: impl Clone + Into<Length>) -> Self { ... } fn min_w_0(self) -> Self { ... } fn min_w_neg_0(self) -> Self { ... } fn min_w_0p5(self) -> Self { ... } fn min_w_neg_0p5(self) -> Self { ... } fn min_w_1(self) -> Self { ... } fn min_w_neg_1(self) -> Self { ... } fn min_w_1p5(self) -> Self { ... } fn min_w_neg_1p5(self) -> Self { ... } fn min_w_2(self) -> Self { ... } fn min_w_neg_2(self) -> Self { ... } fn min_w_2p5(self) -> Self { ... } fn min_w_neg_2p5(self) -> Self { ... } fn min_w_3(self) -> Self { ... } fn min_w_neg_3(self) -> Self { ... } fn min_w_3p5(self) -> Self { ... } fn min_w_neg_3p5(self) -> Self { ... } fn min_w_4(self) -> Self { ... } fn min_w_neg_4(self) -> Self { ... } fn min_w_5(self) -> Self { ... } fn min_w_neg_5(self) -> Self { ... } fn min_w_6(self) -> Self { ... } fn min_w_neg_6(self) -> Self { ... } fn min_w_7(self) -> Self { ... } fn min_w_neg_7(self) -> Self { ... } fn min_w_8(self) -> Self { ... } fn min_w_neg_8(self) -> Self { ... } fn min_w_9(self) -> Self { ... } fn min_w_neg_9(self) -> Self { ... } fn min_w_10(self) -> Self { ... } fn min_w_neg_10(self) -> Self { ... } fn min_w_11(self) -> Self { ... } fn min_w_neg_11(self) -> Self { ... } fn min_w_12(self) -> Self { ... } fn min_w_neg_12(self) -> Self { ... } fn min_w_16(self) -> Self { ... } fn min_w_neg_16(self) -> Self { ... } fn min_w_20(self) -> Self { ... } fn min_w_neg_20(self) -> Self { ... } fn min_w_24(self) -> Self { ... } fn min_w_neg_24(self) -> Self { ... } fn min_w_32(self) -> Self { ... } fn min_w_neg_32(self) -> Self { ... } fn min_w_40(self) -> Self { ... } fn min_w_neg_40(self) -> Self { ... } fn min_w_48(self) -> Self { ... } fn min_w_neg_48(self) -> Self { ... } fn min_w_56(self) -> Self { ... } fn min_w_neg_56(self) -> Self { ... } fn min_w_64(self) -> Self { ... } fn min_w_neg_64(self) -> Self { ... } fn min_w_72(self) -> Self { ... } fn min_w_neg_72(self) -> Self { ... } fn min_w_80(self) -> Self { ... } fn min_w_neg_80(self) -> Self { ... } fn min_w_96(self) -> Self { ... } fn min_w_neg_96(self) -> Self { ... } fn min_w_112(self) -> Self { ... } fn min_w_neg_112(self) -> Self { ... } fn min_w_128(self) -> Self { ... } fn min_w_neg_128(self) -> Self { ... } fn min_w_auto(self) -> Self { ... } fn min_w_px(self) -> Self { ... } fn min_w_neg_px(self) -> Self { ... } fn min_w_full(self) -> Self { ... } fn min_w_neg_full(self) -> Self { ... } fn min_w_1_2(self) -> Self { ... } fn min_w_neg_1_2(self) -> Self { ... } fn min_w_1_3(self) -> Self { ... } fn min_w_neg_1_3(self) -> Self { ... } fn min_w_2_3(self) -> Self { ... } fn min_w_neg_2_3(self) -> Self { ... } fn min_w_1_4(self) -> Self { ... } fn min_w_neg_1_4(self) -> Self { ... } fn min_w_2_4(self) -> Self { ... } fn min_w_neg_2_4(self) -> Self { ... } fn min_w_3_4(self) -> Self { ... } fn min_w_neg_3_4(self) -> Self { ... } fn min_w_1_5(self) -> Self { ... } fn min_w_neg_1_5(self) -> Self { ... } fn min_w_2_5(self) -> Self { ... } fn min_w_neg_2_5(self) -> Self { ... } fn min_w_3_5(self) -> Self { ... } fn min_w_neg_3_5(self) -> Self { ... } fn min_w_4_5(self) -> Self { ... } fn min_w_neg_4_5(self) -> Self { ... } fn min_w_1_6(self) -> Self { ... } fn min_w_neg_1_6(self) -> Self { ... } fn min_w_5_6(self) -> Self { ... } fn min_w_neg_5_6(self) -> Self { ... } fn min_w_1_12(self) -> Self { ... } fn min_w_neg_1_12(self) -> Self { ... } fn min_h(self, length: impl Clone + Into<Length>) -> Self { ... } fn min_h_0(self) -> Self { ... } fn min_h_neg_0(self) -> Self { ... } fn min_h_0p5(self) -> Self { ... } fn min_h_neg_0p5(self) -> Self { ... } fn min_h_1(self) -> Self { ... } fn min_h_neg_1(self) -> Self { ... } fn min_h_1p5(self) -> Self { ... } fn min_h_neg_1p5(self) -> Self { ... } fn min_h_2(self) -> Self { ... } fn min_h_neg_2(self) -> Self { ... } fn min_h_2p5(self) -> Self { ... } fn min_h_neg_2p5(self) -> Self { ... } fn min_h_3(self) -> Self { ... } fn min_h_neg_3(self) -> Self { ... } fn min_h_3p5(self) -> Self { ... } fn min_h_neg_3p5(self) -> Self { ... } fn min_h_4(self) -> Self { ... } fn min_h_neg_4(self) -> Self { ... } fn min_h_5(self) -> Self { ... } fn min_h_neg_5(self) -> Self { ... } fn min_h_6(self) -> Self { ... } fn min_h_neg_6(self) -> Self { ... } fn min_h_7(self) -> Self { ... } fn min_h_neg_7(self) -> Self { ... } fn min_h_8(self) -> Self { ... } fn min_h_neg_8(self) -> Self { ... } fn min_h_9(self) -> Self { ... } fn min_h_neg_9(self) -> Self { ... } fn min_h_10(self) -> Self { ... } fn min_h_neg_10(self) -> Self { ... } fn min_h_11(self) -> Self { ... } fn min_h_neg_11(self) -> Self { ... } fn min_h_12(self) -> Self { ... } fn min_h_neg_12(self) -> Self { ... } fn min_h_16(self) -> Self { ... } fn min_h_neg_16(self) -> Self { ... } fn min_h_20(self) -> Self { ... } fn min_h_neg_20(self) -> Self { ... } fn min_h_24(self) -> Self { ... } fn min_h_neg_24(self) -> Self { ... } fn min_h_32(self) -> Self { ... } fn min_h_neg_32(self) -> Self { ... } fn min_h_40(self) -> Self { ... } fn min_h_neg_40(self) -> Self { ... } fn min_h_48(self) -> Self { ... } fn min_h_neg_48(self) -> Self { ... } fn min_h_56(self) -> Self { ... } fn min_h_neg_56(self) -> Self { ... } fn min_h_64(self) -> Self { ... } fn min_h_neg_64(self) -> Self { ... } fn min_h_72(self) -> Self { ... } fn min_h_neg_72(self) -> Self { ... } fn min_h_80(self) -> Self { ... } fn min_h_neg_80(self) -> Self { ... } fn min_h_96(self) -> Self { ... } fn min_h_neg_96(self) -> Self { ... } fn min_h_112(self) -> Self { ... } fn min_h_neg_112(self) -> Self { ... } fn min_h_128(self) -> Self { ... } fn min_h_neg_128(self) -> Self { ... } fn min_h_auto(self) -> Self { ... } fn min_h_px(self) -> Self { ... } fn min_h_neg_px(self) -> Self { ... } fn min_h_full(self) -> Self { ... } fn min_h_neg_full(self) -> Self { ... } fn min_h_1_2(self) -> Self { ... } fn min_h_neg_1_2(self) -> Self { ... } fn min_h_1_3(self) -> Self { ... } fn min_h_neg_1_3(self) -> Self { ... } fn min_h_2_3(self) -> Self { ... } fn min_h_neg_2_3(self) -> Self { ... } fn min_h_1_4(self) -> Self { ... } fn min_h_neg_1_4(self) -> Self { ... } fn min_h_2_4(self) -> Self { ... } fn min_h_neg_2_4(self) -> Self { ... } fn min_h_3_4(self) -> Self { ... } fn min_h_neg_3_4(self) -> Self { ... } fn min_h_1_5(self) -> Self { ... } fn min_h_neg_1_5(self) -> Self { ... } fn min_h_2_5(self) -> Self { ... } fn min_h_neg_2_5(self) -> Self { ... } fn min_h_3_5(self) -> Self { ... } fn min_h_neg_3_5(self) -> Self { ... } fn min_h_4_5(self) -> Self { ... } fn min_h_neg_4_5(self) -> Self { ... } fn min_h_1_6(self) -> Self { ... } fn min_h_neg_1_6(self) -> Self { ... } fn min_h_5_6(self) -> Self { ... } fn min_h_neg_5_6(self) -> Self { ... } fn min_h_1_12(self) -> Self { ... } fn min_h_neg_1_12(self) -> Self { ... } fn max_size(self, length: impl Clone + Into<Length>) -> Self { ... } fn max_size_0(self) -> Self { ... } fn max_size_neg_0(self) -> Self { ... } fn max_size_0p5(self) -> Self { ... } fn max_size_neg_0p5(self) -> Self { ... } fn max_size_1(self) -> Self { ... } fn max_size_neg_1(self) -> Self { ... } fn max_size_1p5(self) -> Self { ... } fn max_size_neg_1p5(self) -> Self { ... } fn max_size_2(self) -> Self { ... } fn max_size_neg_2(self) -> Self { ... } fn max_size_2p5(self) -> Self { ... } fn max_size_neg_2p5(self) -> Self { ... } fn max_size_3(self) -> Self { ... } fn max_size_neg_3(self) -> Self { ... } fn max_size_3p5(self) -> Self { ... } fn max_size_neg_3p5(self) -> Self { ... } fn max_size_4(self) -> Self { ... } fn max_size_neg_4(self) -> Self { ... } fn max_size_5(self) -> Self { ... } fn max_size_neg_5(self) -> Self { ... } fn max_size_6(self) -> Self { ... } fn max_size_neg_6(self) -> Self { ... } fn max_size_7(self) -> Self { ... } fn max_size_neg_7(self) -> Self { ... } fn max_size_8(self) -> Self { ... } fn max_size_neg_8(self) -> Self { ... } fn max_size_9(self) -> Self { ... } fn max_size_neg_9(self) -> Self { ... } fn max_size_10(self) -> Self { ... } fn max_size_neg_10(self) -> Self { ... } fn max_size_11(self) -> Self { ... } fn max_size_neg_11(self) -> Self { ... } fn max_size_12(self) -> Self { ... } fn max_size_neg_12(self) -> Self { ... } fn max_size_16(self) -> Self { ... } fn max_size_neg_16(self) -> Self { ... } fn max_size_20(self) -> Self { ... } fn max_size_neg_20(self) -> Self { ... } fn max_size_24(self) -> Self { ... } fn max_size_neg_24(self) -> Self { ... } fn max_size_32(self) -> Self { ... } fn max_size_neg_32(self) -> Self { ... } fn max_size_40(self) -> Self { ... } fn max_size_neg_40(self) -> Self { ... } fn max_size_48(self) -> Self { ... } fn max_size_neg_48(self) -> Self { ... } fn max_size_56(self) -> Self { ... } fn max_size_neg_56(self) -> Self { ... } fn max_size_64(self) -> Self { ... } fn max_size_neg_64(self) -> Self { ... } fn max_size_72(self) -> Self { ... } fn max_size_neg_72(self) -> Self { ... } fn max_size_80(self) -> Self { ... } fn max_size_neg_80(self) -> Self { ... } fn max_size_96(self) -> Self { ... } fn max_size_neg_96(self) -> Self { ... } fn max_size_112(self) -> Self { ... } fn max_size_neg_112(self) -> Self { ... } fn max_size_128(self) -> Self { ... } fn max_size_neg_128(self) -> Self { ... } fn max_size_auto(self) -> Self { ... } fn max_size_px(self) -> Self { ... } fn max_size_neg_px(self) -> Self { ... } fn max_size_full(self) -> Self { ... } fn max_size_neg_full(self) -> Self { ... } fn max_size_1_2(self) -> Self { ... } fn max_size_neg_1_2(self) -> Self { ... } fn max_size_1_3(self) -> Self { ... } fn max_size_neg_1_3(self) -> Self { ... } fn max_size_2_3(self) -> Self { ... } fn max_size_neg_2_3(self) -> Self { ... } fn max_size_1_4(self) -> Self { ... } fn max_size_neg_1_4(self) -> Self { ... } fn max_size_2_4(self) -> Self { ... } fn max_size_neg_2_4(self) -> Self { ... } fn max_size_3_4(self) -> Self { ... } fn max_size_neg_3_4(self) -> Self { ... } fn max_size_1_5(self) -> Self { ... } fn max_size_neg_1_5(self) -> Self { ... } fn max_size_2_5(self) -> Self { ... } fn max_size_neg_2_5(self) -> Self { ... } fn max_size_3_5(self) -> Self { ... } fn max_size_neg_3_5(self) -> Self { ... } fn max_size_4_5(self) -> Self { ... } fn max_size_neg_4_5(self) -> Self { ... } fn max_size_1_6(self) -> Self { ... } fn max_size_neg_1_6(self) -> Self { ... } fn max_size_5_6(self) -> Self { ... } fn max_size_neg_5_6(self) -> Self { ... } fn max_size_1_12(self) -> Self { ... } fn max_size_neg_1_12(self) -> Self { ... } fn max_w(self, length: impl Clone + Into<Length>) -> Self { ... } fn max_w_0(self) -> Self { ... } fn max_w_neg_0(self) -> Self { ... } fn max_w_0p5(self) -> Self { ... } fn max_w_neg_0p5(self) -> Self { ... } fn max_w_1(self) -> Self { ... } fn max_w_neg_1(self) -> Self { ... } fn max_w_1p5(self) -> Self { ... } fn max_w_neg_1p5(self) -> Self { ... } fn max_w_2(self) -> Self { ... } fn max_w_neg_2(self) -> Self { ... } fn max_w_2p5(self) -> Self { ... } fn max_w_neg_2p5(self) -> Self { ... } fn max_w_3(self) -> Self { ... } fn max_w_neg_3(self) -> Self { ... } fn max_w_3p5(self) -> Self { ... } fn max_w_neg_3p5(self) -> Self { ... } fn max_w_4(self) -> Self { ... } fn max_w_neg_4(self) -> Self { ... } fn max_w_5(self) -> Self { ... } fn max_w_neg_5(self) -> Self { ... } fn max_w_6(self) -> Self { ... } fn max_w_neg_6(self) -> Self { ... } fn max_w_7(self) -> Self { ... } fn max_w_neg_7(self) -> Self { ... } fn max_w_8(self) -> Self { ... } fn max_w_neg_8(self) -> Self { ... } fn max_w_9(self) -> Self { ... } fn max_w_neg_9(self) -> Self { ... } fn max_w_10(self) -> Self { ... } fn max_w_neg_10(self) -> Self { ... } fn max_w_11(self) -> Self { ... } fn max_w_neg_11(self) -> Self { ... } fn max_w_12(self) -> Self { ... } fn max_w_neg_12(self) -> Self { ... } fn max_w_16(self) -> Self { ... } fn max_w_neg_16(self) -> Self { ... } fn max_w_20(self) -> Self { ... } fn max_w_neg_20(self) -> Self { ... } fn max_w_24(self) -> Self { ... } fn max_w_neg_24(self) -> Self { ... } fn max_w_32(self) -> Self { ... } fn max_w_neg_32(self) -> Self { ... } fn max_w_40(self) -> Self { ... } fn max_w_neg_40(self) -> Self { ... } fn max_w_48(self) -> Self { ... } fn max_w_neg_48(self) -> Self { ... } fn max_w_56(self) -> Self { ... } fn max_w_neg_56(self) -> Self { ... } fn max_w_64(self) -> Self { ... } fn max_w_neg_64(self) -> Self { ... } fn max_w_72(self) -> Self { ... } fn max_w_neg_72(self) -> Self { ... } fn max_w_80(self) -> Self { ... } fn max_w_neg_80(self) -> Self { ... } fn max_w_96(self) -> Self { ... } fn max_w_neg_96(self) -> Self { ... } fn max_w_112(self) -> Self { ... } fn max_w_neg_112(self) -> Self { ... } fn max_w_128(self) -> Self { ... } fn max_w_neg_128(self) -> Self { ... } fn max_w_auto(self) -> Self { ... } fn max_w_px(self) -> Self { ... } fn max_w_neg_px(self) -> Self { ... } fn max_w_full(self) -> Self { ... } fn max_w_neg_full(self) -> Self { ... } fn max_w_1_2(self) -> Self { ... } fn max_w_neg_1_2(self) -> Self { ... } fn max_w_1_3(self) -> Self { ... } fn max_w_neg_1_3(self) -> Self { ... } fn max_w_2_3(self) -> Self { ... } fn max_w_neg_2_3(self) -> Self { ... } fn max_w_1_4(self) -> Self { ... } fn max_w_neg_1_4(self) -> Self { ... } fn max_w_2_4(self) -> Self { ... } fn max_w_neg_2_4(self) -> Self { ... } fn max_w_3_4(self) -> Self { ... } fn max_w_neg_3_4(self) -> Self { ... } fn max_w_1_5(self) -> Self { ... } fn max_w_neg_1_5(self) -> Self { ... } fn max_w_2_5(self) -> Self { ... } fn max_w_neg_2_5(self) -> Self { ... } fn max_w_3_5(self) -> Self { ... } fn max_w_neg_3_5(self) -> Self { ... } fn max_w_4_5(self) -> Self { ... } fn max_w_neg_4_5(self) -> Self { ... } fn max_w_1_6(self) -> Self { ... } fn max_w_neg_1_6(self) -> Self { ... } fn max_w_5_6(self) -> Self { ... } fn max_w_neg_5_6(self) -> Self { ... } fn max_w_1_12(self) -> Self { ... } fn max_w_neg_1_12(self) -> Self { ... } fn max_h(self, length: impl Clone + Into<Length>) -> Self { ... } fn max_h_0(self) -> Self { ... } fn max_h_neg_0(self) -> Self { ... } fn max_h_0p5(self) -> Self { ... } fn max_h_neg_0p5(self) -> Self { ... } fn max_h_1(self) -> Self { ... } fn max_h_neg_1(self) -> Self { ... } fn max_h_1p5(self) -> Self { ... } fn max_h_neg_1p5(self) -> Self { ... } fn max_h_2(self) -> Self { ... } fn max_h_neg_2(self) -> Self { ... } fn max_h_2p5(self) -> Self { ... } fn max_h_neg_2p5(self) -> Self { ... } fn max_h_3(self) -> Self { ... } fn max_h_neg_3(self) -> Self { ... } fn max_h_3p5(self) -> Self { ... } fn max_h_neg_3p5(self) -> Self { ... } fn max_h_4(self) -> Self { ... } fn max_h_neg_4(self) -> Self { ... } fn max_h_5(self) -> Self { ... } fn max_h_neg_5(self) -> Self { ... } fn max_h_6(self) -> Self { ... } fn max_h_neg_6(self) -> Self { ... } fn max_h_7(self) -> Self { ... } fn max_h_neg_7(self) -> Self { ... } fn max_h_8(self) -> Self { ... } fn max_h_neg_8(self) -> Self { ... } fn max_h_9(self) -> Self { ... } fn max_h_neg_9(self) -> Self { ... } fn max_h_10(self) -> Self { ... } fn max_h_neg_10(self) -> Self { ... } fn max_h_11(self) -> Self { ... } fn max_h_neg_11(self) -> Self { ... } fn max_h_12(self) -> Self { ... } fn max_h_neg_12(self) -> Self { ... } fn max_h_16(self) -> Self { ... } fn max_h_neg_16(self) -> Self { ... } fn max_h_20(self) -> Self { ... } fn max_h_neg_20(self) -> Self { ... } fn max_h_24(self) -> Self { ... } fn max_h_neg_24(self) -> Self { ... } fn max_h_32(self) -> Self { ... } fn max_h_neg_32(self) -> Self { ... } fn max_h_40(self) -> Self { ... } fn max_h_neg_40(self) -> Self { ... } fn max_h_48(self) -> Self { ... } fn max_h_neg_48(self) -> Self { ... } fn max_h_56(self) -> Self { ... } fn max_h_neg_56(self) -> Self { ... } fn max_h_64(self) -> Self { ... } fn max_h_neg_64(self) -> Self { ... } fn max_h_72(self) -> Self { ... } fn max_h_neg_72(self) -> Self { ... } fn max_h_80(self) -> Self { ... } fn max_h_neg_80(self) -> Self { ... } fn max_h_96(self) -> Self { ... } fn max_h_neg_96(self) -> Self { ... } fn max_h_112(self) -> Self { ... } fn max_h_neg_112(self) -> Self { ... } fn max_h_128(self) -> Self { ... } fn max_h_neg_128(self) -> Self { ... } fn max_h_auto(self) -> Self { ... } fn max_h_px(self) -> Self { ... } fn max_h_neg_px(self) -> Self { ... } fn max_h_full(self) -> Self { ... } fn max_h_neg_full(self) -> Self { ... } fn max_h_1_2(self) -> Self { ... } fn max_h_neg_1_2(self) -> Self { ... } fn max_h_1_3(self) -> Self { ... } fn max_h_neg_1_3(self) -> Self { ... } fn max_h_2_3(self) -> Self { ... } fn max_h_neg_2_3(self) -> Self { ... } fn max_h_1_4(self) -> Self { ... } fn max_h_neg_1_4(self) -> Self { ... } fn max_h_2_4(self) -> Self { ... } fn max_h_neg_2_4(self) -> Self { ... } fn max_h_3_4(self) -> Self { ... } fn max_h_neg_3_4(self) -> Self { ... } fn max_h_1_5(self) -> Self { ... } fn max_h_neg_1_5(self) -> Self { ... } fn max_h_2_5(self) -> Self { ... } fn max_h_neg_2_5(self) -> Self { ... } fn max_h_3_5(self) -> Self { ... } fn max_h_neg_3_5(self) -> Self { ... } fn max_h_4_5(self) -> Self { ... } fn max_h_neg_4_5(self) -> Self { ... } fn max_h_1_6(self) -> Self { ... } fn max_h_neg_1_6(self) -> Self { ... } fn max_h_5_6(self) -> Self { ... } fn max_h_neg_5_6(self) -> Self { ... } fn max_h_1_12(self) -> Self { ... } fn max_h_neg_1_12(self) -> Self { ... } fn gap(self, length: impl Clone + Into<DefiniteLength>) -> Self { ... } fn gap_0(self) -> Self { ... } fn gap_neg_0(self) -> Self { ... } fn gap_0p5(self) -> Self { ... } fn gap_neg_0p5(self) -> Self { ... } fn gap_1(self) -> Self { ... } fn gap_neg_1(self) -> Self { ... } fn gap_1p5(self) -> Self { ... } fn gap_neg_1p5(self) -> Self { ... } fn gap_2(self) -> Self { ... } fn gap_neg_2(self) -> Self { ... } fn gap_2p5(self) -> Self { ... } fn gap_neg_2p5(self) -> Self { ... } fn gap_3(self) -> Self { ... } fn gap_neg_3(self) -> Self { ... } fn gap_3p5(self) -> Self { ... } fn gap_neg_3p5(self) -> Self { ... } fn gap_4(self) -> Self { ... } fn gap_neg_4(self) -> Self { ... } fn gap_5(self) -> Self { ... } fn gap_neg_5(self) -> Self { ... } fn gap_6(self) -> Self { ... } fn gap_neg_6(self) -> Self { ... } fn gap_7(self) -> Self { ... } fn gap_neg_7(self) -> Self { ... } fn gap_8(self) -> Self { ... } fn gap_neg_8(self) -> Self { ... } fn gap_9(self) -> Self { ... } fn gap_neg_9(self) -> Self { ... } fn gap_10(self) -> Self { ... } fn gap_neg_10(self) -> Self { ... } fn gap_11(self) -> Self { ... } fn gap_neg_11(self) -> Self { ... } fn gap_12(self) -> Self { ... } fn gap_neg_12(self) -> Self { ... } fn gap_16(self) -> Self { ... } fn gap_neg_16(self) -> Self { ... } fn gap_20(self) -> Self { ... } fn gap_neg_20(self) -> Self { ... } fn gap_24(self) -> Self { ... } fn gap_neg_24(self) -> Self { ... } fn gap_32(self) -> Self { ... } fn gap_neg_32(self) -> Self { ... } fn gap_40(self) -> Self { ... } fn gap_neg_40(self) -> Self { ... } fn gap_48(self) -> Self { ... } fn gap_neg_48(self) -> Self { ... } fn gap_56(self) -> Self { ... } fn gap_neg_56(self) -> Self { ... } fn gap_64(self) -> Self { ... } fn gap_neg_64(self) -> Self { ... } fn gap_72(self) -> Self { ... } fn gap_neg_72(self) -> Self { ... } fn gap_80(self) -> Self { ... } fn gap_neg_80(self) -> Self { ... } fn gap_96(self) -> Self { ... } fn gap_neg_96(self) -> Self { ... } fn gap_112(self) -> Self { ... } fn gap_neg_112(self) -> Self { ... } fn gap_128(self) -> Self { ... } fn gap_neg_128(self) -> Self { ... } fn gap_px(self) -> Self { ... } fn gap_neg_px(self) -> Self { ... } fn gap_full(self) -> Self { ... } fn gap_neg_full(self) -> Self { ... } fn gap_1_2(self) -> Self { ... } fn gap_neg_1_2(self) -> Self { ... } fn gap_1_3(self) -> Self { ... } fn gap_neg_1_3(self) -> Self { ... } fn gap_2_3(self) -> Self { ... } fn gap_neg_2_3(self) -> Self { ... } fn gap_1_4(self) -> Self { ... } fn gap_neg_1_4(self) -> Self { ... } fn gap_2_4(self) -> Self { ... } fn gap_neg_2_4(self) -> Self { ... } fn gap_3_4(self) -> Self { ... } fn gap_neg_3_4(self) -> Self { ... } fn gap_1_5(self) -> Self { ... } fn gap_neg_1_5(self) -> Self { ... } fn gap_2_5(self) -> Self { ... } fn gap_neg_2_5(self) -> Self { ... } fn gap_3_5(self) -> Self { ... } fn gap_neg_3_5(self) -> Self { ... } fn gap_4_5(self) -> Self { ... } fn gap_neg_4_5(self) -> Self { ... } fn gap_1_6(self) -> Self { ... } fn gap_neg_1_6(self) -> Self { ... } fn gap_5_6(self) -> Self { ... } fn gap_neg_5_6(self) -> Self { ... } fn gap_1_12(self) -> Self { ... } fn gap_neg_1_12(self) -> Self { ... } fn gap_x(self, length: impl Clone + Into<DefiniteLength>) -> Self { ... } fn gap_x_0(self) -> Self { ... } fn gap_x_neg_0(self) -> Self { ... } fn gap_x_0p5(self) -> Self { ... } fn gap_x_neg_0p5(self) -> Self { ... } fn gap_x_1(self) -> Self { ... } fn gap_x_neg_1(self) -> Self { ... } fn gap_x_1p5(self) -> Self { ... } fn gap_x_neg_1p5(self) -> Self { ... } fn gap_x_2(self) -> Self { ... } fn gap_x_neg_2(self) -> Self { ... } fn gap_x_2p5(self) -> Self { ... } fn gap_x_neg_2p5(self) -> Self { ... } fn gap_x_3(self) -> Self { ... } fn gap_x_neg_3(self) -> Self { ... } fn gap_x_3p5(self) -> Self { ... } fn gap_x_neg_3p5(self) -> Self { ... } fn gap_x_4(self) -> Self { ... } fn gap_x_neg_4(self) -> Self { ... } fn gap_x_5(self) -> Self { ... } fn gap_x_neg_5(self) -> Self { ... } fn gap_x_6(self) -> Self { ... } fn gap_x_neg_6(self) -> Self { ... } fn gap_x_7(self) -> Self { ... } fn gap_x_neg_7(self) -> Self { ... } fn gap_x_8(self) -> Self { ... } fn gap_x_neg_8(self) -> Self { ... } fn gap_x_9(self) -> Self { ... } fn gap_x_neg_9(self) -> Self { ... } fn gap_x_10(self) -> Self { ... } fn gap_x_neg_10(self) -> Self { ... } fn gap_x_11(self) -> Self { ... } fn gap_x_neg_11(self) -> Self { ... } fn gap_x_12(self) -> Self { ... } fn gap_x_neg_12(self) -> Self { ... } fn gap_x_16(self) -> Self { ... } fn gap_x_neg_16(self) -> Self { ... } fn gap_x_20(self) -> Self { ... } fn gap_x_neg_20(self) -> Self { ... } fn gap_x_24(self) -> Self { ... } fn gap_x_neg_24(self) -> Self { ... } fn gap_x_32(self) -> Self { ... } fn gap_x_neg_32(self) -> Self { ... } fn gap_x_40(self) -> Self { ... } fn gap_x_neg_40(self) -> Self { ... } fn gap_x_48(self) -> Self { ... } fn gap_x_neg_48(self) -> Self { ... } fn gap_x_56(self) -> Self { ... } fn gap_x_neg_56(self) -> Self { ... } fn gap_x_64(self) -> Self { ... } fn gap_x_neg_64(self) -> Self { ... } fn gap_x_72(self) -> Self { ... } fn gap_x_neg_72(self) -> Self { ... } fn gap_x_80(self) -> Self { ... } fn gap_x_neg_80(self) -> Self { ... } fn gap_x_96(self) -> Self { ... } fn gap_x_neg_96(self) -> Self { ... } fn gap_x_112(self) -> Self { ... } fn gap_x_neg_112(self) -> Self { ... } fn gap_x_128(self) -> Self { ... } fn gap_x_neg_128(self) -> Self { ... } fn gap_x_px(self) -> Self { ... } fn gap_x_neg_px(self) -> Self { ... } fn gap_x_full(self) -> Self { ... } fn gap_x_neg_full(self) -> Self { ... } fn gap_x_1_2(self) -> Self { ... } fn gap_x_neg_1_2(self) -> Self { ... } fn gap_x_1_3(self) -> Self { ... } fn gap_x_neg_1_3(self) -> Self { ... } fn gap_x_2_3(self) -> Self { ... } fn gap_x_neg_2_3(self) -> Self { ... } fn gap_x_1_4(self) -> Self { ... } fn gap_x_neg_1_4(self) -> Self { ... } fn gap_x_2_4(self) -> Self { ... } fn gap_x_neg_2_4(self) -> Self { ... } fn gap_x_3_4(self) -> Self { ... } fn gap_x_neg_3_4(self) -> Self { ... } fn gap_x_1_5(self) -> Self { ... } fn gap_x_neg_1_5(self) -> Self { ... } fn gap_x_2_5(self) -> Self { ... } fn gap_x_neg_2_5(self) -> Self { ... } fn gap_x_3_5(self) -> Self { ... } fn gap_x_neg_3_5(self) -> Self { ... } fn gap_x_4_5(self) -> Self { ... } fn gap_x_neg_4_5(self) -> Self { ... } fn gap_x_1_6(self) -> Self { ... } fn gap_x_neg_1_6(self) -> Self { ... } fn gap_x_5_6(self) -> Self { ... } fn gap_x_neg_5_6(self) -> Self { ... } fn gap_x_1_12(self) -> Self { ... } fn gap_x_neg_1_12(self) -> Self { ... } fn gap_y(self, length: impl Clone + Into<DefiniteLength>) -> Self { ... } fn gap_y_0(self) -> Self { ... } fn gap_y_neg_0(self) -> Self { ... } fn gap_y_0p5(self) -> Self { ... } fn gap_y_neg_0p5(self) -> Self { ... } fn gap_y_1(self) -> Self { ... } fn gap_y_neg_1(self) -> Self { ... } fn gap_y_1p5(self) -> Self { ... } fn gap_y_neg_1p5(self) -> Self { ... } fn gap_y_2(self) -> Self { ... } fn gap_y_neg_2(self) -> Self { ... } fn gap_y_2p5(self) -> Self { ... } fn gap_y_neg_2p5(self) -> Self { ... } fn gap_y_3(self) -> Self { ... } fn gap_y_neg_3(self) -> Self { ... } fn gap_y_3p5(self) -> Self { ... } fn gap_y_neg_3p5(self) -> Self { ... } fn gap_y_4(self) -> Self { ... } fn gap_y_neg_4(self) -> Self { ... } fn gap_y_5(self) -> Self { ... } fn gap_y_neg_5(self) -> Self { ... } fn gap_y_6(self) -> Self { ... } fn gap_y_neg_6(self) -> Self { ... } fn gap_y_7(self) -> Self { ... } fn gap_y_neg_7(self) -> Self { ... } fn gap_y_8(self) -> Self { ... } fn gap_y_neg_8(self) -> Self { ... } fn gap_y_9(self) -> Self { ... } fn gap_y_neg_9(self) -> Self { ... } fn gap_y_10(self) -> Self { ... } fn gap_y_neg_10(self) -> Self { ... } fn gap_y_11(self) -> Self { ... } fn gap_y_neg_11(self) -> Self { ... } fn gap_y_12(self) -> Self { ... } fn gap_y_neg_12(self) -> Self { ... } fn gap_y_16(self) -> Self { ... } fn gap_y_neg_16(self) -> Self { ... } fn gap_y_20(self) -> Self { ... } fn gap_y_neg_20(self) -> Self { ... } fn gap_y_24(self) -> Self { ... } fn gap_y_neg_24(self) -> Self { ... } fn gap_y_32(self) -> Self { ... } fn gap_y_neg_32(self) -> Self { ... } fn gap_y_40(self) -> Self { ... } fn gap_y_neg_40(self) -> Self { ... } fn gap_y_48(self) -> Self { ... } fn gap_y_neg_48(self) -> Self { ... } fn gap_y_56(self) -> Self { ... } fn gap_y_neg_56(self) -> Self { ... } fn gap_y_64(self) -> Self { ... } fn gap_y_neg_64(self) -> Self { ... } fn gap_y_72(self) -> Self { ... } fn gap_y_neg_72(self) -> Self { ... } fn gap_y_80(self) -> Self { ... } fn gap_y_neg_80(self) -> Self { ... } fn gap_y_96(self) -> Self { ... } fn gap_y_neg_96(self) -> Self { ... } fn gap_y_112(self) -> Self { ... } fn gap_y_neg_112(self) -> Self { ... } fn gap_y_128(self) -> Self { ... } fn gap_y_neg_128(self) -> Self { ... } fn gap_y_px(self) -> Self { ... } fn gap_y_neg_px(self) -> Self { ... } fn gap_y_full(self) -> Self { ... } fn gap_y_neg_full(self) -> Self { ... } fn gap_y_1_2(self) -> Self { ... } fn gap_y_neg_1_2(self) -> Self { ... } fn gap_y_1_3(self) -> Self { ... } fn gap_y_neg_1_3(self) -> Self { ... } fn gap_y_2_3(self) -> Self { ... } fn gap_y_neg_2_3(self) -> Self { ... } fn gap_y_1_4(self) -> Self { ... } fn gap_y_neg_1_4(self) -> Self { ... } fn gap_y_2_4(self) -> Self { ... } fn gap_y_neg_2_4(self) -> Self { ... } fn gap_y_3_4(self) -> Self { ... } fn gap_y_neg_3_4(self) -> Self { ... } fn gap_y_1_5(self) -> Self { ... } fn gap_y_neg_1_5(self) -> Self { ... } fn gap_y_2_5(self) -> Self { ... } fn gap_y_neg_2_5(self) -> Self { ... } fn gap_y_3_5(self) -> Self { ... } fn gap_y_neg_3_5(self) -> Self { ... } fn gap_y_4_5(self) -> Self { ... } fn gap_y_neg_4_5(self) -> Self { ... } fn gap_y_1_6(self) -> Self { ... } fn gap_y_neg_1_6(self) -> Self { ... } fn gap_y_5_6(self) -> Self { ... } fn gap_y_neg_5_6(self) -> Self { ... } fn gap_y_1_12(self) -> Self { ... } fn gap_y_neg_1_12(self) -> Self { ... } fn rounded(self, length: impl Clone + Into<AbsoluteLength>) -> Self { ... } fn rounded_none(self) -> Self { ... } fn rounded_xs(self) -> Self { ... } fn rounded_sm(self) -> Self { ... } fn rounded_md(self) -> Self { ... } fn rounded_lg(self) -> Self { ... } fn rounded_xl(self) -> Self { ... } fn rounded_2xl(self) -> Self { ... } fn rounded_3xl(self) -> Self { ... } fn rounded_full(self) -> Self { ... } fn rounded_t(self, length: impl Clone + Into<AbsoluteLength>) -> Self { ... } fn rounded_t_none(self) -> Self { ... } fn rounded_t_xs(self) -> Self { ... } fn rounded_t_sm(self) -> Self { ... } fn rounded_t_md(self) -> Self { ... } fn rounded_t_lg(self) -> Self { ... } fn rounded_t_xl(self) -> Self { ... } fn rounded_t_2xl(self) -> Self { ... } fn rounded_t_3xl(self) -> Self { ... } fn rounded_t_full(self) -> Self { ... } fn rounded_b(self, length: impl Clone + Into<AbsoluteLength>) -> Self { ... } fn rounded_b_none(self) -> Self { ... } fn rounded_b_xs(self) -> Self { ... } fn rounded_b_sm(self) -> Self { ... } fn rounded_b_md(self) -> Self { ... } fn rounded_b_lg(self) -> Self { ... } fn rounded_b_xl(self) -> Self { ... } fn rounded_b_2xl(self) -> Self { ... } fn rounded_b_3xl(self) -> Self { ... } fn rounded_b_full(self) -> Self { ... } fn rounded_r(self, length: impl Clone + Into<AbsoluteLength>) -> Self { ... } fn rounded_r_none(self) -> Self { ... } fn rounded_r_xs(self) -> Self { ... } fn rounded_r_sm(self) -> Self { ... } fn rounded_r_md(self) -> Self { ... } fn rounded_r_lg(self) -> Self { ... } fn rounded_r_xl(self) -> Self { ... } fn rounded_r_2xl(self) -> Self { ... } fn rounded_r_3xl(self) -> Self { ... } fn rounded_r_full(self) -> Self { ... } fn rounded_l(self, length: impl Clone + Into<AbsoluteLength>) -> Self { ... } fn rounded_l_none(self) -> Self { ... } fn rounded_l_xs(self) -> Self { ... } fn rounded_l_sm(self) -> Self { ... } fn rounded_l_md(self) -> Self { ... } fn rounded_l_lg(self) -> Self { ... } fn rounded_l_xl(self) -> Self { ... } fn rounded_l_2xl(self) -> Self { ... } fn rounded_l_3xl(self) -> Self { ... } fn rounded_l_full(self) -> Self { ... } fn rounded_tl(self, length: impl Clone + Into<AbsoluteLength>) -> Self { ... } fn rounded_tl_none(self) -> Self { ... } fn rounded_tl_xs(self) -> Self { ... } fn rounded_tl_sm(self) -> Self { ... } fn rounded_tl_md(self) -> Self { ... } fn rounded_tl_lg(self) -> Self { ... } fn rounded_tl_xl(self) -> Self { ... } fn rounded_tl_2xl(self) -> Self { ... } fn rounded_tl_3xl(self) -> Self { ... } fn rounded_tl_full(self) -> Self { ... } fn rounded_tr(self, length: impl Clone + Into<AbsoluteLength>) -> Self { ... } fn rounded_tr_none(self) -> Self { ... } fn rounded_tr_xs(self) -> Self { ... } fn rounded_tr_sm(self) -> Self { ... } fn rounded_tr_md(self) -> Self { ... } fn rounded_tr_lg(self) -> Self { ... } fn rounded_tr_xl(self) -> Self { ... } fn rounded_tr_2xl(self) -> Self { ... } fn rounded_tr_3xl(self) -> Self { ... } fn rounded_tr_full(self) -> Self { ... } fn rounded_bl(self, length: impl Clone + Into<AbsoluteLength>) -> Self { ... } fn rounded_bl_none(self) -> Self { ... } fn rounded_bl_xs(self) -> Self { ... } fn rounded_bl_sm(self) -> Self { ... } fn rounded_bl_md(self) -> Self { ... } fn rounded_bl_lg(self) -> Self { ... } fn rounded_bl_xl(self) -> Self { ... } fn rounded_bl_2xl(self) -> Self { ... } fn rounded_bl_3xl(self) -> Self { ... } fn rounded_bl_full(self) -> Self { ... } fn rounded_br(self, length: impl Clone + Into<AbsoluteLength>) -> Self { ... } fn rounded_br_none(self) -> Self { ... } fn rounded_br_xs(self) -> Self { ... } fn rounded_br_sm(self) -> Self { ... } fn rounded_br_md(self) -> Self { ... } fn rounded_br_lg(self) -> Self { ... } fn rounded_br_xl(self) -> Self { ... } fn rounded_br_2xl(self) -> Self { ... } fn rounded_br_3xl(self) -> Self { ... } fn rounded_br_full(self) -> Self { ... } fn rounded_smoothing_0(self) -> Self { ... } fn rounded_smoothing_0p1(self) -> Self { ... } fn rounded_smoothing_0p2(self) -> Self { ... } fn rounded_smoothing_0p3(self) -> Self { ... } fn rounded_smoothing_0p4(self) -> Self { ... } fn rounded_smoothing_0p5(self) -> Self { ... } fn rounded_smoothing_0p6(self) -> Self { ... } fn rounded_smoothing_0p7(self) -> Self { ... } fn rounded_smoothing_0p8(self) -> Self { ... } fn rounded_smoothing_0p9(self) -> Self { ... } fn rounded_smoothing_1(self) -> Self { ... } fn visible(self) -> Self { ... } fn invisible(self) -> Self { ... } fn m(self, length: impl Clone + Into<Length>) -> Self { ... } fn m_0(self) -> Self { ... } fn m_neg_0(self) -> Self { ... } fn m_0p5(self) -> Self { ... } fn m_neg_0p5(self) -> Self { ... } fn m_1(self) -> Self { ... } fn m_neg_1(self) -> Self { ... } fn m_1p5(self) -> Self { ... } fn m_neg_1p5(self) -> Self { ... } fn m_2(self) -> Self { ... } fn m_neg_2(self) -> Self { ... } fn m_2p5(self) -> Self { ... } fn m_neg_2p5(self) -> Self { ... } fn m_3(self) -> Self { ... } fn m_neg_3(self) -> Self { ... } fn m_3p5(self) -> Self { ... } fn m_neg_3p5(self) -> Self { ... } fn m_4(self) -> Self { ... } fn m_neg_4(self) -> Self { ... } fn m_5(self) -> Self { ... } fn m_neg_5(self) -> Self { ... } fn m_6(self) -> Self { ... } fn m_neg_6(self) -> Self { ... } fn m_7(self) -> Self { ... } fn m_neg_7(self) -> Self { ... } fn m_8(self) -> Self { ... } fn m_neg_8(self) -> Self { ... } fn m_9(self) -> Self { ... } fn m_neg_9(self) -> Self { ... } fn m_10(self) -> Self { ... } fn m_neg_10(self) -> Self { ... } fn m_11(self) -> Self { ... } fn m_neg_11(self) -> Self { ... } fn m_12(self) -> Self { ... } fn m_neg_12(self) -> Self { ... } fn m_16(self) -> Self { ... } fn m_neg_16(self) -> Self { ... } fn m_20(self) -> Self { ... } fn m_neg_20(self) -> Self { ... } fn m_24(self) -> Self { ... } fn m_neg_24(self) -> Self { ... } fn m_32(self) -> Self { ... } fn m_neg_32(self) -> Self { ... } fn m_40(self) -> Self { ... } fn m_neg_40(self) -> Self { ... } fn m_48(self) -> Self { ... } fn m_neg_48(self) -> Self { ... } fn m_56(self) -> Self { ... } fn m_neg_56(self) -> Self { ... } fn m_64(self) -> Self { ... } fn m_neg_64(self) -> Self { ... } fn m_72(self) -> Self { ... } fn m_neg_72(self) -> Self { ... } fn m_80(self) -> Self { ... } fn m_neg_80(self) -> Self { ... } fn m_96(self) -> Self { ... } fn m_neg_96(self) -> Self { ... } fn m_112(self) -> Self { ... } fn m_neg_112(self) -> Self { ... } fn m_128(self) -> Self { ... } fn m_neg_128(self) -> Self { ... } fn m_auto(self) -> Self { ... } fn m_px(self) -> Self { ... } fn m_neg_px(self) -> Self { ... } fn m_full(self) -> Self { ... } fn m_neg_full(self) -> Self { ... } fn m_1_2(self) -> Self { ... } fn m_neg_1_2(self) -> Self { ... } fn m_1_3(self) -> Self { ... } fn m_neg_1_3(self) -> Self { ... } fn m_2_3(self) -> Self { ... } fn m_neg_2_3(self) -> Self { ... } fn m_1_4(self) -> Self { ... } fn m_neg_1_4(self) -> Self { ... } fn m_2_4(self) -> Self { ... } fn m_neg_2_4(self) -> Self { ... } fn m_3_4(self) -> Self { ... } fn m_neg_3_4(self) -> Self { ... } fn m_1_5(self) -> Self { ... } fn m_neg_1_5(self) -> Self { ... } fn m_2_5(self) -> Self { ... } fn m_neg_2_5(self) -> Self { ... } fn m_3_5(self) -> Self { ... } fn m_neg_3_5(self) -> Self { ... } fn m_4_5(self) -> Self { ... } fn m_neg_4_5(self) -> Self { ... } fn m_1_6(self) -> Self { ... } fn m_neg_1_6(self) -> Self { ... } fn m_5_6(self) -> Self { ... } fn m_neg_5_6(self) -> Self { ... } fn m_1_12(self) -> Self { ... } fn m_neg_1_12(self) -> Self { ... } fn mt(self, length: impl Clone + Into<Length>) -> Self { ... } fn mt_0(self) -> Self { ... } fn mt_neg_0(self) -> Self { ... } fn mt_0p5(self) -> Self { ... } fn mt_neg_0p5(self) -> Self { ... } fn mt_1(self) -> Self { ... } fn mt_neg_1(self) -> Self { ... } fn mt_1p5(self) -> Self { ... } fn mt_neg_1p5(self) -> Self { ... } fn mt_2(self) -> Self { ... } fn mt_neg_2(self) -> Self { ... } fn mt_2p5(self) -> Self { ... } fn mt_neg_2p5(self) -> Self { ... } fn mt_3(self) -> Self { ... } fn mt_neg_3(self) -> Self { ... } fn mt_3p5(self) -> Self { ... } fn mt_neg_3p5(self) -> Self { ... } fn mt_4(self) -> Self { ... } fn mt_neg_4(self) -> Self { ... } fn mt_5(self) -> Self { ... } fn mt_neg_5(self) -> Self { ... } fn mt_6(self) -> Self { ... } fn mt_neg_6(self) -> Self { ... } fn mt_7(self) -> Self { ... } fn mt_neg_7(self) -> Self { ... } fn mt_8(self) -> Self { ... } fn mt_neg_8(self) -> Self { ... } fn mt_9(self) -> Self { ... } fn mt_neg_9(self) -> Self { ... } fn mt_10(self) -> Self { ... } fn mt_neg_10(self) -> Self { ... } fn mt_11(self) -> Self { ... } fn mt_neg_11(self) -> Self { ... } fn mt_12(self) -> Self { ... } fn mt_neg_12(self) -> Self { ... } fn mt_16(self) -> Self { ... } fn mt_neg_16(self) -> Self { ... } fn mt_20(self) -> Self { ... } fn mt_neg_20(self) -> Self { ... } fn mt_24(self) -> Self { ... } fn mt_neg_24(self) -> Self { ... } fn mt_32(self) -> Self { ... } fn mt_neg_32(self) -> Self { ... } fn mt_40(self) -> Self { ... } fn mt_neg_40(self) -> Self { ... } fn mt_48(self) -> Self { ... } fn mt_neg_48(self) -> Self { ... } fn mt_56(self) -> Self { ... } fn mt_neg_56(self) -> Self { ... } fn mt_64(self) -> Self { ... } fn mt_neg_64(self) -> Self { ... } fn mt_72(self) -> Self { ... } fn mt_neg_72(self) -> Self { ... } fn mt_80(self) -> Self { ... } fn mt_neg_80(self) -> Self { ... } fn mt_96(self) -> Self { ... } fn mt_neg_96(self) -> Self { ... } fn mt_112(self) -> Self { ... } fn mt_neg_112(self) -> Self { ... } fn mt_128(self) -> Self { ... } fn mt_neg_128(self) -> Self { ... } fn mt_auto(self) -> Self { ... } fn mt_px(self) -> Self { ... } fn mt_neg_px(self) -> Self { ... } fn mt_full(self) -> Self { ... } fn mt_neg_full(self) -> Self { ... } fn mt_1_2(self) -> Self { ... } fn mt_neg_1_2(self) -> Self { ... } fn mt_1_3(self) -> Self { ... } fn mt_neg_1_3(self) -> Self { ... } fn mt_2_3(self) -> Self { ... } fn mt_neg_2_3(self) -> Self { ... } fn mt_1_4(self) -> Self { ... } fn mt_neg_1_4(self) -> Self { ... } fn mt_2_4(self) -> Self { ... } fn mt_neg_2_4(self) -> Self { ... } fn mt_3_4(self) -> Self { ... } fn mt_neg_3_4(self) -> Self { ... } fn mt_1_5(self) -> Self { ... } fn mt_neg_1_5(self) -> Self { ... } fn mt_2_5(self) -> Self { ... } fn mt_neg_2_5(self) -> Self { ... } fn mt_3_5(self) -> Self { ... } fn mt_neg_3_5(self) -> Self { ... } fn mt_4_5(self) -> Self { ... } fn mt_neg_4_5(self) -> Self { ... } fn mt_1_6(self) -> Self { ... } fn mt_neg_1_6(self) -> Self { ... } fn mt_5_6(self) -> Self { ... } fn mt_neg_5_6(self) -> Self { ... } fn mt_1_12(self) -> Self { ... } fn mt_neg_1_12(self) -> Self { ... } fn mb(self, length: impl Clone + Into<Length>) -> Self { ... } fn mb_0(self) -> Self { ... } fn mb_neg_0(self) -> Self { ... } fn mb_0p5(self) -> Self { ... } fn mb_neg_0p5(self) -> Self { ... } fn mb_1(self) -> Self { ... } fn mb_neg_1(self) -> Self { ... } fn mb_1p5(self) -> Self { ... } fn mb_neg_1p5(self) -> Self { ... } fn mb_2(self) -> Self { ... } fn mb_neg_2(self) -> Self { ... } fn mb_2p5(self) -> Self { ... } fn mb_neg_2p5(self) -> Self { ... } fn mb_3(self) -> Self { ... } fn mb_neg_3(self) -> Self { ... } fn mb_3p5(self) -> Self { ... } fn mb_neg_3p5(self) -> Self { ... } fn mb_4(self) -> Self { ... } fn mb_neg_4(self) -> Self { ... } fn mb_5(self) -> Self { ... } fn mb_neg_5(self) -> Self { ... } fn mb_6(self) -> Self { ... } fn mb_neg_6(self) -> Self { ... } fn mb_7(self) -> Self { ... } fn mb_neg_7(self) -> Self { ... } fn mb_8(self) -> Self { ... } fn mb_neg_8(self) -> Self { ... } fn mb_9(self) -> Self { ... } fn mb_neg_9(self) -> Self { ... } fn mb_10(self) -> Self { ... } fn mb_neg_10(self) -> Self { ... } fn mb_11(self) -> Self { ... } fn mb_neg_11(self) -> Self { ... } fn mb_12(self) -> Self { ... } fn mb_neg_12(self) -> Self { ... } fn mb_16(self) -> Self { ... } fn mb_neg_16(self) -> Self { ... } fn mb_20(self) -> Self { ... } fn mb_neg_20(self) -> Self { ... } fn mb_24(self) -> Self { ... } fn mb_neg_24(self) -> Self { ... } fn mb_32(self) -> Self { ... } fn mb_neg_32(self) -> Self { ... } fn mb_40(self) -> Self { ... } fn mb_neg_40(self) -> Self { ... } fn mb_48(self) -> Self { ... } fn mb_neg_48(self) -> Self { ... } fn mb_56(self) -> Self { ... } fn mb_neg_56(self) -> Self { ... } fn mb_64(self) -> Self { ... } fn mb_neg_64(self) -> Self { ... } fn mb_72(self) -> Self { ... } fn mb_neg_72(self) -> Self { ... } fn mb_80(self) -> Self { ... } fn mb_neg_80(self) -> Self { ... } fn mb_96(self) -> Self { ... } fn mb_neg_96(self) -> Self { ... } fn mb_112(self) -> Self { ... } fn mb_neg_112(self) -> Self { ... } fn mb_128(self) -> Self { ... } fn mb_neg_128(self) -> Self { ... } fn mb_auto(self) -> Self { ... } fn mb_px(self) -> Self { ... } fn mb_neg_px(self) -> Self { ... } fn mb_full(self) -> Self { ... } fn mb_neg_full(self) -> Self { ... } fn mb_1_2(self) -> Self { ... } fn mb_neg_1_2(self) -> Self { ... } fn mb_1_3(self) -> Self { ... } fn mb_neg_1_3(self) -> Self { ... } fn mb_2_3(self) -> Self { ... } fn mb_neg_2_3(self) -> Self { ... } fn mb_1_4(self) -> Self { ... } fn mb_neg_1_4(self) -> Self { ... } fn mb_2_4(self) -> Self { ... } fn mb_neg_2_4(self) -> Self { ... } fn mb_3_4(self) -> Self { ... } fn mb_neg_3_4(self) -> Self { ... } fn mb_1_5(self) -> Self { ... } fn mb_neg_1_5(self) -> Self { ... } fn mb_2_5(self) -> Self { ... } fn mb_neg_2_5(self) -> Self { ... } fn mb_3_5(self) -> Self { ... } fn mb_neg_3_5(self) -> Self { ... } fn mb_4_5(self) -> Self { ... } fn mb_neg_4_5(self) -> Self { ... } fn mb_1_6(self) -> Self { ... } fn mb_neg_1_6(self) -> Self { ... } fn mb_5_6(self) -> Self { ... } fn mb_neg_5_6(self) -> Self { ... } fn mb_1_12(self) -> Self { ... } fn mb_neg_1_12(self) -> Self { ... } fn my(self, length: impl Clone + Into<Length>) -> Self { ... } fn my_0(self) -> Self { ... } fn my_neg_0(self) -> Self { ... } fn my_0p5(self) -> Self { ... } fn my_neg_0p5(self) -> Self { ... } fn my_1(self) -> Self { ... } fn my_neg_1(self) -> Self { ... } fn my_1p5(self) -> Self { ... } fn my_neg_1p5(self) -> Self { ... } fn my_2(self) -> Self { ... } fn my_neg_2(self) -> Self { ... } fn my_2p5(self) -> Self { ... } fn my_neg_2p5(self) -> Self { ... } fn my_3(self) -> Self { ... } fn my_neg_3(self) -> Self { ... } fn my_3p5(self) -> Self { ... } fn my_neg_3p5(self) -> Self { ... } fn my_4(self) -> Self { ... } fn my_neg_4(self) -> Self { ... } fn my_5(self) -> Self { ... } fn my_neg_5(self) -> Self { ... } fn my_6(self) -> Self { ... } fn my_neg_6(self) -> Self { ... } fn my_7(self) -> Self { ... } fn my_neg_7(self) -> Self { ... } fn my_8(self) -> Self { ... } fn my_neg_8(self) -> Self { ... } fn my_9(self) -> Self { ... } fn my_neg_9(self) -> Self { ... } fn my_10(self) -> Self { ... } fn my_neg_10(self) -> Self { ... } fn my_11(self) -> Self { ... } fn my_neg_11(self) -> Self { ... } fn my_12(self) -> Self { ... } fn my_neg_12(self) -> Self { ... } fn my_16(self) -> Self { ... } fn my_neg_16(self) -> Self { ... } fn my_20(self) -> Self { ... } fn my_neg_20(self) -> Self { ... } fn my_24(self) -> Self { ... } fn my_neg_24(self) -> Self { ... } fn my_32(self) -> Self { ... } fn my_neg_32(self) -> Self { ... } fn my_40(self) -> Self { ... } fn my_neg_40(self) -> Self { ... } fn my_48(self) -> Self { ... } fn my_neg_48(self) -> Self { ... } fn my_56(self) -> Self { ... } fn my_neg_56(self) -> Self { ... } fn my_64(self) -> Self { ... } fn my_neg_64(self) -> Self { ... } fn my_72(self) -> Self { ... } fn my_neg_72(self) -> Self { ... } fn my_80(self) -> Self { ... } fn my_neg_80(self) -> Self { ... } fn my_96(self) -> Self { ... } fn my_neg_96(self) -> Self { ... } fn my_112(self) -> Self { ... } fn my_neg_112(self) -> Self { ... } fn my_128(self) -> Self { ... } fn my_neg_128(self) -> Self { ... } fn my_auto(self) -> Self { ... } fn my_px(self) -> Self { ... } fn my_neg_px(self) -> Self { ... } fn my_full(self) -> Self { ... } fn my_neg_full(self) -> Self { ... } fn my_1_2(self) -> Self { ... } fn my_neg_1_2(self) -> Self { ... } fn my_1_3(self) -> Self { ... } fn my_neg_1_3(self) -> Self { ... } fn my_2_3(self) -> Self { ... } fn my_neg_2_3(self) -> Self { ... } fn my_1_4(self) -> Self { ... } fn my_neg_1_4(self) -> Self { ... } fn my_2_4(self) -> Self { ... } fn my_neg_2_4(self) -> Self { ... } fn my_3_4(self) -> Self { ... } fn my_neg_3_4(self) -> Self { ... } fn my_1_5(self) -> Self { ... } fn my_neg_1_5(self) -> Self { ... } fn my_2_5(self) -> Self { ... } fn my_neg_2_5(self) -> Self { ... } fn my_3_5(self) -> Self { ... } fn my_neg_3_5(self) -> Self { ... } fn my_4_5(self) -> Self { ... } fn my_neg_4_5(self) -> Self { ... } fn my_1_6(self) -> Self { ... } fn my_neg_1_6(self) -> Self { ... } fn my_5_6(self) -> Self { ... } fn my_neg_5_6(self) -> Self { ... } fn my_1_12(self) -> Self { ... } fn my_neg_1_12(self) -> Self { ... } fn mx(self, length: impl Clone + Into<Length>) -> Self { ... } fn mx_0(self) -> Self { ... } fn mx_neg_0(self) -> Self { ... } fn mx_0p5(self) -> Self { ... } fn mx_neg_0p5(self) -> Self { ... } fn mx_1(self) -> Self { ... } fn mx_neg_1(self) -> Self { ... } fn mx_1p5(self) -> Self { ... } fn mx_neg_1p5(self) -> Self { ... } fn mx_2(self) -> Self { ... } fn mx_neg_2(self) -> Self { ... } fn mx_2p5(self) -> Self { ... } fn mx_neg_2p5(self) -> Self { ... } fn mx_3(self) -> Self { ... } fn mx_neg_3(self) -> Self { ... } fn mx_3p5(self) -> Self { ... } fn mx_neg_3p5(self) -> Self { ... } fn mx_4(self) -> Self { ... } fn mx_neg_4(self) -> Self { ... } fn mx_5(self) -> Self { ... } fn mx_neg_5(self) -> Self { ... } fn mx_6(self) -> Self { ... } fn mx_neg_6(self) -> Self { ... } fn mx_7(self) -> Self { ... } fn mx_neg_7(self) -> Self { ... } fn mx_8(self) -> Self { ... } fn mx_neg_8(self) -> Self { ... } fn mx_9(self) -> Self { ... } fn mx_neg_9(self) -> Self { ... } fn mx_10(self) -> Self { ... } fn mx_neg_10(self) -> Self { ... } fn mx_11(self) -> Self { ... } fn mx_neg_11(self) -> Self { ... } fn mx_12(self) -> Self { ... } fn mx_neg_12(self) -> Self { ... } fn mx_16(self) -> Self { ... } fn mx_neg_16(self) -> Self { ... } fn mx_20(self) -> Self { ... } fn mx_neg_20(self) -> Self { ... } fn mx_24(self) -> Self { ... } fn mx_neg_24(self) -> Self { ... } fn mx_32(self) -> Self { ... } fn mx_neg_32(self) -> Self { ... } fn mx_40(self) -> Self { ... } fn mx_neg_40(self) -> Self { ... } fn mx_48(self) -> Self { ... } fn mx_neg_48(self) -> Self { ... } fn mx_56(self) -> Self { ... } fn mx_neg_56(self) -> Self { ... } fn mx_64(self) -> Self { ... } fn mx_neg_64(self) -> Self { ... } fn mx_72(self) -> Self { ... } fn mx_neg_72(self) -> Self { ... } fn mx_80(self) -> Self { ... } fn mx_neg_80(self) -> Self { ... } fn mx_96(self) -> Self { ... } fn mx_neg_96(self) -> Self { ... } fn mx_112(self) -> Self { ... } fn mx_neg_112(self) -> Self { ... } fn mx_128(self) -> Self { ... } fn mx_neg_128(self) -> Self { ... } fn mx_auto(self) -> Self { ... } fn mx_px(self) -> Self { ... } fn mx_neg_px(self) -> Self { ... } fn mx_full(self) -> Self { ... } fn mx_neg_full(self) -> Self { ... } fn mx_1_2(self) -> Self { ... } fn mx_neg_1_2(self) -> Self { ... } fn mx_1_3(self) -> Self { ... } fn mx_neg_1_3(self) -> Self { ... } fn mx_2_3(self) -> Self { ... } fn mx_neg_2_3(self) -> Self { ... } fn mx_1_4(self) -> Self { ... } fn mx_neg_1_4(self) -> Self { ... } fn mx_2_4(self) -> Self { ... } fn mx_neg_2_4(self) -> Self { ... } fn mx_3_4(self) -> Self { ... } fn mx_neg_3_4(self) -> Self { ... } fn mx_1_5(self) -> Self { ... } fn mx_neg_1_5(self) -> Self { ... } fn mx_2_5(self) -> Self { ... } fn mx_neg_2_5(self) -> Self { ... } fn mx_3_5(self) -> Self { ... } fn mx_neg_3_5(self) -> Self { ... } fn mx_4_5(self) -> Self { ... } fn mx_neg_4_5(self) -> Self { ... } fn mx_1_6(self) -> Self { ... } fn mx_neg_1_6(self) -> Self { ... } fn mx_5_6(self) -> Self { ... } fn mx_neg_5_6(self) -> Self { ... } fn mx_1_12(self) -> Self { ... } fn mx_neg_1_12(self) -> Self { ... } fn ml(self, length: impl Clone + Into<Length>) -> Self { ... } fn ml_0(self) -> Self { ... } fn ml_neg_0(self) -> Self { ... } fn ml_0p5(self) -> Self { ... } fn ml_neg_0p5(self) -> Self { ... } fn ml_1(self) -> Self { ... } fn ml_neg_1(self) -> Self { ... } fn ml_1p5(self) -> Self { ... } fn ml_neg_1p5(self) -> Self { ... } fn ml_2(self) -> Self { ... } fn ml_neg_2(self) -> Self { ... } fn ml_2p5(self) -> Self { ... } fn ml_neg_2p5(self) -> Self { ... } fn ml_3(self) -> Self { ... } fn ml_neg_3(self) -> Self { ... } fn ml_3p5(self) -> Self { ... } fn ml_neg_3p5(self) -> Self { ... } fn ml_4(self) -> Self { ... } fn ml_neg_4(self) -> Self { ... } fn ml_5(self) -> Self { ... } fn ml_neg_5(self) -> Self { ... } fn ml_6(self) -> Self { ... } fn ml_neg_6(self) -> Self { ... } fn ml_7(self) -> Self { ... } fn ml_neg_7(self) -> Self { ... } fn ml_8(self) -> Self { ... } fn ml_neg_8(self) -> Self { ... } fn ml_9(self) -> Self { ... } fn ml_neg_9(self) -> Self { ... } fn ml_10(self) -> Self { ... } fn ml_neg_10(self) -> Self { ... } fn ml_11(self) -> Self { ... } fn ml_neg_11(self) -> Self { ... } fn ml_12(self) -> Self { ... } fn ml_neg_12(self) -> Self { ... } fn ml_16(self) -> Self { ... } fn ml_neg_16(self) -> Self { ... } fn ml_20(self) -> Self { ... } fn ml_neg_20(self) -> Self { ... } fn ml_24(self) -> Self { ... } fn ml_neg_24(self) -> Self { ... } fn ml_32(self) -> Self { ... } fn ml_neg_32(self) -> Self { ... } fn ml_40(self) -> Self { ... } fn ml_neg_40(self) -> Self { ... } fn ml_48(self) -> Self { ... } fn ml_neg_48(self) -> Self { ... } fn ml_56(self) -> Self { ... } fn ml_neg_56(self) -> Self { ... } fn ml_64(self) -> Self { ... } fn ml_neg_64(self) -> Self { ... } fn ml_72(self) -> Self { ... } fn ml_neg_72(self) -> Self { ... } fn ml_80(self) -> Self { ... } fn ml_neg_80(self) -> Self { ... } fn ml_96(self) -> Self { ... } fn ml_neg_96(self) -> Self { ... } fn ml_112(self) -> Self { ... } fn ml_neg_112(self) -> Self { ... } fn ml_128(self) -> Self { ... } fn ml_neg_128(self) -> Self { ... } fn ml_auto(self) -> Self { ... } fn ml_px(self) -> Self { ... } fn ml_neg_px(self) -> Self { ... } fn ml_full(self) -> Self { ... } fn ml_neg_full(self) -> Self { ... } fn ml_1_2(self) -> Self { ... } fn ml_neg_1_2(self) -> Self { ... } fn ml_1_3(self) -> Self { ... } fn ml_neg_1_3(self) -> Self { ... } fn ml_2_3(self) -> Self { ... } fn ml_neg_2_3(self) -> Self { ... } fn ml_1_4(self) -> Self { ... } fn ml_neg_1_4(self) -> Self { ... } fn ml_2_4(self) -> Self { ... } fn ml_neg_2_4(self) -> Self { ... } fn ml_3_4(self) -> Self { ... } fn ml_neg_3_4(self) -> Self { ... } fn ml_1_5(self) -> Self { ... } fn ml_neg_1_5(self) -> Self { ... } fn ml_2_5(self) -> Self { ... } fn ml_neg_2_5(self) -> Self { ... } fn ml_3_5(self) -> Self { ... } fn ml_neg_3_5(self) -> Self { ... } fn ml_4_5(self) -> Self { ... } fn ml_neg_4_5(self) -> Self { ... } fn ml_1_6(self) -> Self { ... } fn ml_neg_1_6(self) -> Self { ... } fn ml_5_6(self) -> Self { ... } fn ml_neg_5_6(self) -> Self { ... } fn ml_1_12(self) -> Self { ... } fn ml_neg_1_12(self) -> Self { ... } fn mr(self, length: impl Clone + Into<Length>) -> Self { ... } fn mr_0(self) -> Self { ... } fn mr_neg_0(self) -> Self { ... } fn mr_0p5(self) -> Self { ... } fn mr_neg_0p5(self) -> Self { ... } fn mr_1(self) -> Self { ... } fn mr_neg_1(self) -> Self { ... } fn mr_1p5(self) -> Self { ... } fn mr_neg_1p5(self) -> Self { ... } fn mr_2(self) -> Self { ... } fn mr_neg_2(self) -> Self { ... } fn mr_2p5(self) -> Self { ... } fn mr_neg_2p5(self) -> Self { ... } fn mr_3(self) -> Self { ... } fn mr_neg_3(self) -> Self { ... } fn mr_3p5(self) -> Self { ... } fn mr_neg_3p5(self) -> Self { ... } fn mr_4(self) -> Self { ... } fn mr_neg_4(self) -> Self { ... } fn mr_5(self) -> Self { ... } fn mr_neg_5(self) -> Self { ... } fn mr_6(self) -> Self { ... } fn mr_neg_6(self) -> Self { ... } fn mr_7(self) -> Self { ... } fn mr_neg_7(self) -> Self { ... } fn mr_8(self) -> Self { ... } fn mr_neg_8(self) -> Self { ... } fn mr_9(self) -> Self { ... } fn mr_neg_9(self) -> Self { ... } fn mr_10(self) -> Self { ... } fn mr_neg_10(self) -> Self { ... } fn mr_11(self) -> Self { ... } fn mr_neg_11(self) -> Self { ... } fn mr_12(self) -> Self { ... } fn mr_neg_12(self) -> Self { ... } fn mr_16(self) -> Self { ... } fn mr_neg_16(self) -> Self { ... } fn mr_20(self) -> Self { ... } fn mr_neg_20(self) -> Self { ... } fn mr_24(self) -> Self { ... } fn mr_neg_24(self) -> Self { ... } fn mr_32(self) -> Self { ... } fn mr_neg_32(self) -> Self { ... } fn mr_40(self) -> Self { ... } fn mr_neg_40(self) -> Self { ... } fn mr_48(self) -> Self { ... } fn mr_neg_48(self) -> Self { ... } fn mr_56(self) -> Self { ... } fn mr_neg_56(self) -> Self { ... } fn mr_64(self) -> Self { ... } fn mr_neg_64(self) -> Self { ... } fn mr_72(self) -> Self { ... } fn mr_neg_72(self) -> Self { ... } fn mr_80(self) -> Self { ... } fn mr_neg_80(self) -> Self { ... } fn mr_96(self) -> Self { ... } fn mr_neg_96(self) -> Self { ... } fn mr_112(self) -> Self { ... } fn mr_neg_112(self) -> Self { ... } fn mr_128(self) -> Self { ... } fn mr_neg_128(self) -> Self { ... } fn mr_auto(self) -> Self { ... } fn mr_px(self) -> Self { ... } fn mr_neg_px(self) -> Self { ... } fn mr_full(self) -> Self { ... } fn mr_neg_full(self) -> Self { ... } fn mr_1_2(self) -> Self { ... } fn mr_neg_1_2(self) -> Self { ... } fn mr_1_3(self) -> Self { ... } fn mr_neg_1_3(self) -> Self { ... } fn mr_2_3(self) -> Self { ... } fn mr_neg_2_3(self) -> Self { ... } fn mr_1_4(self) -> Self { ... } fn mr_neg_1_4(self) -> Self { ... } fn mr_2_4(self) -> Self { ... } fn mr_neg_2_4(self) -> Self { ... } fn mr_3_4(self) -> Self { ... } fn mr_neg_3_4(self) -> Self { ... } fn mr_1_5(self) -> Self { ... } fn mr_neg_1_5(self) -> Self { ... } fn mr_2_5(self) -> Self { ... } fn mr_neg_2_5(self) -> Self { ... } fn mr_3_5(self) -> Self { ... } fn mr_neg_3_5(self) -> Self { ... } fn mr_4_5(self) -> Self { ... } fn mr_neg_4_5(self) -> Self { ... } fn mr_1_6(self) -> Self { ... } fn mr_neg_1_6(self) -> Self { ... } fn mr_5_6(self) -> Self { ... } fn mr_neg_5_6(self) -> Self { ... } fn mr_1_12(self) -> Self { ... } fn mr_neg_1_12(self) -> Self { ... } fn p(self, length: impl Clone + Into<DefiniteLength>) -> Self { ... } fn p_0(self) -> Self { ... } fn p_neg_0(self) -> Self { ... } fn p_0p5(self) -> Self { ... } fn p_neg_0p5(self) -> Self { ... } fn p_1(self) -> Self { ... } fn p_neg_1(self) -> Self { ... } fn p_1p5(self) -> Self { ... } fn p_neg_1p5(self) -> Self { ... } fn p_2(self) -> Self { ... } fn p_neg_2(self) -> Self { ... } fn p_2p5(self) -> Self { ... } fn p_neg_2p5(self) -> Self { ... } fn p_3(self) -> Self { ... } fn p_neg_3(self) -> Self { ... } fn p_3p5(self) -> Self { ... } fn p_neg_3p5(self) -> Self { ... } fn p_4(self) -> Self { ... } fn p_neg_4(self) -> Self { ... } fn p_5(self) -> Self { ... } fn p_neg_5(self) -> Self { ... } fn p_6(self) -> Self { ... } fn p_neg_6(self) -> Self { ... } fn p_7(self) -> Self { ... } fn p_neg_7(self) -> Self { ... } fn p_8(self) -> Self { ... } fn p_neg_8(self) -> Self { ... } fn p_9(self) -> Self { ... } fn p_neg_9(self) -> Self { ... } fn p_10(self) -> Self { ... } fn p_neg_10(self) -> Self { ... } fn p_11(self) -> Self { ... } fn p_neg_11(self) -> Self { ... } fn p_12(self) -> Self { ... } fn p_neg_12(self) -> Self { ... } fn p_16(self) -> Self { ... } fn p_neg_16(self) -> Self { ... } fn p_20(self) -> Self { ... } fn p_neg_20(self) -> Self { ... } fn p_24(self) -> Self { ... } fn p_neg_24(self) -> Self { ... } fn p_32(self) -> Self { ... } fn p_neg_32(self) -> Self { ... } fn p_40(self) -> Self { ... } fn p_neg_40(self) -> Self { ... } fn p_48(self) -> Self { ... } fn p_neg_48(self) -> Self { ... } fn p_56(self) -> Self { ... } fn p_neg_56(self) -> Self { ... } fn p_64(self) -> Self { ... } fn p_neg_64(self) -> Self { ... } fn p_72(self) -> Self { ... } fn p_neg_72(self) -> Self { ... } fn p_80(self) -> Self { ... } fn p_neg_80(self) -> Self { ... } fn p_96(self) -> Self { ... } fn p_neg_96(self) -> Self { ... } fn p_112(self) -> Self { ... } fn p_neg_112(self) -> Self { ... } fn p_128(self) -> Self { ... } fn p_neg_128(self) -> Self { ... } fn p_px(self) -> Self { ... } fn p_neg_px(self) -> Self { ... } fn p_full(self) -> Self { ... } fn p_neg_full(self) -> Self { ... } fn p_1_2(self) -> Self { ... } fn p_neg_1_2(self) -> Self { ... } fn p_1_3(self) -> Self { ... } fn p_neg_1_3(self) -> Self { ... } fn p_2_3(self) -> Self { ... } fn p_neg_2_3(self) -> Self { ... } fn p_1_4(self) -> Self { ... } fn p_neg_1_4(self) -> Self { ... } fn p_2_4(self) -> Self { ... } fn p_neg_2_4(self) -> Self { ... } fn p_3_4(self) -> Self { ... } fn p_neg_3_4(self) -> Self { ... } fn p_1_5(self) -> Self { ... } fn p_neg_1_5(self) -> Self { ... } fn p_2_5(self) -> Self { ... } fn p_neg_2_5(self) -> Self { ... } fn p_3_5(self) -> Self { ... } fn p_neg_3_5(self) -> Self { ... } fn p_4_5(self) -> Self { ... } fn p_neg_4_5(self) -> Self { ... } fn p_1_6(self) -> Self { ... } fn p_neg_1_6(self) -> Self { ... } fn p_5_6(self) -> Self { ... } fn p_neg_5_6(self) -> Self { ... } fn p_1_12(self) -> Self { ... } fn p_neg_1_12(self) -> Self { ... } fn pt(self, length: impl Clone + Into<DefiniteLength>) -> Self { ... } fn pt_0(self) -> Self { ... } fn pt_neg_0(self) -> Self { ... } fn pt_0p5(self) -> Self { ... } fn pt_neg_0p5(self) -> Self { ... } fn pt_1(self) -> Self { ... } fn pt_neg_1(self) -> Self { ... } fn pt_1p5(self) -> Self { ... } fn pt_neg_1p5(self) -> Self { ... } fn pt_2(self) -> Self { ... } fn pt_neg_2(self) -> Self { ... } fn pt_2p5(self) -> Self { ... } fn pt_neg_2p5(self) -> Self { ... } fn pt_3(self) -> Self { ... } fn pt_neg_3(self) -> Self { ... } fn pt_3p5(self) -> Self { ... } fn pt_neg_3p5(self) -> Self { ... } fn pt_4(self) -> Self { ... } fn pt_neg_4(self) -> Self { ... } fn pt_5(self) -> Self { ... } fn pt_neg_5(self) -> Self { ... } fn pt_6(self) -> Self { ... } fn pt_neg_6(self) -> Self { ... } fn pt_7(self) -> Self { ... } fn pt_neg_7(self) -> Self { ... } fn pt_8(self) -> Self { ... } fn pt_neg_8(self) -> Self { ... } fn pt_9(self) -> Self { ... } fn pt_neg_9(self) -> Self { ... } fn pt_10(self) -> Self { ... } fn pt_neg_10(self) -> Self { ... } fn pt_11(self) -> Self { ... } fn pt_neg_11(self) -> Self { ... } fn pt_12(self) -> Self { ... } fn pt_neg_12(self) -> Self { ... } fn pt_16(self) -> Self { ... } fn pt_neg_16(self) -> Self { ... } fn pt_20(self) -> Self { ... } fn pt_neg_20(self) -> Self { ... } fn pt_24(self) -> Self { ... } fn pt_neg_24(self) -> Self { ... } fn pt_32(self) -> Self { ... } fn pt_neg_32(self) -> Self { ... } fn pt_40(self) -> Self { ... } fn pt_neg_40(self) -> Self { ... } fn pt_48(self) -> Self { ... } fn pt_neg_48(self) -> Self { ... } fn pt_56(self) -> Self { ... } fn pt_neg_56(self) -> Self { ... } fn pt_64(self) -> Self { ... } fn pt_neg_64(self) -> Self { ... } fn pt_72(self) -> Self { ... } fn pt_neg_72(self) -> Self { ... } fn pt_80(self) -> Self { ... } fn pt_neg_80(self) -> Self { ... } fn pt_96(self) -> Self { ... } fn pt_neg_96(self) -> Self { ... } fn pt_112(self) -> Self { ... } fn pt_neg_112(self) -> Self { ... } fn pt_128(self) -> Self { ... } fn pt_neg_128(self) -> Self { ... } fn pt_px(self) -> Self { ... } fn pt_neg_px(self) -> Self { ... } fn pt_full(self) -> Self { ... } fn pt_neg_full(self) -> Self { ... } fn pt_1_2(self) -> Self { ... } fn pt_neg_1_2(self) -> Self { ... } fn pt_1_3(self) -> Self { ... } fn pt_neg_1_3(self) -> Self { ... } fn pt_2_3(self) -> Self { ... } fn pt_neg_2_3(self) -> Self { ... } fn pt_1_4(self) -> Self { ... } fn pt_neg_1_4(self) -> Self { ... } fn pt_2_4(self) -> Self { ... } fn pt_neg_2_4(self) -> Self { ... } fn pt_3_4(self) -> Self { ... } fn pt_neg_3_4(self) -> Self { ... } fn pt_1_5(self) -> Self { ... } fn pt_neg_1_5(self) -> Self { ... } fn pt_2_5(self) -> Self { ... } fn pt_neg_2_5(self) -> Self { ... } fn pt_3_5(self) -> Self { ... } fn pt_neg_3_5(self) -> Self { ... } fn pt_4_5(self) -> Self { ... } fn pt_neg_4_5(self) -> Self { ... } fn pt_1_6(self) -> Self { ... } fn pt_neg_1_6(self) -> Self { ... } fn pt_5_6(self) -> Self { ... } fn pt_neg_5_6(self) -> Self { ... } fn pt_1_12(self) -> Self { ... } fn pt_neg_1_12(self) -> Self { ... } fn pb(self, length: impl Clone + Into<DefiniteLength>) -> Self { ... } fn pb_0(self) -> Self { ... } fn pb_neg_0(self) -> Self { ... } fn pb_0p5(self) -> Self { ... } fn pb_neg_0p5(self) -> Self { ... } fn pb_1(self) -> Self { ... } fn pb_neg_1(self) -> Self { ... } fn pb_1p5(self) -> Self { ... } fn pb_neg_1p5(self) -> Self { ... } fn pb_2(self) -> Self { ... } fn pb_neg_2(self) -> Self { ... } fn pb_2p5(self) -> Self { ... } fn pb_neg_2p5(self) -> Self { ... } fn pb_3(self) -> Self { ... } fn pb_neg_3(self) -> Self { ... } fn pb_3p5(self) -> Self { ... } fn pb_neg_3p5(self) -> Self { ... } fn pb_4(self) -> Self { ... } fn pb_neg_4(self) -> Self { ... } fn pb_5(self) -> Self { ... } fn pb_neg_5(self) -> Self { ... } fn pb_6(self) -> Self { ... } fn pb_neg_6(self) -> Self { ... } fn pb_7(self) -> Self { ... } fn pb_neg_7(self) -> Self { ... } fn pb_8(self) -> Self { ... } fn pb_neg_8(self) -> Self { ... } fn pb_9(self) -> Self { ... } fn pb_neg_9(self) -> Self { ... } fn pb_10(self) -> Self { ... } fn pb_neg_10(self) -> Self { ... } fn pb_11(self) -> Self { ... } fn pb_neg_11(self) -> Self { ... } fn pb_12(self) -> Self { ... } fn pb_neg_12(self) -> Self { ... } fn pb_16(self) -> Self { ... } fn pb_neg_16(self) -> Self { ... } fn pb_20(self) -> Self { ... } fn pb_neg_20(self) -> Self { ... } fn pb_24(self) -> Self { ... } fn pb_neg_24(self) -> Self { ... } fn pb_32(self) -> Self { ... } fn pb_neg_32(self) -> Self { ... } fn pb_40(self) -> Self { ... } fn pb_neg_40(self) -> Self { ... } fn pb_48(self) -> Self { ... } fn pb_neg_48(self) -> Self { ... } fn pb_56(self) -> Self { ... } fn pb_neg_56(self) -> Self { ... } fn pb_64(self) -> Self { ... } fn pb_neg_64(self) -> Self { ... } fn pb_72(self) -> Self { ... } fn pb_neg_72(self) -> Self { ... } fn pb_80(self) -> Self { ... } fn pb_neg_80(self) -> Self { ... } fn pb_96(self) -> Self { ... } fn pb_neg_96(self) -> Self { ... } fn pb_112(self) -> Self { ... } fn pb_neg_112(self) -> Self { ... } fn pb_128(self) -> Self { ... } fn pb_neg_128(self) -> Self { ... } fn pb_px(self) -> Self { ... } fn pb_neg_px(self) -> Self { ... } fn pb_full(self) -> Self { ... } fn pb_neg_full(self) -> Self { ... } fn pb_1_2(self) -> Self { ... } fn pb_neg_1_2(self) -> Self { ... } fn pb_1_3(self) -> Self { ... } fn pb_neg_1_3(self) -> Self { ... } fn pb_2_3(self) -> Self { ... } fn pb_neg_2_3(self) -> Self { ... } fn pb_1_4(self) -> Self { ... } fn pb_neg_1_4(self) -> Self { ... } fn pb_2_4(self) -> Self { ... } fn pb_neg_2_4(self) -> Self { ... } fn pb_3_4(self) -> Self { ... } fn pb_neg_3_4(self) -> Self { ... } fn pb_1_5(self) -> Self { ... } fn pb_neg_1_5(self) -> Self { ... } fn pb_2_5(self) -> Self { ... } fn pb_neg_2_5(self) -> Self { ... } fn pb_3_5(self) -> Self { ... } fn pb_neg_3_5(self) -> Self { ... } fn pb_4_5(self) -> Self { ... } fn pb_neg_4_5(self) -> Self { ... } fn pb_1_6(self) -> Self { ... } fn pb_neg_1_6(self) -> Self { ... } fn pb_5_6(self) -> Self { ... } fn pb_neg_5_6(self) -> Self { ... } fn pb_1_12(self) -> Self { ... } fn pb_neg_1_12(self) -> Self { ... } fn px(self, length: impl Clone + Into<DefiniteLength>) -> Self { ... } fn px_0(self) -> Self { ... } fn px_neg_0(self) -> Self { ... } fn px_0p5(self) -> Self { ... } fn px_neg_0p5(self) -> Self { ... } fn px_1(self) -> Self { ... } fn px_neg_1(self) -> Self { ... } fn px_1p5(self) -> Self { ... } fn px_neg_1p5(self) -> Self { ... } fn px_2(self) -> Self { ... } fn px_neg_2(self) -> Self { ... } fn px_2p5(self) -> Self { ... } fn px_neg_2p5(self) -> Self { ... } fn px_3(self) -> Self { ... } fn px_neg_3(self) -> Self { ... } fn px_3p5(self) -> Self { ... } fn px_neg_3p5(self) -> Self { ... } fn px_4(self) -> Self { ... } fn px_neg_4(self) -> Self { ... } fn px_5(self) -> Self { ... } fn px_neg_5(self) -> Self { ... } fn px_6(self) -> Self { ... } fn px_neg_6(self) -> Self { ... } fn px_7(self) -> Self { ... } fn px_neg_7(self) -> Self { ... } fn px_8(self) -> Self { ... } fn px_neg_8(self) -> Self { ... } fn px_9(self) -> Self { ... } fn px_neg_9(self) -> Self { ... } fn px_10(self) -> Self { ... } fn px_neg_10(self) -> Self { ... } fn px_11(self) -> Self { ... } fn px_neg_11(self) -> Self { ... } fn px_12(self) -> Self { ... } fn px_neg_12(self) -> Self { ... } fn px_16(self) -> Self { ... } fn px_neg_16(self) -> Self { ... } fn px_20(self) -> Self { ... } fn px_neg_20(self) -> Self { ... } fn px_24(self) -> Self { ... } fn px_neg_24(self) -> Self { ... } fn px_32(self) -> Self { ... } fn px_neg_32(self) -> Self { ... } fn px_40(self) -> Self { ... } fn px_neg_40(self) -> Self { ... } fn px_48(self) -> Self { ... } fn px_neg_48(self) -> Self { ... } fn px_56(self) -> Self { ... } fn px_neg_56(self) -> Self { ... } fn px_64(self) -> Self { ... } fn px_neg_64(self) -> Self { ... } fn px_72(self) -> Self { ... } fn px_neg_72(self) -> Self { ... } fn px_80(self) -> Self { ... } fn px_neg_80(self) -> Self { ... } fn px_96(self) -> Self { ... } fn px_neg_96(self) -> Self { ... } fn px_112(self) -> Self { ... } fn px_neg_112(self) -> Self { ... } fn px_128(self) -> Self { ... } fn px_neg_128(self) -> Self { ... } fn px_px(self) -> Self { ... } fn px_neg_px(self) -> Self { ... } fn px_full(self) -> Self { ... } fn px_neg_full(self) -> Self { ... } fn px_1_2(self) -> Self { ... } fn px_neg_1_2(self) -> Self { ... } fn px_1_3(self) -> Self { ... } fn px_neg_1_3(self) -> Self { ... } fn px_2_3(self) -> Self { ... } fn px_neg_2_3(self) -> Self { ... } fn px_1_4(self) -> Self { ... } fn px_neg_1_4(self) -> Self { ... } fn px_2_4(self) -> Self { ... } fn px_neg_2_4(self) -> Self { ... } fn px_3_4(self) -> Self { ... } fn px_neg_3_4(self) -> Self { ... } fn px_1_5(self) -> Self { ... } fn px_neg_1_5(self) -> Self { ... } fn px_2_5(self) -> Self { ... } fn px_neg_2_5(self) -> Self { ... } fn px_3_5(self) -> Self { ... } fn px_neg_3_5(self) -> Self { ... } fn px_4_5(self) -> Self { ... } fn px_neg_4_5(self) -> Self { ... } fn px_1_6(self) -> Self { ... } fn px_neg_1_6(self) -> Self { ... } fn px_5_6(self) -> Self { ... } fn px_neg_5_6(self) -> Self { ... } fn px_1_12(self) -> Self { ... } fn px_neg_1_12(self) -> Self { ... } fn py(self, length: impl Clone + Into<DefiniteLength>) -> Self { ... } fn py_0(self) -> Self { ... } fn py_neg_0(self) -> Self { ... } fn py_0p5(self) -> Self { ... } fn py_neg_0p5(self) -> Self { ... } fn py_1(self) -> Self { ... } fn py_neg_1(self) -> Self { ... } fn py_1p5(self) -> Self { ... } fn py_neg_1p5(self) -> Self { ... } fn py_2(self) -> Self { ... } fn py_neg_2(self) -> Self { ... } fn py_2p5(self) -> Self { ... } fn py_neg_2p5(self) -> Self { ... } fn py_3(self) -> Self { ... } fn py_neg_3(self) -> Self { ... } fn py_3p5(self) -> Self { ... } fn py_neg_3p5(self) -> Self { ... } fn py_4(self) -> Self { ... } fn py_neg_4(self) -> Self { ... } fn py_5(self) -> Self { ... } fn py_neg_5(self) -> Self { ... } fn py_6(self) -> Self { ... } fn py_neg_6(self) -> Self { ... } fn py_7(self) -> Self { ... } fn py_neg_7(self) -> Self { ... } fn py_8(self) -> Self { ... } fn py_neg_8(self) -> Self { ... } fn py_9(self) -> Self { ... } fn py_neg_9(self) -> Self { ... } fn py_10(self) -> Self { ... } fn py_neg_10(self) -> Self { ... } fn py_11(self) -> Self { ... } fn py_neg_11(self) -> Self { ... } fn py_12(self) -> Self { ... } fn py_neg_12(self) -> Self { ... } fn py_16(self) -> Self { ... } fn py_neg_16(self) -> Self { ... } fn py_20(self) -> Self { ... } fn py_neg_20(self) -> Self { ... } fn py_24(self) -> Self { ... } fn py_neg_24(self) -> Self { ... } fn py_32(self) -> Self { ... } fn py_neg_32(self) -> Self { ... } fn py_40(self) -> Self { ... } fn py_neg_40(self) -> Self { ... } fn py_48(self) -> Self { ... } fn py_neg_48(self) -> Self { ... } fn py_56(self) -> Self { ... } fn py_neg_56(self) -> Self { ... } fn py_64(self) -> Self { ... } fn py_neg_64(self) -> Self { ... } fn py_72(self) -> Self { ... } fn py_neg_72(self) -> Self { ... } fn py_80(self) -> Self { ... } fn py_neg_80(self) -> Self { ... } fn py_96(self) -> Self { ... } fn py_neg_96(self) -> Self { ... } fn py_112(self) -> Self { ... } fn py_neg_112(self) -> Self { ... } fn py_128(self) -> Self { ... } fn py_neg_128(self) -> Self { ... } fn py_px(self) -> Self { ... } fn py_neg_px(self) -> Self { ... } fn py_full(self) -> Self { ... } fn py_neg_full(self) -> Self { ... } fn py_1_2(self) -> Self { ... } fn py_neg_1_2(self) -> Self { ... } fn py_1_3(self) -> Self { ... } fn py_neg_1_3(self) -> Self { ... } fn py_2_3(self) -> Self { ... } fn py_neg_2_3(self) -> Self { ... } fn py_1_4(self) -> Self { ... } fn py_neg_1_4(self) -> Self { ... } fn py_2_4(self) -> Self { ... } fn py_neg_2_4(self) -> Self { ... } fn py_3_4(self) -> Self { ... } fn py_neg_3_4(self) -> Self { ... } fn py_1_5(self) -> Self { ... } fn py_neg_1_5(self) -> Self { ... } fn py_2_5(self) -> Self { ... } fn py_neg_2_5(self) -> Self { ... } fn py_3_5(self) -> Self { ... } fn py_neg_3_5(self) -> Self { ... } fn py_4_5(self) -> Self { ... } fn py_neg_4_5(self) -> Self { ... } fn py_1_6(self) -> Self { ... } fn py_neg_1_6(self) -> Self { ... } fn py_5_6(self) -> Self { ... } fn py_neg_5_6(self) -> Self { ... } fn py_1_12(self) -> Self { ... } fn py_neg_1_12(self) -> Self { ... } fn pl(self, length: impl Clone + Into<DefiniteLength>) -> Self { ... } fn pl_0(self) -> Self { ... } fn pl_neg_0(self) -> Self { ... } fn pl_0p5(self) -> Self { ... } fn pl_neg_0p5(self) -> Self { ... } fn pl_1(self) -> Self { ... } fn pl_neg_1(self) -> Self { ... } fn pl_1p5(self) -> Self { ... } fn pl_neg_1p5(self) -> Self { ... } fn pl_2(self) -> Self { ... } fn pl_neg_2(self) -> Self { ... } fn pl_2p5(self) -> Self { ... } fn pl_neg_2p5(self) -> Self { ... } fn pl_3(self) -> Self { ... } fn pl_neg_3(self) -> Self { ... } fn pl_3p5(self) -> Self { ... } fn pl_neg_3p5(self) -> Self { ... } fn pl_4(self) -> Self { ... } fn pl_neg_4(self) -> Self { ... } fn pl_5(self) -> Self { ... } fn pl_neg_5(self) -> Self { ... } fn pl_6(self) -> Self { ... } fn pl_neg_6(self) -> Self { ... } fn pl_7(self) -> Self { ... } fn pl_neg_7(self) -> Self { ... } fn pl_8(self) -> Self { ... } fn pl_neg_8(self) -> Self { ... } fn pl_9(self) -> Self { ... } fn pl_neg_9(self) -> Self { ... } fn pl_10(self) -> Self { ... } fn pl_neg_10(self) -> Self { ... } fn pl_11(self) -> Self { ... } fn pl_neg_11(self) -> Self { ... } fn pl_12(self) -> Self { ... } fn pl_neg_12(self) -> Self { ... } fn pl_16(self) -> Self { ... } fn pl_neg_16(self) -> Self { ... } fn pl_20(self) -> Self { ... } fn pl_neg_20(self) -> Self { ... } fn pl_24(self) -> Self { ... } fn pl_neg_24(self) -> Self { ... } fn pl_32(self) -> Self { ... } fn pl_neg_32(self) -> Self { ... } fn pl_40(self) -> Self { ... } fn pl_neg_40(self) -> Self { ... } fn pl_48(self) -> Self { ... } fn pl_neg_48(self) -> Self { ... } fn pl_56(self) -> Self { ... } fn pl_neg_56(self) -> Self { ... } fn pl_64(self) -> Self { ... } fn pl_neg_64(self) -> Self { ... } fn pl_72(self) -> Self { ... } fn pl_neg_72(self) -> Self { ... } fn pl_80(self) -> Self { ... } fn pl_neg_80(self) -> Self { ... } fn pl_96(self) -> Self { ... } fn pl_neg_96(self) -> Self { ... } fn pl_112(self) -> Self { ... } fn pl_neg_112(self) -> Self { ... } fn pl_128(self) -> Self { ... } fn pl_neg_128(self) -> Self { ... } fn pl_px(self) -> Self { ... } fn pl_neg_px(self) -> Self { ... } fn pl_full(self) -> Self { ... } fn pl_neg_full(self) -> Self { ... } fn pl_1_2(self) -> Self { ... } fn pl_neg_1_2(self) -> Self { ... } fn pl_1_3(self) -> Self { ... } fn pl_neg_1_3(self) -> Self { ... } fn pl_2_3(self) -> Self { ... } fn pl_neg_2_3(self) -> Self { ... } fn pl_1_4(self) -> Self { ... } fn pl_neg_1_4(self) -> Self { ... } fn pl_2_4(self) -> Self { ... } fn pl_neg_2_4(self) -> Self { ... } fn pl_3_4(self) -> Self { ... } fn pl_neg_3_4(self) -> Self { ... } fn pl_1_5(self) -> Self { ... } fn pl_neg_1_5(self) -> Self { ... } fn pl_2_5(self) -> Self { ... } fn pl_neg_2_5(self) -> Self { ... } fn pl_3_5(self) -> Self { ... } fn pl_neg_3_5(self) -> Self { ... } fn pl_4_5(self) -> Self { ... } fn pl_neg_4_5(self) -> Self { ... } fn pl_1_6(self) -> Self { ... } fn pl_neg_1_6(self) -> Self { ... } fn pl_5_6(self) -> Self { ... } fn pl_neg_5_6(self) -> Self { ... } fn pl_1_12(self) -> Self { ... } fn pl_neg_1_12(self) -> Self { ... } fn pr(self, length: impl Clone + Into<DefiniteLength>) -> Self { ... } fn pr_0(self) -> Self { ... } fn pr_neg_0(self) -> Self { ... } fn pr_0p5(self) -> Self { ... } fn pr_neg_0p5(self) -> Self { ... } fn pr_1(self) -> Self { ... } fn pr_neg_1(self) -> Self { ... } fn pr_1p5(self) -> Self { ... } fn pr_neg_1p5(self) -> Self { ... } fn pr_2(self) -> Self { ... } fn pr_neg_2(self) -> Self { ... } fn pr_2p5(self) -> Self { ... } fn pr_neg_2p5(self) -> Self { ... } fn pr_3(self) -> Self { ... } fn pr_neg_3(self) -> Self { ... } fn pr_3p5(self) -> Self { ... } fn pr_neg_3p5(self) -> Self { ... } fn pr_4(self) -> Self { ... } fn pr_neg_4(self) -> Self { ... } fn pr_5(self) -> Self { ... } fn pr_neg_5(self) -> Self { ... } fn pr_6(self) -> Self { ... } fn pr_neg_6(self) -> Self { ... } fn pr_7(self) -> Self { ... } fn pr_neg_7(self) -> Self { ... } fn pr_8(self) -> Self { ... } fn pr_neg_8(self) -> Self { ... } fn pr_9(self) -> Self { ... } fn pr_neg_9(self) -> Self { ... } fn pr_10(self) -> Self { ... } fn pr_neg_10(self) -> Self { ... } fn pr_11(self) -> Self { ... } fn pr_neg_11(self) -> Self { ... } fn pr_12(self) -> Self { ... } fn pr_neg_12(self) -> Self { ... } fn pr_16(self) -> Self { ... } fn pr_neg_16(self) -> Self { ... } fn pr_20(self) -> Self { ... } fn pr_neg_20(self) -> Self { ... } fn pr_24(self) -> Self { ... } fn pr_neg_24(self) -> Self { ... } fn pr_32(self) -> Self { ... } fn pr_neg_32(self) -> Self { ... } fn pr_40(self) -> Self { ... } fn pr_neg_40(self) -> Self { ... } fn pr_48(self) -> Self { ... } fn pr_neg_48(self) -> Self { ... } fn pr_56(self) -> Self { ... } fn pr_neg_56(self) -> Self { ... } fn pr_64(self) -> Self { ... } fn pr_neg_64(self) -> Self { ... } fn pr_72(self) -> Self { ... } fn pr_neg_72(self) -> Self { ... } fn pr_80(self) -> Self { ... } fn pr_neg_80(self) -> Self { ... } fn pr_96(self) -> Self { ... } fn pr_neg_96(self) -> Self { ... } fn pr_112(self) -> Self { ... } fn pr_neg_112(self) -> Self { ... } fn pr_128(self) -> Self { ... } fn pr_neg_128(self) -> Self { ... } fn pr_px(self) -> Self { ... } fn pr_neg_px(self) -> Self { ... } fn pr_full(self) -> Self { ... } fn pr_neg_full(self) -> Self { ... } fn pr_1_2(self) -> Self { ... } fn pr_neg_1_2(self) -> Self { ... } fn pr_1_3(self) -> Self { ... } fn pr_neg_1_3(self) -> Self { ... } fn pr_2_3(self) -> Self { ... } fn pr_neg_2_3(self) -> Self { ... } fn pr_1_4(self) -> Self { ... } fn pr_neg_1_4(self) -> Self { ... } fn pr_2_4(self) -> Self { ... } fn pr_neg_2_4(self) -> Self { ... } fn pr_3_4(self) -> Self { ... } fn pr_neg_3_4(self) -> Self { ... } fn pr_1_5(self) -> Self { ... } fn pr_neg_1_5(self) -> Self { ... } fn pr_2_5(self) -> Self { ... } fn pr_neg_2_5(self) -> Self { ... } fn pr_3_5(self) -> Self { ... } fn pr_neg_3_5(self) -> Self { ... } fn pr_4_5(self) -> Self { ... } fn pr_neg_4_5(self) -> Self { ... } fn pr_1_6(self) -> Self { ... } fn pr_neg_1_6(self) -> Self { ... } fn pr_5_6(self) -> Self { ... } fn pr_neg_5_6(self) -> Self { ... } fn pr_1_12(self) -> Self { ... } fn pr_neg_1_12(self) -> Self { ... } fn relative(self) -> Self { ... } fn absolute(self) -> Self { ... } fn inset(self, length: impl Clone + Into<Length>) -> Self { ... } fn inset_0(self) -> Self { ... } fn inset_neg_0(self) -> Self { ... } fn inset_0p5(self) -> Self { ... } fn inset_neg_0p5(self) -> Self { ... } fn inset_1(self) -> Self { ... } fn inset_neg_1(self) -> Self { ... } fn inset_1p5(self) -> Self { ... } fn inset_neg_1p5(self) -> Self { ... } fn inset_2(self) -> Self { ... } fn inset_neg_2(self) -> Self { ... } fn inset_2p5(self) -> Self { ... } fn inset_neg_2p5(self) -> Self { ... } fn inset_3(self) -> Self { ... } fn inset_neg_3(self) -> Self { ... } fn inset_3p5(self) -> Self { ... } fn inset_neg_3p5(self) -> Self { ... } fn inset_4(self) -> Self { ... } fn inset_neg_4(self) -> Self { ... } fn inset_5(self) -> Self { ... } fn inset_neg_5(self) -> Self { ... } fn inset_6(self) -> Self { ... } fn inset_neg_6(self) -> Self { ... } fn inset_7(self) -> Self { ... } fn inset_neg_7(self) -> Self { ... } fn inset_8(self) -> Self { ... } fn inset_neg_8(self) -> Self { ... } fn inset_9(self) -> Self { ... } fn inset_neg_9(self) -> Self { ... } fn inset_10(self) -> Self { ... } fn inset_neg_10(self) -> Self { ... } fn inset_11(self) -> Self { ... } fn inset_neg_11(self) -> Self { ... } fn inset_12(self) -> Self { ... } fn inset_neg_12(self) -> Self { ... } fn inset_16(self) -> Self { ... } fn inset_neg_16(self) -> Self { ... } fn inset_20(self) -> Self { ... } fn inset_neg_20(self) -> Self { ... } fn inset_24(self) -> Self { ... } fn inset_neg_24(self) -> Self { ... } fn inset_32(self) -> Self { ... } fn inset_neg_32(self) -> Self { ... } fn inset_40(self) -> Self { ... } fn inset_neg_40(self) -> Self { ... } fn inset_48(self) -> Self { ... } fn inset_neg_48(self) -> Self { ... } fn inset_56(self) -> Self { ... } fn inset_neg_56(self) -> Self { ... } fn inset_64(self) -> Self { ... } fn inset_neg_64(self) -> Self { ... } fn inset_72(self) -> Self { ... } fn inset_neg_72(self) -> Self { ... } fn inset_80(self) -> Self { ... } fn inset_neg_80(self) -> Self { ... } fn inset_96(self) -> Self { ... } fn inset_neg_96(self) -> Self { ... } fn inset_112(self) -> Self { ... } fn inset_neg_112(self) -> Self { ... } fn inset_128(self) -> Self { ... } fn inset_neg_128(self) -> Self { ... } fn inset_auto(self) -> Self { ... } fn inset_px(self) -> Self { ... } fn inset_neg_px(self) -> Self { ... } fn inset_full(self) -> Self { ... } fn inset_neg_full(self) -> Self { ... } fn inset_1_2(self) -> Self { ... } fn inset_neg_1_2(self) -> Self { ... } fn inset_1_3(self) -> Self { ... } fn inset_neg_1_3(self) -> Self { ... } fn inset_2_3(self) -> Self { ... } fn inset_neg_2_3(self) -> Self { ... } fn inset_1_4(self) -> Self { ... } fn inset_neg_1_4(self) -> Self { ... } fn inset_2_4(self) -> Self { ... } fn inset_neg_2_4(self) -> Self { ... } fn inset_3_4(self) -> Self { ... } fn inset_neg_3_4(self) -> Self { ... } fn inset_1_5(self) -> Self { ... } fn inset_neg_1_5(self) -> Self { ... } fn inset_2_5(self) -> Self { ... } fn inset_neg_2_5(self) -> Self { ... } fn inset_3_5(self) -> Self { ... } fn inset_neg_3_5(self) -> Self { ... } fn inset_4_5(self) -> Self { ... } fn inset_neg_4_5(self) -> Self { ... } fn inset_1_6(self) -> Self { ... } fn inset_neg_1_6(self) -> Self { ... } fn inset_5_6(self) -> Self { ... } fn inset_neg_5_6(self) -> Self { ... } fn inset_1_12(self) -> Self { ... } fn inset_neg_1_12(self) -> Self { ... } fn top(self, length: impl Clone + Into<Length>) -> Self { ... } fn top_0(self) -> Self { ... } fn top_neg_0(self) -> Self { ... } fn top_0p5(self) -> Self { ... } fn top_neg_0p5(self) -> Self { ... } fn top_1(self) -> Self { ... } fn top_neg_1(self) -> Self { ... } fn top_1p5(self) -> Self { ... } fn top_neg_1p5(self) -> Self { ... } fn top_2(self) -> Self { ... } fn top_neg_2(self) -> Self { ... } fn top_2p5(self) -> Self { ... } fn top_neg_2p5(self) -> Self { ... } fn top_3(self) -> Self { ... } fn top_neg_3(self) -> Self { ... } fn top_3p5(self) -> Self { ... } fn top_neg_3p5(self) -> Self { ... } fn top_4(self) -> Self { ... } fn top_neg_4(self) -> Self { ... } fn top_5(self) -> Self { ... } fn top_neg_5(self) -> Self { ... } fn top_6(self) -> Self { ... } fn top_neg_6(self) -> Self { ... } fn top_7(self) -> Self { ... } fn top_neg_7(self) -> Self { ... } fn top_8(self) -> Self { ... } fn top_neg_8(self) -> Self { ... } fn top_9(self) -> Self { ... } fn top_neg_9(self) -> Self { ... } fn top_10(self) -> Self { ... } fn top_neg_10(self) -> Self { ... } fn top_11(self) -> Self { ... } fn top_neg_11(self) -> Self { ... } fn top_12(self) -> Self { ... } fn top_neg_12(self) -> Self { ... } fn top_16(self) -> Self { ... } fn top_neg_16(self) -> Self { ... } fn top_20(self) -> Self { ... } fn top_neg_20(self) -> Self { ... } fn top_24(self) -> Self { ... } fn top_neg_24(self) -> Self { ... } fn top_32(self) -> Self { ... } fn top_neg_32(self) -> Self { ... } fn top_40(self) -> Self { ... } fn top_neg_40(self) -> Self { ... } fn top_48(self) -> Self { ... } fn top_neg_48(self) -> Self { ... } fn top_56(self) -> Self { ... } fn top_neg_56(self) -> Self { ... } fn top_64(self) -> Self { ... } fn top_neg_64(self) -> Self { ... } fn top_72(self) -> Self { ... } fn top_neg_72(self) -> Self { ... } fn top_80(self) -> Self { ... } fn top_neg_80(self) -> Self { ... } fn top_96(self) -> Self { ... } fn top_neg_96(self) -> Self { ... } fn top_112(self) -> Self { ... } fn top_neg_112(self) -> Self { ... } fn top_128(self) -> Self { ... } fn top_neg_128(self) -> Self { ... } fn top_auto(self) -> Self { ... } fn top_px(self) -> Self { ... } fn top_neg_px(self) -> Self { ... } fn top_full(self) -> Self { ... } fn top_neg_full(self) -> Self { ... } fn top_1_2(self) -> Self { ... } fn top_neg_1_2(self) -> Self { ... } fn top_1_3(self) -> Self { ... } fn top_neg_1_3(self) -> Self { ... } fn top_2_3(self) -> Self { ... } fn top_neg_2_3(self) -> Self { ... } fn top_1_4(self) -> Self { ... } fn top_neg_1_4(self) -> Self { ... } fn top_2_4(self) -> Self { ... } fn top_neg_2_4(self) -> Self { ... } fn top_3_4(self) -> Self { ... } fn top_neg_3_4(self) -> Self { ... } fn top_1_5(self) -> Self { ... } fn top_neg_1_5(self) -> Self { ... } fn top_2_5(self) -> Self { ... } fn top_neg_2_5(self) -> Self { ... } fn top_3_5(self) -> Self { ... } fn top_neg_3_5(self) -> Self { ... } fn top_4_5(self) -> Self { ... } fn top_neg_4_5(self) -> Self { ... } fn top_1_6(self) -> Self { ... } fn top_neg_1_6(self) -> Self { ... } fn top_5_6(self) -> Self { ... } fn top_neg_5_6(self) -> Self { ... } fn top_1_12(self) -> Self { ... } fn top_neg_1_12(self) -> Self { ... } fn bottom(self, length: impl Clone + Into<Length>) -> Self { ... } fn bottom_0(self) -> Self { ... } fn bottom_neg_0(self) -> Self { ... } fn bottom_0p5(self) -> Self { ... } fn bottom_neg_0p5(self) -> Self { ... } fn bottom_1(self) -> Self { ... } fn bottom_neg_1(self) -> Self { ... } fn bottom_1p5(self) -> Self { ... } fn bottom_neg_1p5(self) -> Self { ... } fn bottom_2(self) -> Self { ... } fn bottom_neg_2(self) -> Self { ... } fn bottom_2p5(self) -> Self { ... } fn bottom_neg_2p5(self) -> Self { ... } fn bottom_3(self) -> Self { ... } fn bottom_neg_3(self) -> Self { ... } fn bottom_3p5(self) -> Self { ... } fn bottom_neg_3p5(self) -> Self { ... } fn bottom_4(self) -> Self { ... } fn bottom_neg_4(self) -> Self { ... } fn bottom_5(self) -> Self { ... } fn bottom_neg_5(self) -> Self { ... } fn bottom_6(self) -> Self { ... } fn bottom_neg_6(self) -> Self { ... } fn bottom_7(self) -> Self { ... } fn bottom_neg_7(self) -> Self { ... } fn bottom_8(self) -> Self { ... } fn bottom_neg_8(self) -> Self { ... } fn bottom_9(self) -> Self { ... } fn bottom_neg_9(self) -> Self { ... } fn bottom_10(self) -> Self { ... } fn bottom_neg_10(self) -> Self { ... } fn bottom_11(self) -> Self { ... } fn bottom_neg_11(self) -> Self { ... } fn bottom_12(self) -> Self { ... } fn bottom_neg_12(self) -> Self { ... } fn bottom_16(self) -> Self { ... } fn bottom_neg_16(self) -> Self { ... } fn bottom_20(self) -> Self { ... } fn bottom_neg_20(self) -> Self { ... } fn bottom_24(self) -> Self { ... } fn bottom_neg_24(self) -> Self { ... } fn bottom_32(self) -> Self { ... } fn bottom_neg_32(self) -> Self { ... } fn bottom_40(self) -> Self { ... } fn bottom_neg_40(self) -> Self { ... } fn bottom_48(self) -> Self { ... } fn bottom_neg_48(self) -> Self { ... } fn bottom_56(self) -> Self { ... } fn bottom_neg_56(self) -> Self { ... } fn bottom_64(self) -> Self { ... } fn bottom_neg_64(self) -> Self { ... } fn bottom_72(self) -> Self { ... } fn bottom_neg_72(self) -> Self { ... } fn bottom_80(self) -> Self { ... } fn bottom_neg_80(self) -> Self { ... } fn bottom_96(self) -> Self { ... } fn bottom_neg_96(self) -> Self { ... } fn bottom_112(self) -> Self { ... } fn bottom_neg_112(self) -> Self { ... } fn bottom_128(self) -> Self { ... } fn bottom_neg_128(self) -> Self { ... } fn bottom_auto(self) -> Self { ... } fn bottom_px(self) -> Self { ... } fn bottom_neg_px(self) -> Self { ... } fn bottom_full(self) -> Self { ... } fn bottom_neg_full(self) -> Self { ... } fn bottom_1_2(self) -> Self { ... } fn bottom_neg_1_2(self) -> Self { ... } fn bottom_1_3(self) -> Self { ... } fn bottom_neg_1_3(self) -> Self { ... } fn bottom_2_3(self) -> Self { ... } fn bottom_neg_2_3(self) -> Self { ... } fn bottom_1_4(self) -> Self { ... } fn bottom_neg_1_4(self) -> Self { ... } fn bottom_2_4(self) -> Self { ... } fn bottom_neg_2_4(self) -> Self { ... } fn bottom_3_4(self) -> Self { ... } fn bottom_neg_3_4(self) -> Self { ... } fn bottom_1_5(self) -> Self { ... } fn bottom_neg_1_5(self) -> Self { ... } fn bottom_2_5(self) -> Self { ... } fn bottom_neg_2_5(self) -> Self { ... } fn bottom_3_5(self) -> Self { ... } fn bottom_neg_3_5(self) -> Self { ... } fn bottom_4_5(self) -> Self { ... } fn bottom_neg_4_5(self) -> Self { ... } fn bottom_1_6(self) -> Self { ... } fn bottom_neg_1_6(self) -> Self { ... } fn bottom_5_6(self) -> Self { ... } fn bottom_neg_5_6(self) -> Self { ... } fn bottom_1_12(self) -> Self { ... } fn bottom_neg_1_12(self) -> Self { ... } fn left(self, length: impl Clone + Into<Length>) -> Self { ... } fn left_0(self) -> Self { ... } fn left_neg_0(self) -> Self { ... } fn left_0p5(self) -> Self { ... } fn left_neg_0p5(self) -> Self { ... } fn left_1(self) -> Self { ... } fn left_neg_1(self) -> Self { ... } fn left_1p5(self) -> Self { ... } fn left_neg_1p5(self) -> Self { ... } fn left_2(self) -> Self { ... } fn left_neg_2(self) -> Self { ... } fn left_2p5(self) -> Self { ... } fn left_neg_2p5(self) -> Self { ... } fn left_3(self) -> Self { ... } fn left_neg_3(self) -> Self { ... } fn left_3p5(self) -> Self { ... } fn left_neg_3p5(self) -> Self { ... } fn left_4(self) -> Self { ... } fn left_neg_4(self) -> Self { ... } fn left_5(self) -> Self { ... } fn left_neg_5(self) -> Self { ... } fn left_6(self) -> Self { ... } fn left_neg_6(self) -> Self { ... } fn left_7(self) -> Self { ... } fn left_neg_7(self) -> Self { ... } fn left_8(self) -> Self { ... } fn left_neg_8(self) -> Self { ... } fn left_9(self) -> Self { ... } fn left_neg_9(self) -> Self { ... } fn left_10(self) -> Self { ... } fn left_neg_10(self) -> Self { ... } fn left_11(self) -> Self { ... } fn left_neg_11(self) -> Self { ... } fn left_12(self) -> Self { ... } fn left_neg_12(self) -> Self { ... } fn left_16(self) -> Self { ... } fn left_neg_16(self) -> Self { ... } fn left_20(self) -> Self { ... } fn left_neg_20(self) -> Self { ... } fn left_24(self) -> Self { ... } fn left_neg_24(self) -> Self { ... } fn left_32(self) -> Self { ... } fn left_neg_32(self) -> Self { ... } fn left_40(self) -> Self { ... } fn left_neg_40(self) -> Self { ... } fn left_48(self) -> Self { ... } fn left_neg_48(self) -> Self { ... } fn left_56(self) -> Self { ... } fn left_neg_56(self) -> Self { ... } fn left_64(self) -> Self { ... } fn left_neg_64(self) -> Self { ... } fn left_72(self) -> Self { ... } fn left_neg_72(self) -> Self { ... } fn left_80(self) -> Self { ... } fn left_neg_80(self) -> Self { ... } fn left_96(self) -> Self { ... } fn left_neg_96(self) -> Self { ... } fn left_112(self) -> Self { ... } fn left_neg_112(self) -> Self { ... } fn left_128(self) -> Self { ... } fn left_neg_128(self) -> Self { ... } fn left_auto(self) -> Self { ... } fn left_px(self) -> Self { ... } fn left_neg_px(self) -> Self { ... } fn left_full(self) -> Self { ... } fn left_neg_full(self) -> Self { ... } fn left_1_2(self) -> Self { ... } fn left_neg_1_2(self) -> Self { ... } fn left_1_3(self) -> Self { ... } fn left_neg_1_3(self) -> Self { ... } fn left_2_3(self) -> Self { ... } fn left_neg_2_3(self) -> Self { ... } fn left_1_4(self) -> Self { ... } fn left_neg_1_4(self) -> Self { ... } fn left_2_4(self) -> Self { ... } fn left_neg_2_4(self) -> Self { ... } fn left_3_4(self) -> Self { ... } fn left_neg_3_4(self) -> Self { ... } fn left_1_5(self) -> Self { ... } fn left_neg_1_5(self) -> Self { ... } fn left_2_5(self) -> Self { ... } fn left_neg_2_5(self) -> Self { ... } fn left_3_5(self) -> Self { ... } fn left_neg_3_5(self) -> Self { ... } fn left_4_5(self) -> Self { ... } fn left_neg_4_5(self) -> Self { ... } fn left_1_6(self) -> Self { ... } fn left_neg_1_6(self) -> Self { ... } fn left_5_6(self) -> Self { ... } fn left_neg_5_6(self) -> Self { ... } fn left_1_12(self) -> Self { ... } fn left_neg_1_12(self) -> Self { ... } fn right(self, length: impl Clone + Into<Length>) -> Self { ... } fn right_0(self) -> Self { ... } fn right_neg_0(self) -> Self { ... } fn right_0p5(self) -> Self { ... } fn right_neg_0p5(self) -> Self { ... } fn right_1(self) -> Self { ... } fn right_neg_1(self) -> Self { ... } fn right_1p5(self) -> Self { ... } fn right_neg_1p5(self) -> Self { ... } fn right_2(self) -> Self { ... } fn right_neg_2(self) -> Self { ... } fn right_2p5(self) -> Self { ... } fn right_neg_2p5(self) -> Self { ... } fn right_3(self) -> Self { ... } fn right_neg_3(self) -> Self { ... } fn right_3p5(self) -> Self { ... } fn right_neg_3p5(self) -> Self { ... } fn right_4(self) -> Self { ... } fn right_neg_4(self) -> Self { ... } fn right_5(self) -> Self { ... } fn right_neg_5(self) -> Self { ... } fn right_6(self) -> Self { ... } fn right_neg_6(self) -> Self { ... } fn right_7(self) -> Self { ... } fn right_neg_7(self) -> Self { ... } fn right_8(self) -> Self { ... } fn right_neg_8(self) -> Self { ... } fn right_9(self) -> Self { ... } fn right_neg_9(self) -> Self { ... } fn right_10(self) -> Self { ... } fn right_neg_10(self) -> Self { ... } fn right_11(self) -> Self { ... } fn right_neg_11(self) -> Self { ... } fn right_12(self) -> Self { ... } fn right_neg_12(self) -> Self { ... } fn right_16(self) -> Self { ... } fn right_neg_16(self) -> Self { ... } fn right_20(self) -> Self { ... } fn right_neg_20(self) -> Self { ... } fn right_24(self) -> Self { ... } fn right_neg_24(self) -> Self { ... } fn right_32(self) -> Self { ... } fn right_neg_32(self) -> Self { ... } fn right_40(self) -> Self { ... } fn right_neg_40(self) -> Self { ... } fn right_48(self) -> Self { ... } fn right_neg_48(self) -> Self { ... } fn right_56(self) -> Self { ... } fn right_neg_56(self) -> Self { ... } fn right_64(self) -> Self { ... } fn right_neg_64(self) -> Self { ... } fn right_72(self) -> Self { ... } fn right_neg_72(self) -> Self { ... } fn right_80(self) -> Self { ... } fn right_neg_80(self) -> Self { ... } fn right_96(self) -> Self { ... } fn right_neg_96(self) -> Self { ... } fn right_112(self) -> Self { ... } fn right_neg_112(self) -> Self { ... } fn right_128(self) -> Self { ... } fn right_neg_128(self) -> Self { ... } fn right_auto(self) -> Self { ... } fn right_px(self) -> Self { ... } fn right_neg_px(self) -> Self { ... } fn right_full(self) -> Self { ... } fn right_neg_full(self) -> Self { ... } fn right_1_2(self) -> Self { ... } fn right_neg_1_2(self) -> Self { ... } fn right_1_3(self) -> Self { ... } fn right_neg_1_3(self) -> Self { ... } fn right_2_3(self) -> Self { ... } fn right_neg_2_3(self) -> Self { ... } fn right_1_4(self) -> Self { ... } fn right_neg_1_4(self) -> Self { ... } fn right_2_4(self) -> Self { ... } fn right_neg_2_4(self) -> Self { ... } fn right_3_4(self) -> Self { ... } fn right_neg_3_4(self) -> Self { ... } fn right_1_5(self) -> Self { ... } fn right_neg_1_5(self) -> Self { ... } fn right_2_5(self) -> Self { ... } fn right_neg_2_5(self) -> Self { ... } fn right_3_5(self) -> Self { ... } fn right_neg_3_5(self) -> Self { ... } fn right_4_5(self) -> Self { ... } fn right_neg_4_5(self) -> Self { ... } fn right_1_6(self) -> Self { ... } fn right_neg_1_6(self) -> Self { ... } fn right_5_6(self) -> Self { ... } fn right_neg_5_6(self) -> Self { ... } fn right_1_12(self) -> Self { ... } fn right_neg_1_12(self) -> Self { ... } fn overflow_hidden(self) -> Self { ... } fn overflow_x_hidden(self) -> Self { ... } fn overflow_y_hidden(self) -> Self { ... } fn cursor(self, cursor: CursorStyle) -> Self { ... } fn cursor_default(self) -> Self { ... } fn cursor_pointer(self) -> Self { ... } fn cursor_text(self) -> Self { ... } fn cursor_move(self) -> Self { ... } fn cursor_not_allowed(self) -> Self { ... } fn cursor_context_menu(self) -> Self { ... } fn cursor_crosshair(self) -> Self { ... } fn cursor_vertical_text(self) -> Self { ... } fn cursor_alias(self) -> Self { ... } fn cursor_copy(self) -> Self { ... } fn cursor_no_drop(self) -> Self { ... } fn cursor_grab(self) -> Self { ... } fn cursor_grabbing(self) -> Self { ... } fn cursor_ew_resize(self) -> Self { ... } fn cursor_ns_resize(self) -> Self { ... } fn cursor_nesw_resize(self) -> Self { ... } fn cursor_nwse_resize(self) -> Self { ... } fn cursor_col_resize(self) -> Self { ... } fn cursor_row_resize(self) -> Self { ... } fn cursor_n_resize(self) -> Self { ... } fn cursor_e_resize(self) -> Self { ... } fn cursor_s_resize(self) -> Self { ... } fn cursor_w_resize(self) -> Self { ... } fn cursor_nw_resize(self) -> Self { ... } fn cursor_ne_resize(self) -> Self { ... } fn cursor_sw_resize(self) -> Self { ... } fn cursor_se_resize(self) -> Self { ... } fn border_color<C>(self, border_color: C) -> Self where C: Into<Background>, Self: Sized { ... } fn border(self, length: impl Clone + Into<AbsoluteLength>) -> Self { ... } fn border_0(self) -> Self { ... } fn border_1(self) -> Self { ... } fn border_2(self) -> Self { ... } fn border_3(self) -> Self { ... } fn border_4(self) -> Self { ... } fn border_5(self) -> Self { ... } fn border_6(self) -> Self { ... } fn border_7(self) -> Self { ... } fn border_8(self) -> Self { ... } fn border_9(self) -> Self { ... } fn border_10(self) -> Self { ... } fn border_11(self) -> Self { ... } fn border_12(self) -> Self { ... } fn border_16(self) -> Self { ... } fn border_20(self) -> Self { ... } fn border_24(self) -> Self { ... } fn border_32(self) -> Self { ... } fn border_t(self, length: impl Clone + Into<AbsoluteLength>) -> Self { ... } fn border_t_0(self) -> Self { ... } fn border_t_1(self) -> Self { ... } fn border_t_2(self) -> Self { ... } fn border_t_3(self) -> Self { ... } fn border_t_4(self) -> Self { ... } fn border_t_5(self) -> Self { ... } fn border_t_6(self) -> Self { ... } fn border_t_7(self) -> Self { ... } fn border_t_8(self) -> Self { ... } fn border_t_9(self) -> Self { ... } fn border_t_10(self) -> Self { ... } fn border_t_11(self) -> Self { ... } fn border_t_12(self) -> Self { ... } fn border_t_16(self) -> Self { ... } fn border_t_20(self) -> Self { ... } fn border_t_24(self) -> Self { ... } fn border_t_32(self) -> Self { ... } fn border_b(self, length: impl Clone + Into<AbsoluteLength>) -> Self { ... } fn border_b_0(self) -> Self { ... } fn border_b_1(self) -> Self { ... } fn border_b_2(self) -> Self { ... } fn border_b_3(self) -> Self { ... } fn border_b_4(self) -> Self { ... } fn border_b_5(self) -> Self { ... } fn border_b_6(self) -> Self { ... } fn border_b_7(self) -> Self { ... } fn border_b_8(self) -> Self { ... } fn border_b_9(self) -> Self { ... } fn border_b_10(self) -> Self { ... } fn border_b_11(self) -> Self { ... } fn border_b_12(self) -> Self { ... } fn border_b_16(self) -> Self { ... } fn border_b_20(self) -> Self { ... } fn border_b_24(self) -> Self { ... } fn border_b_32(self) -> Self { ... } fn border_r(self, length: impl Clone + Into<AbsoluteLength>) -> Self { ... } fn border_r_0(self) -> Self { ... } fn border_r_1(self) -> Self { ... } fn border_r_2(self) -> Self { ... } fn border_r_3(self) -> Self { ... } fn border_r_4(self) -> Self { ... } fn border_r_5(self) -> Self { ... } fn border_r_6(self) -> Self { ... } fn border_r_7(self) -> Self { ... } fn border_r_8(self) -> Self { ... } fn border_r_9(self) -> Self { ... } fn border_r_10(self) -> Self { ... } fn border_r_11(self) -> Self { ... } fn border_r_12(self) -> Self { ... } fn border_r_16(self) -> Self { ... } fn border_r_20(self) -> Self { ... } fn border_r_24(self) -> Self { ... } fn border_r_32(self) -> Self { ... } fn border_l(self, length: impl Clone + Into<AbsoluteLength>) -> Self { ... } fn border_l_0(self) -> Self { ... } fn border_l_1(self) -> Self { ... } fn border_l_2(self) -> Self { ... } fn border_l_3(self) -> Self { ... } fn border_l_4(self) -> Self { ... } fn border_l_5(self) -> Self { ... } fn border_l_6(self) -> Self { ... } fn border_l_7(self) -> Self { ... } fn border_l_8(self) -> Self { ... } fn border_l_9(self) -> Self { ... } fn border_l_10(self) -> Self { ... } fn border_l_11(self) -> Self { ... } fn border_l_12(self) -> Self { ... } fn border_l_16(self) -> Self { ... } fn border_l_20(self) -> Self { ... } fn border_l_24(self) -> Self { ... } fn border_l_32(self) -> Self { ... } fn border_x(self, length: impl Clone + Into<AbsoluteLength>) -> Self { ... } fn border_x_0(self) -> Self { ... } fn border_x_1(self) -> Self { ... } fn border_x_2(self) -> Self { ... } fn border_x_3(self) -> Self { ... } fn border_x_4(self) -> Self { ... } fn border_x_5(self) -> Self { ... } fn border_x_6(self) -> Self { ... } fn border_x_7(self) -> Self { ... } fn border_x_8(self) -> Self { ... } fn border_x_9(self) -> Self { ... } fn border_x_10(self) -> Self { ... } fn border_x_11(self) -> Self { ... } fn border_x_12(self) -> Self { ... } fn border_x_16(self) -> Self { ... } fn border_x_20(self) -> Self { ... } fn border_x_24(self) -> Self { ... } fn border_x_32(self) -> Self { ... } fn border_y(self, length: impl Clone + Into<AbsoluteLength>) -> Self { ... } fn border_y_0(self) -> Self { ... } fn border_y_1(self) -> Self { ... } fn border_y_2(self) -> Self { ... } fn border_y_3(self) -> Self { ... } fn border_y_4(self) -> Self { ... } fn border_y_5(self) -> Self { ... } fn border_y_6(self) -> Self { ... } fn border_y_7(self) -> Self { ... } fn border_y_8(self) -> Self { ... } fn border_y_9(self) -> Self { ... } fn border_y_10(self) -> Self { ... } fn border_y_11(self) -> Self { ... } fn border_y_12(self) -> Self { ... } fn border_y_16(self) -> Self { ... } fn border_y_20(self) -> Self { ... } fn border_y_24(self) -> Self { ... } fn border_y_32(self) -> Self { ... } fn shadow(self, shadows: Vec<BoxShadow>) -> Self { ... } fn shadow_none(self) -> Self { ... } fn ring(self, width: impl Into<Pixels>) -> Self { ... } fn ring_color<C>(self, color: C) -> Self where C: Into<Background>, Self: Sized { ... } fn inset_ring(self, width: impl Into<Pixels>) -> Self { ... } fn inset_ring_color<C>(self, color: C) -> Self where C: Into<Background>, Self: Sized { ... } fn ring_0(self) -> Self { ... } fn inset_ring_0(self) -> Self { ... } fn ring_1(self) -> Self { ... } fn inset_ring_1(self) -> Self { ... } fn ring_2(self) -> Self { ... } fn inset_ring_2(self) -> Self { ... } fn ring_4(self) -> Self { ... } fn inset_ring_4(self) -> Self { ... } fn ring_8(self) -> Self { ... } fn inset_ring_8(self) -> Self { ... } fn shadow_2xs(self) -> Self { ... } fn shadow_xs(self) -> Self { ... } fn shadow_sm(self) -> Self { ... } fn shadow_md(self) -> Self { ... } fn shadow_lg(self) -> Self { ... } fn shadow_xl(self) -> Self { ... } fn shadow_2xl(self) -> Self { ... } fn refine_style(self, refinement: &StyleRefinement) -> Self { ... } fn direction(self, direction: LayoutDirection) -> Self { ... } fn rtl(self) -> Self { ... } fn ltr(self) -> Self { ... } fn unicode_bidi(self, unicode_bidi: UnicodeBidi) -> Self { ... } fn blur(self, radius: impl Into<Pixels>) -> Self { ... } fn filter(self, filters: impl Into<Vec<Filter>>) -> Self { ... } fn backdrop_blur(self, radius: impl Into<Pixels>) -> Self { ... } fn backdrop_filter(self, filters: impl Into<Vec<Filter>>) -> Self { ... } fn display(self, display: Display) -> Self { ... } fn block(self) -> Self { ... } fn flex(self) -> Self { ... } fn grid(self) -> Self { ... } fn inline(self) -> Self { ... } fn inline_flex(self) -> Self { ... } fn vertical_align(self, align: VerticalAlign) -> Self { ... } fn align_baseline(self) -> Self { ... } fn align_middle(self) -> Self { ... } fn align_top(self) -> Self { ... } fn align_bottom(self) -> Self { ... } fn hidden(self) -> Self { ... } fn scrollbar_width(self, width: impl Into<AbsoluteLength>) -> Self { ... } fn overflow_fade(self, fade: impl Into<Edges<AbsoluteLength>>) -> Self { ... } fn overflow_fade_x(self, fade: impl Into<AbsoluteLength>) -> Self { ... } fn overflow_fade_y(self, fade: impl Into<AbsoluteLength>) -> Self { ... } fn whitespace(self, white_space: WhiteSpace) -> Self { ... } fn whitespace_normal(self) -> Self { ... } fn whitespace_nowrap(self) -> Self { ... } fn text_ellipsis(self) -> Self { ... } fn text_ellipsis_start(self) -> Self { ... } fn text_ellipsis_middle(self) -> Self { ... } fn text_overflow(self, overflow: TextOverflow) -> Self { ... } fn text_align(self, align: TextAlign) -> Self { ... } fn text_start(self) -> Self { ... } fn text_end(self) -> Self { ... } fn text_left(self) -> Self { ... } fn text_center(self) -> Self { ... } fn text_right(self) -> Self { ... } fn letter_spacing(self, spacing: impl Into<Pixels>) -> Self { ... } fn text_transform(self, transform: TextTransform) -> Self { ... } fn truncate(self) -> Self { ... } fn line_clamp(self, lines: usize) -> Self { ... } fn flex_direction(self, direction: FlexDirection) -> Self { ... } fn flex_col(self) -> Self { ... } fn flex_col_reverse(self) -> Self { ... } fn flex_row(self) -> Self { ... } fn flex_row_reverse(self) -> Self { ... } fn flex_1(self) -> Self { ... } fn flex_auto(self) -> Self { ... } fn flex_initial(self) -> Self { ... } fn flex_none(self) -> Self { ... } fn flex_basis(self, basis: impl Into<Length>) -> Self { ... } fn flex_grow(self, grow: f32) -> Self { ... } fn flex_grow_0(self) -> Self { ... } fn flex_grow_1(self) -> Self { ... } fn flex_shrink(self, shrink: f32) -> Self { ... } fn flex_shrink_0(self) -> Self { ... } fn flex_shrink_1(self) -> Self { ... } fn flex_wrap(self) -> Self { ... } fn flex_wrap_reverse(self) -> Self { ... } fn flex_nowrap(self) -> Self { ... } fn items_start(self) -> Self { ... } fn items_end(self) -> Self { ... } fn items_center(self) -> Self { ... } fn items_baseline(self) -> Self { ... } fn items_stretch(self) -> Self { ... } fn self_start(self) -> Self { ... } fn self_end(self) -> Self { ... } fn self_flex_start(self) -> Self { ... } fn self_flex_end(self) -> Self { ... } fn self_center(self) -> Self { ... } fn self_baseline(self) -> Self { ... } fn self_stretch(self) -> Self { ... } fn justify_start(self) -> Self { ... } fn justify_end(self) -> Self { ... } fn justify_flex_start(self) -> Self { ... } fn justify_flex_end(self) -> Self { ... } fn justify_center(self) -> Self { ... } fn justify_between(self) -> Self { ... } fn justify_around(self) -> Self { ... } fn justify_evenly(self) -> Self { ... } fn content_normal(self) -> Self { ... } fn content_center(self) -> Self { ... } fn content_start(self) -> Self { ... } fn content_end(self) -> Self { ... } fn content_between(self) -> Self { ... } fn content_around(self) -> Self { ... } fn content_evenly(self) -> Self { ... } fn content_stretch(self) -> Self { ... } fn aspect_ratio(self, ratio: f32) -> Self { ... } fn aspect_square(self) -> Self { ... } fn bg<F>(self, fill: F) -> Self where F: Into<Fill>, Self: Sized { ... } fn border_dashed(self) -> Self { ... } fn border_dashed_length(self, length_per_border_width: f32) -> Self { ... } fn border_dashed_gap(self, gap_per_border_width: f32) -> Self { ... } fn text_style(&mut self) -> &mut TextStyleRefinement { ... } fn text_color(self, color: impl IntoColor<Hsla>) -> Self { ... } fn font_weight(self, weight: FontWeight) -> Self { ... } fn font_width(self, width: impl Into<FontWidth>) -> Self { ... } fn text_bg(self, bg: impl IntoColor<Hsla>) -> Self { ... } fn text_size(self, size: impl Into<AbsoluteLength>) -> Self { ... } fn text_xs(self) -> Self { ... } fn text_sm(self) -> Self { ... } fn text_base(self) -> Self { ... } fn text_lg(self) -> Self { ... } fn text_xl(self) -> Self { ... } fn text_2xl(self) -> Self { ... } fn text_3xl(self) -> Self { ... } fn italic(self) -> Self { ... } fn not_italic(self) -> Self { ... } fn underline(self) -> Self { ... } fn line_through(self) -> Self { ... } fn text_decoration_none(self) -> Self { ... } fn text_decoration_color(self, color: impl IntoColor<Hsla>) -> Self { ... } fn text_decoration_solid(self) -> Self { ... } fn text_decoration_wavy(self) -> Self { ... } fn text_decoration_0(self) -> Self { ... } fn text_decoration_1(self) -> Self { ... } fn text_decoration_2(self) -> Self { ... } fn text_decoration_4(self) -> Self { ... } fn text_decoration_8(self) -> Self { ... } fn font_family(self, family_name: impl Into<SharedString>) -> Self { ... } fn font_features(self, features: FontFeatures) -> Self { ... } fn font(self, font: Font) -> Self { ... } fn line_height(self, line_height: impl Into<DefiniteLength>) -> Self { ... } fn opacity(self, opacity: f32) -> Self { ... } fn grid_cols(self, cols: u16) -> Self { ... } fn grid_cols_min_content(self, cols: u16) -> Self { ... } fn grid_cols_max_content(self, cols: u16) -> Self { ... } fn grid_rows(self, rows: u16) -> Self { ... } fn grid_rows_min_content(self, rows: u16) -> Self { ... } fn grid_rows_max_content(self, rows: u16) -> Self { ... } fn col_start(self, start: i16) -> Self { ... } fn col_start_auto(self) -> Self { ... } fn col_end(self, end: i16) -> Self { ... } fn col_end_auto(self) -> Self { ... } fn col_span(self, span: u16) -> Self { ... } fn col_span_full(self) -> Self { ... } fn row_start(self, start: i16) -> Self { ... } fn row_start_auto(self) -> Self { ... } fn row_end(self, end: i16) -> Self { ... } fn row_end_auto(self) -> Self { ... } fn row_span(self, span: u16) -> Self { ... } fn row_span_full(self) -> Self { ... } fn debug(self) -> Self { ... } fn debug_below(self) -> Self { ... } fn rounded_smoothing(self, amount: f32) -> Self { ... } fn rounded_smoothing_ios(self) -> Self { ... }
}
Expand description

Sets an element’s layout, paint and text properties.

Import the prelude to style an element with method calls. Setters return Self, allowing several choices in one expression. This card uses a column flex layout, padding, rounded corners and a shadow:

use gpui::{Display, div, prelude::*, rgb};

let mut card = div()
    .flex()
    .flex_col()
    .gap_2()
    .p_4()
    .rounded_lg()
    .bg(rgb(0xffffff))
    .shadow_md();

assert_eq!(card.style().display, Some(Display::Flex));

Each call writes to the element’s StyleRefinement. Unset properties fall back to Style’s defaults. Setting the same property again normally replaces its earlier value; an additive setter such as Styled::blur documents its exception. Interaction styles use refinements too: hover passes an empty refinement to a closure, where these methods describe the changes for that state.

Setters record a request rather than measuring the element. Layout resolves size, min_size, max_size and percentages within the containing layout; painting then uses the resulting bounds. The layout and style concept explains why a requested size can differ from the final size.

§Naming scale

Names generally follow Tailwind CSS. Spacing, sizing and radius suffixes use a quarter-rem scale: p_4 is 1rem of padding, and gap_2 is a 0.5rem gap. At the default 16px root size, those lengths are 16px and 8px. The common steps are:

SuffixLengthPixels at the default rem size
000px
0p50.125rem2px
10.25rem4px
20.5rem8px
41rem16px
82rem32px
164rem64px
px1px1px

A p inside a number denotes a decimal point: p_1p5 is 0.375rem. Fraction suffixes such as _1_2 and _1_3 use a percentage of the containing layout size on that axis. full means 100% for a size or the largest radius for a corner. Where allowed, auto leaves the choice to layout. Each method lists its available values.

Font sizes have their own scale, from Styled::text_xs (0.75rem) to Styled::text_3xl (1.875rem). For instance, text_sm is 0.875rem, or 14px at the default root size. Window::set_rem_size changes that root, scaling both these fonts and rem-based spacing.

Required Methods§

Source

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

Returns the StyleRefinement that the methods on this trait write into.

Use this when you need to set a property that has no dedicated method. Each element stores its own refinement, so changes here affect only this element. The refinement is merged over Style’s defaults when the element is laid out and painted; an unset field does not clear the corresponding default.

Provided Methods§

Source

fn w(self, length: impl Clone + Into<Length>) -> Self

Sets the width of the element. Docs

Source

fn w_0(self) -> Self

Sets the width of the element. Docs

0px

Source

fn w_neg_0(self) -> Self

Sets the width of the element. Docs

0px

Source

fn w_0p5(self) -> Self

Sets the width of the element. Docs

0.125rem (2px at the default rem size)

Source

fn w_neg_0p5(self) -> Self

Sets the width of the element. Docs

0.125rem (2px at the default rem size)

Source

fn w_1(self) -> Self

Sets the width of the element. Docs

0.25rem (4px at the default rem size)

Source

fn w_neg_1(self) -> Self

Sets the width of the element. Docs

0.25rem (4px at the default rem size)

Source

fn w_1p5(self) -> Self

Sets the width of the element. Docs

0.375rem (6px at the default rem size)

Source

fn w_neg_1p5(self) -> Self

Sets the width of the element. Docs

0.375rem (6px at the default rem size)

Source

fn w_2(self) -> Self

Sets the width of the element. Docs

0.5rem (8px at the default rem size)

Source

fn w_neg_2(self) -> Self

Sets the width of the element. Docs

0.5rem (8px at the default rem size)

Source

fn w_2p5(self) -> Self

Sets the width of the element. Docs

0.625rem (10px at the default rem size)

Source

fn w_neg_2p5(self) -> Self

Sets the width of the element. Docs

0.625rem (10px at the default rem size)

Source

fn w_3(self) -> Self

Sets the width of the element. Docs

0.75rem (12px at the default rem size)

Source

fn w_neg_3(self) -> Self

Sets the width of the element. Docs

0.75rem (12px at the default rem size)

Source

fn w_3p5(self) -> Self

Sets the width of the element. Docs

0.875rem (14px at the default rem size)

Source

fn w_neg_3p5(self) -> Self

Sets the width of the element. Docs

0.875rem (14px at the default rem size)

Source

fn w_4(self) -> Self

Sets the width of the element. Docs

1rem (16px at the default rem size)

Source

fn w_neg_4(self) -> Self

Sets the width of the element. Docs

1rem (16px at the default rem size)

Source

fn w_5(self) -> Self

Sets the width of the element. Docs

1.25rem (20px at the default rem size)

Source

fn w_neg_5(self) -> Self

Sets the width of the element. Docs

1.25rem (20px at the default rem size)

Source

fn w_6(self) -> Self

Sets the width of the element. Docs

1.5rem (24px at the default rem size)

Source

fn w_neg_6(self) -> Self

Sets the width of the element. Docs

1.5rem (24px at the default rem size)

Source

fn w_7(self) -> Self

Sets the width of the element. Docs

1.75rem (28px at the default rem size)

Source

fn w_neg_7(self) -> Self

Sets the width of the element. Docs

1.75rem (28px at the default rem size)

Source

fn w_8(self) -> Self

Sets the width of the element. Docs

2rem (32px at the default rem size)

Source

fn w_neg_8(self) -> Self

Sets the width of the element. Docs

2rem (32px at the default rem size)

Source

fn w_9(self) -> Self

Sets the width of the element. Docs

2.25rem (36px at the default rem size)

Source

fn w_neg_9(self) -> Self

Sets the width of the element. Docs

2.25rem (36px at the default rem size)

Source

fn w_10(self) -> Self

Sets the width of the element. Docs

2.5rem (40px at the default rem size)

Source

fn w_neg_10(self) -> Self

Sets the width of the element. Docs

2.5rem (40px at the default rem size)

Source

fn w_11(self) -> Self

Sets the width of the element. Docs

2.75rem (44px at the default rem size)

Source

fn w_neg_11(self) -> Self

Sets the width of the element. Docs

2.75rem (44px at the default rem size)

Source

fn w_12(self) -> Self

Sets the width of the element. Docs

3rem (48px at the default rem size)

Source

fn w_neg_12(self) -> Self

Sets the width of the element. Docs

3rem (48px at the default rem size)

Source

fn w_16(self) -> Self

Sets the width of the element. Docs

4rem (64px at the default rem size)

Source

fn w_neg_16(self) -> Self

Sets the width of the element. Docs

4rem (64px at the default rem size)

Source

fn w_20(self) -> Self

Sets the width of the element. Docs

5rem (80px at the default rem size)

Source

fn w_neg_20(self) -> Self

Sets the width of the element. Docs

5rem (80px at the default rem size)

Source

fn w_24(self) -> Self

Sets the width of the element. Docs

6rem (96px at the default rem size)

Source

fn w_neg_24(self) -> Self

Sets the width of the element. Docs

6rem (96px at the default rem size)

Source

fn w_32(self) -> Self

Sets the width of the element. Docs

8rem (128px at the default rem size)

Source

fn w_neg_32(self) -> Self

Sets the width of the element. Docs

8rem (128px at the default rem size)

Source

fn w_40(self) -> Self

Sets the width of the element. Docs

10rem (160px at the default rem size)

Source

fn w_neg_40(self) -> Self

Sets the width of the element. Docs

10rem (160px at the default rem size)

Source

fn w_48(self) -> Self

Sets the width of the element. Docs

12rem (192px at the default rem size)

Source

fn w_neg_48(self) -> Self

Sets the width of the element. Docs

12rem (192px at the default rem size)

Source

fn w_56(self) -> Self

Sets the width of the element. Docs

14rem (224px at the default rem size)

Source

fn w_neg_56(self) -> Self

Sets the width of the element. Docs

14rem (224px at the default rem size)

Source

fn w_64(self) -> Self

Sets the width of the element. Docs

16rem (256px at the default rem size)

Source

fn w_neg_64(self) -> Self

Sets the width of the element. Docs

16rem (256px at the default rem size)

Source

fn w_72(self) -> Self

Sets the width of the element. Docs

18rem (288px at the default rem size)

Source

fn w_neg_72(self) -> Self

Sets the width of the element. Docs

18rem (288px at the default rem size)

Source

fn w_80(self) -> Self

Sets the width of the element. Docs

20rem (320px at the default rem size)

Source

fn w_neg_80(self) -> Self

Sets the width of the element. Docs

20rem (320px at the default rem size)

Source

fn w_96(self) -> Self

Sets the width of the element. Docs

24rem (384px at the default rem size)

Source

fn w_neg_96(self) -> Self

Sets the width of the element. Docs

24rem (384px at the default rem size)

Source

fn w_112(self) -> Self

Sets the width of the element. Docs

28rem (448px at the default rem size)

Source

fn w_neg_112(self) -> Self

Sets the width of the element. Docs

28rem (448px at the default rem size)

Source

fn w_128(self) -> Self

Sets the width of the element. Docs

32rem (512px at the default rem size)

Source

fn w_neg_128(self) -> Self

Sets the width of the element. Docs

32rem (512px at the default rem size)

Source

fn w_auto(self) -> Self

Sets the width of the element. Docs

Auto

Source

fn w_px(self) -> Self

Sets the width of the element. Docs

1px

Source

fn w_neg_px(self) -> Self

Sets the width of the element. Docs

1px

Source

fn w_full(self) -> Self

Sets the width of the element. Docs

100%

Source

fn w_neg_full(self) -> Self

Sets the width of the element. Docs

100%

Source

fn w_1_2(self) -> Self

Sets the width of the element. Docs

50% (1/2)

Source

fn w_neg_1_2(self) -> Self

Sets the width of the element. Docs

50% (1/2)

Source

fn w_1_3(self) -> Self

Sets the width of the element. Docs

33% (1/3)

Source

fn w_neg_1_3(self) -> Self

Sets the width of the element. Docs

33% (1/3)

Source

fn w_2_3(self) -> Self

Sets the width of the element. Docs

66% (2/3)

Source

fn w_neg_2_3(self) -> Self

Sets the width of the element. Docs

66% (2/3)

Source

fn w_1_4(self) -> Self

Sets the width of the element. Docs

25% (1/4)

Source

fn w_neg_1_4(self) -> Self

Sets the width of the element. Docs

25% (1/4)

Source

fn w_2_4(self) -> Self

Sets the width of the element. Docs

50% (2/4)

Source

fn w_neg_2_4(self) -> Self

Sets the width of the element. Docs

50% (2/4)

Source

fn w_3_4(self) -> Self

Sets the width of the element. Docs

75% (3/4)

Source

fn w_neg_3_4(self) -> Self

Sets the width of the element. Docs

75% (3/4)

Source

fn w_1_5(self) -> Self

Sets the width of the element. Docs

20% (1/5)

Source

fn w_neg_1_5(self) -> Self

Sets the width of the element. Docs

20% (1/5)

Source

fn w_2_5(self) -> Self

Sets the width of the element. Docs

40% (2/5)

Source

fn w_neg_2_5(self) -> Self

Sets the width of the element. Docs

40% (2/5)

Source

fn w_3_5(self) -> Self

Sets the width of the element. Docs

60% (3/5)

Source

fn w_neg_3_5(self) -> Self

Sets the width of the element. Docs

60% (3/5)

Source

fn w_4_5(self) -> Self

Sets the width of the element. Docs

80% (4/5)

Source

fn w_neg_4_5(self) -> Self

Sets the width of the element. Docs

80% (4/5)

Source

fn w_1_6(self) -> Self

Sets the width of the element. Docs

16% (1/6)

Source

fn w_neg_1_6(self) -> Self

Sets the width of the element. Docs

16% (1/6)

Source

fn w_5_6(self) -> Self

Sets the width of the element. Docs

83% (5/6)

Source

fn w_neg_5_6(self) -> Self

Sets the width of the element. Docs

83% (5/6)

Source

fn w_1_12(self) -> Self

Sets the width of the element. Docs

8% (1/12)

Source

fn w_neg_1_12(self) -> Self

Sets the width of the element. Docs

8% (1/12)

Source

fn h(self, length: impl Clone + Into<Length>) -> Self

Sets the height of the element. Docs

Source

fn h_0(self) -> Self

Sets the height of the element. Docs

0px

Source

fn h_neg_0(self) -> Self

Sets the height of the element. Docs

0px

Source

fn h_0p5(self) -> Self

Sets the height of the element. Docs

0.125rem (2px at the default rem size)

Source

fn h_neg_0p5(self) -> Self

Sets the height of the element. Docs

0.125rem (2px at the default rem size)

Source

fn h_1(self) -> Self

Sets the height of the element. Docs

0.25rem (4px at the default rem size)

Source

fn h_neg_1(self) -> Self

Sets the height of the element. Docs

0.25rem (4px at the default rem size)

Source

fn h_1p5(self) -> Self

Sets the height of the element. Docs

0.375rem (6px at the default rem size)

Source

fn h_neg_1p5(self) -> Self

Sets the height of the element. Docs

0.375rem (6px at the default rem size)

Source

fn h_2(self) -> Self

Sets the height of the element. Docs

0.5rem (8px at the default rem size)

Source

fn h_neg_2(self) -> Self

Sets the height of the element. Docs

0.5rem (8px at the default rem size)

Source

fn h_2p5(self) -> Self

Sets the height of the element. Docs

0.625rem (10px at the default rem size)

Source

fn h_neg_2p5(self) -> Self

Sets the height of the element. Docs

0.625rem (10px at the default rem size)

Source

fn h_3(self) -> Self

Sets the height of the element. Docs

0.75rem (12px at the default rem size)

Source

fn h_neg_3(self) -> Self

Sets the height of the element. Docs

0.75rem (12px at the default rem size)

Source

fn h_3p5(self) -> Self

Sets the height of the element. Docs

0.875rem (14px at the default rem size)

Source

fn h_neg_3p5(self) -> Self

Sets the height of the element. Docs

0.875rem (14px at the default rem size)

Source

fn h_4(self) -> Self

Sets the height of the element. Docs

1rem (16px at the default rem size)

Source

fn h_neg_4(self) -> Self

Sets the height of the element. Docs

1rem (16px at the default rem size)

Source

fn h_5(self) -> Self

Sets the height of the element. Docs

1.25rem (20px at the default rem size)

Source

fn h_neg_5(self) -> Self

Sets the height of the element. Docs

1.25rem (20px at the default rem size)

Source

fn h_6(self) -> Self

Sets the height of the element. Docs

1.5rem (24px at the default rem size)

Source

fn h_neg_6(self) -> Self

Sets the height of the element. Docs

1.5rem (24px at the default rem size)

Source

fn h_7(self) -> Self

Sets the height of the element. Docs

1.75rem (28px at the default rem size)

Source

fn h_neg_7(self) -> Self

Sets the height of the element. Docs

1.75rem (28px at the default rem size)

Source

fn h_8(self) -> Self

Sets the height of the element. Docs

2rem (32px at the default rem size)

Source

fn h_neg_8(self) -> Self

Sets the height of the element. Docs

2rem (32px at the default rem size)

Source

fn h_9(self) -> Self

Sets the height of the element. Docs

2.25rem (36px at the default rem size)

Source

fn h_neg_9(self) -> Self

Sets the height of the element. Docs

2.25rem (36px at the default rem size)

Source

fn h_10(self) -> Self

Sets the height of the element. Docs

2.5rem (40px at the default rem size)

Source

fn h_neg_10(self) -> Self

Sets the height of the element. Docs

2.5rem (40px at the default rem size)

Source

fn h_11(self) -> Self

Sets the height of the element. Docs

2.75rem (44px at the default rem size)

Source

fn h_neg_11(self) -> Self

Sets the height of the element. Docs

2.75rem (44px at the default rem size)

Source

fn h_12(self) -> Self

Sets the height of the element. Docs

3rem (48px at the default rem size)

Source

fn h_neg_12(self) -> Self

Sets the height of the element. Docs

3rem (48px at the default rem size)

Source

fn h_16(self) -> Self

Sets the height of the element. Docs

4rem (64px at the default rem size)

Source

fn h_neg_16(self) -> Self

Sets the height of the element. Docs

4rem (64px at the default rem size)

Source

fn h_20(self) -> Self

Sets the height of the element. Docs

5rem (80px at the default rem size)

Source

fn h_neg_20(self) -> Self

Sets the height of the element. Docs

5rem (80px at the default rem size)

Source

fn h_24(self) -> Self

Sets the height of the element. Docs

6rem (96px at the default rem size)

Source

fn h_neg_24(self) -> Self

Sets the height of the element. Docs

6rem (96px at the default rem size)

Source

fn h_32(self) -> Self

Sets the height of the element. Docs

8rem (128px at the default rem size)

Source

fn h_neg_32(self) -> Self

Sets the height of the element. Docs

8rem (128px at the default rem size)

Source

fn h_40(self) -> Self

Sets the height of the element. Docs

10rem (160px at the default rem size)

Source

fn h_neg_40(self) -> Self

Sets the height of the element. Docs

10rem (160px at the default rem size)

Source

fn h_48(self) -> Self

Sets the height of the element. Docs

12rem (192px at the default rem size)

Source

fn h_neg_48(self) -> Self

Sets the height of the element. Docs

12rem (192px at the default rem size)

Source

fn h_56(self) -> Self

Sets the height of the element. Docs

14rem (224px at the default rem size)

Source

fn h_neg_56(self) -> Self

Sets the height of the element. Docs

14rem (224px at the default rem size)

Source

fn h_64(self) -> Self

Sets the height of the element. Docs

16rem (256px at the default rem size)

Source

fn h_neg_64(self) -> Self

Sets the height of the element. Docs

16rem (256px at the default rem size)

Source

fn h_72(self) -> Self

Sets the height of the element. Docs

18rem (288px at the default rem size)

Source

fn h_neg_72(self) -> Self

Sets the height of the element. Docs

18rem (288px at the default rem size)

Source

fn h_80(self) -> Self

Sets the height of the element. Docs

20rem (320px at the default rem size)

Source

fn h_neg_80(self) -> Self

Sets the height of the element. Docs

20rem (320px at the default rem size)

Source

fn h_96(self) -> Self

Sets the height of the element. Docs

24rem (384px at the default rem size)

Source

fn h_neg_96(self) -> Self

Sets the height of the element. Docs

24rem (384px at the default rem size)

Source

fn h_112(self) -> Self

Sets the height of the element. Docs

28rem (448px at the default rem size)

Source

fn h_neg_112(self) -> Self

Sets the height of the element. Docs

28rem (448px at the default rem size)

Source

fn h_128(self) -> Self

Sets the height of the element. Docs

32rem (512px at the default rem size)

Source

fn h_neg_128(self) -> Self

Sets the height of the element. Docs

32rem (512px at the default rem size)

Source

fn h_auto(self) -> Self

Sets the height of the element. Docs

Auto

Source

fn h_px(self) -> Self

Sets the height of the element. Docs

1px

Source

fn h_neg_px(self) -> Self

Sets the height of the element. Docs

1px

Source

fn h_full(self) -> Self

Sets the height of the element. Docs

100%

Source

fn h_neg_full(self) -> Self

Sets the height of the element. Docs

100%

Source

fn h_1_2(self) -> Self

Sets the height of the element. Docs

50% (1/2)

Source

fn h_neg_1_2(self) -> Self

Sets the height of the element. Docs

50% (1/2)

Source

fn h_1_3(self) -> Self

Sets the height of the element. Docs

33% (1/3)

Source

fn h_neg_1_3(self) -> Self

Sets the height of the element. Docs

33% (1/3)

Source

fn h_2_3(self) -> Self

Sets the height of the element. Docs

66% (2/3)

Source

fn h_neg_2_3(self) -> Self

Sets the height of the element. Docs

66% (2/3)

Source

fn h_1_4(self) -> Self

Sets the height of the element. Docs

25% (1/4)

Source

fn h_neg_1_4(self) -> Self

Sets the height of the element. Docs

25% (1/4)

Source

fn h_2_4(self) -> Self

Sets the height of the element. Docs

50% (2/4)

Source

fn h_neg_2_4(self) -> Self

Sets the height of the element. Docs

50% (2/4)

Source

fn h_3_4(self) -> Self

Sets the height of the element. Docs

75% (3/4)

Source

fn h_neg_3_4(self) -> Self

Sets the height of the element. Docs

75% (3/4)

Source

fn h_1_5(self) -> Self

Sets the height of the element. Docs

20% (1/5)

Source

fn h_neg_1_5(self) -> Self

Sets the height of the element. Docs

20% (1/5)

Source

fn h_2_5(self) -> Self

Sets the height of the element. Docs

40% (2/5)

Source

fn h_neg_2_5(self) -> Self

Sets the height of the element. Docs

40% (2/5)

Source

fn h_3_5(self) -> Self

Sets the height of the element. Docs

60% (3/5)

Source

fn h_neg_3_5(self) -> Self

Sets the height of the element. Docs

60% (3/5)

Source

fn h_4_5(self) -> Self

Sets the height of the element. Docs

80% (4/5)

Source

fn h_neg_4_5(self) -> Self

Sets the height of the element. Docs

80% (4/5)

Source

fn h_1_6(self) -> Self

Sets the height of the element. Docs

16% (1/6)

Source

fn h_neg_1_6(self) -> Self

Sets the height of the element. Docs

16% (1/6)

Source

fn h_5_6(self) -> Self

Sets the height of the element. Docs

83% (5/6)

Source

fn h_neg_5_6(self) -> Self

Sets the height of the element. Docs

83% (5/6)

Source

fn h_1_12(self) -> Self

Sets the height of the element. Docs

8% (1/12)

Source

fn h_neg_1_12(self) -> Self

Sets the height of the element. Docs

8% (1/12)

Source

fn size(self, length: impl Clone + Into<Length>) -> Self

Sets the width and height of the element.

Source

fn size_0(self) -> Self

Sets the width and height of the element.

0px

Source

fn size_neg_0(self) -> Self

Sets the width and height of the element.

0px

Source

fn size_0p5(self) -> Self

Sets the width and height of the element.

0.125rem (2px at the default rem size)

Source

fn size_neg_0p5(self) -> Self

Sets the width and height of the element.

0.125rem (2px at the default rem size)

Source

fn size_1(self) -> Self

Sets the width and height of the element.

0.25rem (4px at the default rem size)

Source

fn size_neg_1(self) -> Self

Sets the width and height of the element.

0.25rem (4px at the default rem size)

Source

fn size_1p5(self) -> Self

Sets the width and height of the element.

0.375rem (6px at the default rem size)

Source

fn size_neg_1p5(self) -> Self

Sets the width and height of the element.

0.375rem (6px at the default rem size)

Source

fn size_2(self) -> Self

Sets the width and height of the element.

0.5rem (8px at the default rem size)

Source

fn size_neg_2(self) -> Self

Sets the width and height of the element.

0.5rem (8px at the default rem size)

Source

fn size_2p5(self) -> Self

Sets the width and height of the element.

0.625rem (10px at the default rem size)

Source

fn size_neg_2p5(self) -> Self

Sets the width and height of the element.

0.625rem (10px at the default rem size)

Source

fn size_3(self) -> Self

Sets the width and height of the element.

0.75rem (12px at the default rem size)

Source

fn size_neg_3(self) -> Self

Sets the width and height of the element.

0.75rem (12px at the default rem size)

Source

fn size_3p5(self) -> Self

Sets the width and height of the element.

0.875rem (14px at the default rem size)

Source

fn size_neg_3p5(self) -> Self

Sets the width and height of the element.

0.875rem (14px at the default rem size)

Source

fn size_4(self) -> Self

Sets the width and height of the element.

1rem (16px at the default rem size)

Source

fn size_neg_4(self) -> Self

Sets the width and height of the element.

1rem (16px at the default rem size)

Source

fn size_5(self) -> Self

Sets the width and height of the element.

1.25rem (20px at the default rem size)

Source

fn size_neg_5(self) -> Self

Sets the width and height of the element.

1.25rem (20px at the default rem size)

Source

fn size_6(self) -> Self

Sets the width and height of the element.

1.5rem (24px at the default rem size)

Source

fn size_neg_6(self) -> Self

Sets the width and height of the element.

1.5rem (24px at the default rem size)

Source

fn size_7(self) -> Self

Sets the width and height of the element.

1.75rem (28px at the default rem size)

Source

fn size_neg_7(self) -> Self

Sets the width and height of the element.

1.75rem (28px at the default rem size)

Source

fn size_8(self) -> Self

Sets the width and height of the element.

2rem (32px at the default rem size)

Source

fn size_neg_8(self) -> Self

Sets the width and height of the element.

2rem (32px at the default rem size)

Source

fn size_9(self) -> Self

Sets the width and height of the element.

2.25rem (36px at the default rem size)

Source

fn size_neg_9(self) -> Self

Sets the width and height of the element.

2.25rem (36px at the default rem size)

Source

fn size_10(self) -> Self

Sets the width and height of the element.

2.5rem (40px at the default rem size)

Source

fn size_neg_10(self) -> Self

Sets the width and height of the element.

2.5rem (40px at the default rem size)

Source

fn size_11(self) -> Self

Sets the width and height of the element.

2.75rem (44px at the default rem size)

Source

fn size_neg_11(self) -> Self

Sets the width and height of the element.

2.75rem (44px at the default rem size)

Source

fn size_12(self) -> Self

Sets the width and height of the element.

3rem (48px at the default rem size)

Source

fn size_neg_12(self) -> Self

Sets the width and height of the element.

3rem (48px at the default rem size)

Source

fn size_16(self) -> Self

Sets the width and height of the element.

4rem (64px at the default rem size)

Source

fn size_neg_16(self) -> Self

Sets the width and height of the element.

4rem (64px at the default rem size)

Source

fn size_20(self) -> Self

Sets the width and height of the element.

5rem (80px at the default rem size)

Source

fn size_neg_20(self) -> Self

Sets the width and height of the element.

5rem (80px at the default rem size)

Source

fn size_24(self) -> Self

Sets the width and height of the element.

6rem (96px at the default rem size)

Source

fn size_neg_24(self) -> Self

Sets the width and height of the element.

6rem (96px at the default rem size)

Source

fn size_32(self) -> Self

Sets the width and height of the element.

8rem (128px at the default rem size)

Source

fn size_neg_32(self) -> Self

Sets the width and height of the element.

8rem (128px at the default rem size)

Source

fn size_40(self) -> Self

Sets the width and height of the element.

10rem (160px at the default rem size)

Source

fn size_neg_40(self) -> Self

Sets the width and height of the element.

10rem (160px at the default rem size)

Source

fn size_48(self) -> Self

Sets the width and height of the element.

12rem (192px at the default rem size)

Source

fn size_neg_48(self) -> Self

Sets the width and height of the element.

12rem (192px at the default rem size)

Source

fn size_56(self) -> Self

Sets the width and height of the element.

14rem (224px at the default rem size)

Source

fn size_neg_56(self) -> Self

Sets the width and height of the element.

14rem (224px at the default rem size)

Source

fn size_64(self) -> Self

Sets the width and height of the element.

16rem (256px at the default rem size)

Source

fn size_neg_64(self) -> Self

Sets the width and height of the element.

16rem (256px at the default rem size)

Source

fn size_72(self) -> Self

Sets the width and height of the element.

18rem (288px at the default rem size)

Source

fn size_neg_72(self) -> Self

Sets the width and height of the element.

18rem (288px at the default rem size)

Source

fn size_80(self) -> Self

Sets the width and height of the element.

20rem (320px at the default rem size)

Source

fn size_neg_80(self) -> Self

Sets the width and height of the element.

20rem (320px at the default rem size)

Source

fn size_96(self) -> Self

Sets the width and height of the element.

24rem (384px at the default rem size)

Source

fn size_neg_96(self) -> Self

Sets the width and height of the element.

24rem (384px at the default rem size)

Source

fn size_112(self) -> Self

Sets the width and height of the element.

28rem (448px at the default rem size)

Source

fn size_neg_112(self) -> Self

Sets the width and height of the element.

28rem (448px at the default rem size)

Source

fn size_128(self) -> Self

Sets the width and height of the element.

32rem (512px at the default rem size)

Source

fn size_neg_128(self) -> Self

Sets the width and height of the element.

32rem (512px at the default rem size)

Source

fn size_auto(self) -> Self

Sets the width and height of the element.

Auto

Source

fn size_px(self) -> Self

Sets the width and height of the element.

1px

Source

fn size_neg_px(self) -> Self

Sets the width and height of the element.

1px

Source

fn size_full(self) -> Self

Sets the width and height of the element.

100%

Source

fn size_neg_full(self) -> Self

Sets the width and height of the element.

100%

Source

fn size_1_2(self) -> Self

Sets the width and height of the element.

50% (1/2)

Source

fn size_neg_1_2(self) -> Self

Sets the width and height of the element.

50% (1/2)

Source

fn size_1_3(self) -> Self

Sets the width and height of the element.

33% (1/3)

Source

fn size_neg_1_3(self) -> Self

Sets the width and height of the element.

33% (1/3)

Source

fn size_2_3(self) -> Self

Sets the width and height of the element.

66% (2/3)

Source

fn size_neg_2_3(self) -> Self

Sets the width and height of the element.

66% (2/3)

Source

fn size_1_4(self) -> Self

Sets the width and height of the element.

25% (1/4)

Source

fn size_neg_1_4(self) -> Self

Sets the width and height of the element.

25% (1/4)

Source

fn size_2_4(self) -> Self

Sets the width and height of the element.

50% (2/4)

Source

fn size_neg_2_4(self) -> Self

Sets the width and height of the element.

50% (2/4)

Source

fn size_3_4(self) -> Self

Sets the width and height of the element.

75% (3/4)

Source

fn size_neg_3_4(self) -> Self

Sets the width and height of the element.

75% (3/4)

Source

fn size_1_5(self) -> Self

Sets the width and height of the element.

20% (1/5)

Source

fn size_neg_1_5(self) -> Self

Sets the width and height of the element.

20% (1/5)

Source

fn size_2_5(self) -> Self

Sets the width and height of the element.

40% (2/5)

Source

fn size_neg_2_5(self) -> Self

Sets the width and height of the element.

40% (2/5)

Source

fn size_3_5(self) -> Self

Sets the width and height of the element.

60% (3/5)

Source

fn size_neg_3_5(self) -> Self

Sets the width and height of the element.

60% (3/5)

Source

fn size_4_5(self) -> Self

Sets the width and height of the element.

80% (4/5)

Source

fn size_neg_4_5(self) -> Self

Sets the width and height of the element.

80% (4/5)

Source

fn size_1_6(self) -> Self

Sets the width and height of the element.

16% (1/6)

Source

fn size_neg_1_6(self) -> Self

Sets the width and height of the element.

16% (1/6)

Source

fn size_5_6(self) -> Self

Sets the width and height of the element.

83% (5/6)

Source

fn size_neg_5_6(self) -> Self

Sets the width and height of the element.

83% (5/6)

Source

fn size_1_12(self) -> Self

Sets the width and height of the element.

8% (1/12)

Source

fn size_neg_1_12(self) -> Self

Sets the width and height of the element.

8% (1/12)

Source

fn min_size(self, length: impl Clone + Into<Length>) -> Self

Sets the minimum width and height of the element.

Source

fn min_size_0(self) -> Self

Sets the minimum width and height of the element.

0px

Source

fn min_size_neg_0(self) -> Self

Sets the minimum width and height of the element.

0px

Source

fn min_size_0p5(self) -> Self

Sets the minimum width and height of the element.

0.125rem (2px at the default rem size)

Source

fn min_size_neg_0p5(self) -> Self

Sets the minimum width and height of the element.

0.125rem (2px at the default rem size)

Source

fn min_size_1(self) -> Self

Sets the minimum width and height of the element.

0.25rem (4px at the default rem size)

Source

fn min_size_neg_1(self) -> Self

Sets the minimum width and height of the element.

0.25rem (4px at the default rem size)

Source

fn min_size_1p5(self) -> Self

Sets the minimum width and height of the element.

0.375rem (6px at the default rem size)

Source

fn min_size_neg_1p5(self) -> Self

Sets the minimum width and height of the element.

0.375rem (6px at the default rem size)

Source

fn min_size_2(self) -> Self

Sets the minimum width and height of the element.

0.5rem (8px at the default rem size)

Source

fn min_size_neg_2(self) -> Self

Sets the minimum width and height of the element.

0.5rem (8px at the default rem size)

Source

fn min_size_2p5(self) -> Self

Sets the minimum width and height of the element.

0.625rem (10px at the default rem size)

Source

fn min_size_neg_2p5(self) -> Self

Sets the minimum width and height of the element.

0.625rem (10px at the default rem size)

Source

fn min_size_3(self) -> Self

Sets the minimum width and height of the element.

0.75rem (12px at the default rem size)

Source

fn min_size_neg_3(self) -> Self

Sets the minimum width and height of the element.

0.75rem (12px at the default rem size)

Source

fn min_size_3p5(self) -> Self

Sets the minimum width and height of the element.

0.875rem (14px at the default rem size)

Source

fn min_size_neg_3p5(self) -> Self

Sets the minimum width and height of the element.

0.875rem (14px at the default rem size)

Source

fn min_size_4(self) -> Self

Sets the minimum width and height of the element.

1rem (16px at the default rem size)

Source

fn min_size_neg_4(self) -> Self

Sets the minimum width and height of the element.

1rem (16px at the default rem size)

Source

fn min_size_5(self) -> Self

Sets the minimum width and height of the element.

1.25rem (20px at the default rem size)

Source

fn min_size_neg_5(self) -> Self

Sets the minimum width and height of the element.

1.25rem (20px at the default rem size)

Source

fn min_size_6(self) -> Self

Sets the minimum width and height of the element.

1.5rem (24px at the default rem size)

Source

fn min_size_neg_6(self) -> Self

Sets the minimum width and height of the element.

1.5rem (24px at the default rem size)

Source

fn min_size_7(self) -> Self

Sets the minimum width and height of the element.

1.75rem (28px at the default rem size)

Source

fn min_size_neg_7(self) -> Self

Sets the minimum width and height of the element.

1.75rem (28px at the default rem size)

Source

fn min_size_8(self) -> Self

Sets the minimum width and height of the element.

2rem (32px at the default rem size)

Source

fn min_size_neg_8(self) -> Self

Sets the minimum width and height of the element.

2rem (32px at the default rem size)

Source

fn min_size_9(self) -> Self

Sets the minimum width and height of the element.

2.25rem (36px at the default rem size)

Source

fn min_size_neg_9(self) -> Self

Sets the minimum width and height of the element.

2.25rem (36px at the default rem size)

Source

fn min_size_10(self) -> Self

Sets the minimum width and height of the element.

2.5rem (40px at the default rem size)

Source

fn min_size_neg_10(self) -> Self

Sets the minimum width and height of the element.

2.5rem (40px at the default rem size)

Source

fn min_size_11(self) -> Self

Sets the minimum width and height of the element.

2.75rem (44px at the default rem size)

Source

fn min_size_neg_11(self) -> Self

Sets the minimum width and height of the element.

2.75rem (44px at the default rem size)

Source

fn min_size_12(self) -> Self

Sets the minimum width and height of the element.

3rem (48px at the default rem size)

Source

fn min_size_neg_12(self) -> Self

Sets the minimum width and height of the element.

3rem (48px at the default rem size)

Source

fn min_size_16(self) -> Self

Sets the minimum width and height of the element.

4rem (64px at the default rem size)

Source

fn min_size_neg_16(self) -> Self

Sets the minimum width and height of the element.

4rem (64px at the default rem size)

Source

fn min_size_20(self) -> Self

Sets the minimum width and height of the element.

5rem (80px at the default rem size)

Source

fn min_size_neg_20(self) -> Self

Sets the minimum width and height of the element.

5rem (80px at the default rem size)

Source

fn min_size_24(self) -> Self

Sets the minimum width and height of the element.

6rem (96px at the default rem size)

Source

fn min_size_neg_24(self) -> Self

Sets the minimum width and height of the element.

6rem (96px at the default rem size)

Source

fn min_size_32(self) -> Self

Sets the minimum width and height of the element.

8rem (128px at the default rem size)

Source

fn min_size_neg_32(self) -> Self

Sets the minimum width and height of the element.

8rem (128px at the default rem size)

Source

fn min_size_40(self) -> Self

Sets the minimum width and height of the element.

10rem (160px at the default rem size)

Source

fn min_size_neg_40(self) -> Self

Sets the minimum width and height of the element.

10rem (160px at the default rem size)

Source

fn min_size_48(self) -> Self

Sets the minimum width and height of the element.

12rem (192px at the default rem size)

Source

fn min_size_neg_48(self) -> Self

Sets the minimum width and height of the element.

12rem (192px at the default rem size)

Source

fn min_size_56(self) -> Self

Sets the minimum width and height of the element.

14rem (224px at the default rem size)

Source

fn min_size_neg_56(self) -> Self

Sets the minimum width and height of the element.

14rem (224px at the default rem size)

Source

fn min_size_64(self) -> Self

Sets the minimum width and height of the element.

16rem (256px at the default rem size)

Source

fn min_size_neg_64(self) -> Self

Sets the minimum width and height of the element.

16rem (256px at the default rem size)

Source

fn min_size_72(self) -> Self

Sets the minimum width and height of the element.

18rem (288px at the default rem size)

Source

fn min_size_neg_72(self) -> Self

Sets the minimum width and height of the element.

18rem (288px at the default rem size)

Source

fn min_size_80(self) -> Self

Sets the minimum width and height of the element.

20rem (320px at the default rem size)

Source

fn min_size_neg_80(self) -> Self

Sets the minimum width and height of the element.

20rem (320px at the default rem size)

Source

fn min_size_96(self) -> Self

Sets the minimum width and height of the element.

24rem (384px at the default rem size)

Source

fn min_size_neg_96(self) -> Self

Sets the minimum width and height of the element.

24rem (384px at the default rem size)

Source

fn min_size_112(self) -> Self

Sets the minimum width and height of the element.

28rem (448px at the default rem size)

Source

fn min_size_neg_112(self) -> Self

Sets the minimum width and height of the element.

28rem (448px at the default rem size)

Source

fn min_size_128(self) -> Self

Sets the minimum width and height of the element.

32rem (512px at the default rem size)

Source

fn min_size_neg_128(self) -> Self

Sets the minimum width and height of the element.

32rem (512px at the default rem size)

Source

fn min_size_auto(self) -> Self

Sets the minimum width and height of the element.

Auto

Source

fn min_size_px(self) -> Self

Sets the minimum width and height of the element.

1px

Source

fn min_size_neg_px(self) -> Self

Sets the minimum width and height of the element.

1px

Source

fn min_size_full(self) -> Self

Sets the minimum width and height of the element.

100%

Source

fn min_size_neg_full(self) -> Self

Sets the minimum width and height of the element.

100%

Source

fn min_size_1_2(self) -> Self

Sets the minimum width and height of the element.

50% (1/2)

Source

fn min_size_neg_1_2(self) -> Self

Sets the minimum width and height of the element.

50% (1/2)

Source

fn min_size_1_3(self) -> Self

Sets the minimum width and height of the element.

33% (1/3)

Source

fn min_size_neg_1_3(self) -> Self

Sets the minimum width and height of the element.

33% (1/3)

Source

fn min_size_2_3(self) -> Self

Sets the minimum width and height of the element.

66% (2/3)

Source

fn min_size_neg_2_3(self) -> Self

Sets the minimum width and height of the element.

66% (2/3)

Source

fn min_size_1_4(self) -> Self

Sets the minimum width and height of the element.

25% (1/4)

Source

fn min_size_neg_1_4(self) -> Self

Sets the minimum width and height of the element.

25% (1/4)

Source

fn min_size_2_4(self) -> Self

Sets the minimum width and height of the element.

50% (2/4)

Source

fn min_size_neg_2_4(self) -> Self

Sets the minimum width and height of the element.

50% (2/4)

Source

fn min_size_3_4(self) -> Self

Sets the minimum width and height of the element.

75% (3/4)

Source

fn min_size_neg_3_4(self) -> Self

Sets the minimum width and height of the element.

75% (3/4)

Source

fn min_size_1_5(self) -> Self

Sets the minimum width and height of the element.

20% (1/5)

Source

fn min_size_neg_1_5(self) -> Self

Sets the minimum width and height of the element.

20% (1/5)

Source

fn min_size_2_5(self) -> Self

Sets the minimum width and height of the element.

40% (2/5)

Source

fn min_size_neg_2_5(self) -> Self

Sets the minimum width and height of the element.

40% (2/5)

Source

fn min_size_3_5(self) -> Self

Sets the minimum width and height of the element.

60% (3/5)

Source

fn min_size_neg_3_5(self) -> Self

Sets the minimum width and height of the element.

60% (3/5)

Source

fn min_size_4_5(self) -> Self

Sets the minimum width and height of the element.

80% (4/5)

Source

fn min_size_neg_4_5(self) -> Self

Sets the minimum width and height of the element.

80% (4/5)

Source

fn min_size_1_6(self) -> Self

Sets the minimum width and height of the element.

16% (1/6)

Source

fn min_size_neg_1_6(self) -> Self

Sets the minimum width and height of the element.

16% (1/6)

Source

fn min_size_5_6(self) -> Self

Sets the minimum width and height of the element.

83% (5/6)

Source

fn min_size_neg_5_6(self) -> Self

Sets the minimum width and height of the element.

83% (5/6)

Source

fn min_size_1_12(self) -> Self

Sets the minimum width and height of the element.

8% (1/12)

Source

fn min_size_neg_1_12(self) -> Self

Sets the minimum width and height of the element.

8% (1/12)

Source

fn min_w(self, length: impl Clone + Into<Length>) -> Self

Sets the minimum width of the element. Docs

Source

fn min_w_0(self) -> Self

Sets the minimum width of the element. Docs

0px

Source

fn min_w_neg_0(self) -> Self

Sets the minimum width of the element. Docs

0px

Source

fn min_w_0p5(self) -> Self

Sets the minimum width of the element. Docs

0.125rem (2px at the default rem size)

Source

fn min_w_neg_0p5(self) -> Self

Sets the minimum width of the element. Docs

0.125rem (2px at the default rem size)

Source

fn min_w_1(self) -> Self

Sets the minimum width of the element. Docs

0.25rem (4px at the default rem size)

Source

fn min_w_neg_1(self) -> Self

Sets the minimum width of the element. Docs

0.25rem (4px at the default rem size)

Source

fn min_w_1p5(self) -> Self

Sets the minimum width of the element. Docs

0.375rem (6px at the default rem size)

Source

fn min_w_neg_1p5(self) -> Self

Sets the minimum width of the element. Docs

0.375rem (6px at the default rem size)

Source

fn min_w_2(self) -> Self

Sets the minimum width of the element. Docs

0.5rem (8px at the default rem size)

Source

fn min_w_neg_2(self) -> Self

Sets the minimum width of the element. Docs

0.5rem (8px at the default rem size)

Source

fn min_w_2p5(self) -> Self

Sets the minimum width of the element. Docs

0.625rem (10px at the default rem size)

Source

fn min_w_neg_2p5(self) -> Self

Sets the minimum width of the element. Docs

0.625rem (10px at the default rem size)

Source

fn min_w_3(self) -> Self

Sets the minimum width of the element. Docs

0.75rem (12px at the default rem size)

Source

fn min_w_neg_3(self) -> Self

Sets the minimum width of the element. Docs

0.75rem (12px at the default rem size)

Source

fn min_w_3p5(self) -> Self

Sets the minimum width of the element. Docs

0.875rem (14px at the default rem size)

Source

fn min_w_neg_3p5(self) -> Self

Sets the minimum width of the element. Docs

0.875rem (14px at the default rem size)

Source

fn min_w_4(self) -> Self

Sets the minimum width of the element. Docs

1rem (16px at the default rem size)

Source

fn min_w_neg_4(self) -> Self

Sets the minimum width of the element. Docs

1rem (16px at the default rem size)

Source

fn min_w_5(self) -> Self

Sets the minimum width of the element. Docs

1.25rem (20px at the default rem size)

Source

fn min_w_neg_5(self) -> Self

Sets the minimum width of the element. Docs

1.25rem (20px at the default rem size)

Source

fn min_w_6(self) -> Self

Sets the minimum width of the element. Docs

1.5rem (24px at the default rem size)

Source

fn min_w_neg_6(self) -> Self

Sets the minimum width of the element. Docs

1.5rem (24px at the default rem size)

Source

fn min_w_7(self) -> Self

Sets the minimum width of the element. Docs

1.75rem (28px at the default rem size)

Source

fn min_w_neg_7(self) -> Self

Sets the minimum width of the element. Docs

1.75rem (28px at the default rem size)

Source

fn min_w_8(self) -> Self

Sets the minimum width of the element. Docs

2rem (32px at the default rem size)

Source

fn min_w_neg_8(self) -> Self

Sets the minimum width of the element. Docs

2rem (32px at the default rem size)

Source

fn min_w_9(self) -> Self

Sets the minimum width of the element. Docs

2.25rem (36px at the default rem size)

Source

fn min_w_neg_9(self) -> Self

Sets the minimum width of the element. Docs

2.25rem (36px at the default rem size)

Source

fn min_w_10(self) -> Self

Sets the minimum width of the element. Docs

2.5rem (40px at the default rem size)

Source

fn min_w_neg_10(self) -> Self

Sets the minimum width of the element. Docs

2.5rem (40px at the default rem size)

Source

fn min_w_11(self) -> Self

Sets the minimum width of the element. Docs

2.75rem (44px at the default rem size)

Source

fn min_w_neg_11(self) -> Self

Sets the minimum width of the element. Docs

2.75rem (44px at the default rem size)

Source

fn min_w_12(self) -> Self

Sets the minimum width of the element. Docs

3rem (48px at the default rem size)

Source

fn min_w_neg_12(self) -> Self

Sets the minimum width of the element. Docs

3rem (48px at the default rem size)

Source

fn min_w_16(self) -> Self

Sets the minimum width of the element. Docs

4rem (64px at the default rem size)

Source

fn min_w_neg_16(self) -> Self

Sets the minimum width of the element. Docs

4rem (64px at the default rem size)

Source

fn min_w_20(self) -> Self

Sets the minimum width of the element. Docs

5rem (80px at the default rem size)

Source

fn min_w_neg_20(self) -> Self

Sets the minimum width of the element. Docs

5rem (80px at the default rem size)

Source

fn min_w_24(self) -> Self

Sets the minimum width of the element. Docs

6rem (96px at the default rem size)

Source

fn min_w_neg_24(self) -> Self

Sets the minimum width of the element. Docs

6rem (96px at the default rem size)

Source

fn min_w_32(self) -> Self

Sets the minimum width of the element. Docs

8rem (128px at the default rem size)

Source

fn min_w_neg_32(self) -> Self

Sets the minimum width of the element. Docs

8rem (128px at the default rem size)

Source

fn min_w_40(self) -> Self

Sets the minimum width of the element. Docs

10rem (160px at the default rem size)

Source

fn min_w_neg_40(self) -> Self

Sets the minimum width of the element. Docs

10rem (160px at the default rem size)

Source

fn min_w_48(self) -> Self

Sets the minimum width of the element. Docs

12rem (192px at the default rem size)

Source

fn min_w_neg_48(self) -> Self

Sets the minimum width of the element. Docs

12rem (192px at the default rem size)

Source

fn min_w_56(self) -> Self

Sets the minimum width of the element. Docs

14rem (224px at the default rem size)

Source

fn min_w_neg_56(self) -> Self

Sets the minimum width of the element. Docs

14rem (224px at the default rem size)

Source

fn min_w_64(self) -> Self

Sets the minimum width of the element. Docs

16rem (256px at the default rem size)

Source

fn min_w_neg_64(self) -> Self

Sets the minimum width of the element. Docs

16rem (256px at the default rem size)

Source

fn min_w_72(self) -> Self

Sets the minimum width of the element. Docs

18rem (288px at the default rem size)

Source

fn min_w_neg_72(self) -> Self

Sets the minimum width of the element. Docs

18rem (288px at the default rem size)

Source

fn min_w_80(self) -> Self

Sets the minimum width of the element. Docs

20rem (320px at the default rem size)

Source

fn min_w_neg_80(self) -> Self

Sets the minimum width of the element. Docs

20rem (320px at the default rem size)

Source

fn min_w_96(self) -> Self

Sets the minimum width of the element. Docs

24rem (384px at the default rem size)

Source

fn min_w_neg_96(self) -> Self

Sets the minimum width of the element. Docs

24rem (384px at the default rem size)

Source

fn min_w_112(self) -> Self

Sets the minimum width of the element. Docs

28rem (448px at the default rem size)

Source

fn min_w_neg_112(self) -> Self

Sets the minimum width of the element. Docs

28rem (448px at the default rem size)

Source

fn min_w_128(self) -> Self

Sets the minimum width of the element. Docs

32rem (512px at the default rem size)

Source

fn min_w_neg_128(self) -> Self

Sets the minimum width of the element. Docs

32rem (512px at the default rem size)

Source

fn min_w_auto(self) -> Self

Sets the minimum width of the element. Docs

Auto

Source

fn min_w_px(self) -> Self

Sets the minimum width of the element. Docs

1px

Source

fn min_w_neg_px(self) -> Self

Sets the minimum width of the element. Docs

1px

Source

fn min_w_full(self) -> Self

Sets the minimum width of the element. Docs

100%

Source

fn min_w_neg_full(self) -> Self

Sets the minimum width of the element. Docs

100%

Source

fn min_w_1_2(self) -> Self

Sets the minimum width of the element. Docs

50% (1/2)

Source

fn min_w_neg_1_2(self) -> Self

Sets the minimum width of the element. Docs

50% (1/2)

Source

fn min_w_1_3(self) -> Self

Sets the minimum width of the element. Docs

33% (1/3)

Source

fn min_w_neg_1_3(self) -> Self

Sets the minimum width of the element. Docs

33% (1/3)

Source

fn min_w_2_3(self) -> Self

Sets the minimum width of the element. Docs

66% (2/3)

Source

fn min_w_neg_2_3(self) -> Self

Sets the minimum width of the element. Docs

66% (2/3)

Source

fn min_w_1_4(self) -> Self

Sets the minimum width of the element. Docs

25% (1/4)

Source

fn min_w_neg_1_4(self) -> Self

Sets the minimum width of the element. Docs

25% (1/4)

Source

fn min_w_2_4(self) -> Self

Sets the minimum width of the element. Docs

50% (2/4)

Source

fn min_w_neg_2_4(self) -> Self

Sets the minimum width of the element. Docs

50% (2/4)

Source

fn min_w_3_4(self) -> Self

Sets the minimum width of the element. Docs

75% (3/4)

Source

fn min_w_neg_3_4(self) -> Self

Sets the minimum width of the element. Docs

75% (3/4)

Source

fn min_w_1_5(self) -> Self

Sets the minimum width of the element. Docs

20% (1/5)

Source

fn min_w_neg_1_5(self) -> Self

Sets the minimum width of the element. Docs

20% (1/5)

Source

fn min_w_2_5(self) -> Self

Sets the minimum width of the element. Docs

40% (2/5)

Source

fn min_w_neg_2_5(self) -> Self

Sets the minimum width of the element. Docs

40% (2/5)

Source

fn min_w_3_5(self) -> Self

Sets the minimum width of the element. Docs

60% (3/5)

Source

fn min_w_neg_3_5(self) -> Self

Sets the minimum width of the element. Docs

60% (3/5)

Source

fn min_w_4_5(self) -> Self

Sets the minimum width of the element. Docs

80% (4/5)

Source

fn min_w_neg_4_5(self) -> Self

Sets the minimum width of the element. Docs

80% (4/5)

Source

fn min_w_1_6(self) -> Self

Sets the minimum width of the element. Docs

16% (1/6)

Source

fn min_w_neg_1_6(self) -> Self

Sets the minimum width of the element. Docs

16% (1/6)

Source

fn min_w_5_6(self) -> Self

Sets the minimum width of the element. Docs

83% (5/6)

Source

fn min_w_neg_5_6(self) -> Self

Sets the minimum width of the element. Docs

83% (5/6)

Source

fn min_w_1_12(self) -> Self

Sets the minimum width of the element. Docs

8% (1/12)

Source

fn min_w_neg_1_12(self) -> Self

Sets the minimum width of the element. Docs

8% (1/12)

Source

fn min_h(self, length: impl Clone + Into<Length>) -> Self

Sets the minimum height of the element. Docs

Source

fn min_h_0(self) -> Self

Sets the minimum height of the element. Docs

0px

Source

fn min_h_neg_0(self) -> Self

Sets the minimum height of the element. Docs

0px

Source

fn min_h_0p5(self) -> Self

Sets the minimum height of the element. Docs

0.125rem (2px at the default rem size)

Source

fn min_h_neg_0p5(self) -> Self

Sets the minimum height of the element. Docs

0.125rem (2px at the default rem size)

Source

fn min_h_1(self) -> Self

Sets the minimum height of the element. Docs

0.25rem (4px at the default rem size)

Source

fn min_h_neg_1(self) -> Self

Sets the minimum height of the element. Docs

0.25rem (4px at the default rem size)

Source

fn min_h_1p5(self) -> Self

Sets the minimum height of the element. Docs

0.375rem (6px at the default rem size)

Source

fn min_h_neg_1p5(self) -> Self

Sets the minimum height of the element. Docs

0.375rem (6px at the default rem size)

Source

fn min_h_2(self) -> Self

Sets the minimum height of the element. Docs

0.5rem (8px at the default rem size)

Source

fn min_h_neg_2(self) -> Self

Sets the minimum height of the element. Docs

0.5rem (8px at the default rem size)

Source

fn min_h_2p5(self) -> Self

Sets the minimum height of the element. Docs

0.625rem (10px at the default rem size)

Source

fn min_h_neg_2p5(self) -> Self

Sets the minimum height of the element. Docs

0.625rem (10px at the default rem size)

Source

fn min_h_3(self) -> Self

Sets the minimum height of the element. Docs

0.75rem (12px at the default rem size)

Source

fn min_h_neg_3(self) -> Self

Sets the minimum height of the element. Docs

0.75rem (12px at the default rem size)

Source

fn min_h_3p5(self) -> Self

Sets the minimum height of the element. Docs

0.875rem (14px at the default rem size)

Source

fn min_h_neg_3p5(self) -> Self

Sets the minimum height of the element. Docs

0.875rem (14px at the default rem size)

Source

fn min_h_4(self) -> Self

Sets the minimum height of the element. Docs

1rem (16px at the default rem size)

Source

fn min_h_neg_4(self) -> Self

Sets the minimum height of the element. Docs

1rem (16px at the default rem size)

Source

fn min_h_5(self) -> Self

Sets the minimum height of the element. Docs

1.25rem (20px at the default rem size)

Source

fn min_h_neg_5(self) -> Self

Sets the minimum height of the element. Docs

1.25rem (20px at the default rem size)

Source

fn min_h_6(self) -> Self

Sets the minimum height of the element. Docs

1.5rem (24px at the default rem size)

Source

fn min_h_neg_6(self) -> Self

Sets the minimum height of the element. Docs

1.5rem (24px at the default rem size)

Source

fn min_h_7(self) -> Self

Sets the minimum height of the element. Docs

1.75rem (28px at the default rem size)

Source

fn min_h_neg_7(self) -> Self

Sets the minimum height of the element. Docs

1.75rem (28px at the default rem size)

Source

fn min_h_8(self) -> Self

Sets the minimum height of the element. Docs

2rem (32px at the default rem size)

Source

fn min_h_neg_8(self) -> Self

Sets the minimum height of the element. Docs

2rem (32px at the default rem size)

Source

fn min_h_9(self) -> Self

Sets the minimum height of the element. Docs

2.25rem (36px at the default rem size)

Source

fn min_h_neg_9(self) -> Self

Sets the minimum height of the element. Docs

2.25rem (36px at the default rem size)

Source

fn min_h_10(self) -> Self

Sets the minimum height of the element. Docs

2.5rem (40px at the default rem size)

Source

fn min_h_neg_10(self) -> Self

Sets the minimum height of the element. Docs

2.5rem (40px at the default rem size)

Source

fn min_h_11(self) -> Self

Sets the minimum height of the element. Docs

2.75rem (44px at the default rem size)

Source

fn min_h_neg_11(self) -> Self

Sets the minimum height of the element. Docs

2.75rem (44px at the default rem size)

Source

fn min_h_12(self) -> Self

Sets the minimum height of the element. Docs

3rem (48px at the default rem size)

Source

fn min_h_neg_12(self) -> Self

Sets the minimum height of the element. Docs

3rem (48px at the default rem size)

Source

fn min_h_16(self) -> Self

Sets the minimum height of the element. Docs

4rem (64px at the default rem size)

Source

fn min_h_neg_16(self) -> Self

Sets the minimum height of the element. Docs

4rem (64px at the default rem size)

Source

fn min_h_20(self) -> Self

Sets the minimum height of the element. Docs

5rem (80px at the default rem size)

Source

fn min_h_neg_20(self) -> Self

Sets the minimum height of the element. Docs

5rem (80px at the default rem size)

Source

fn min_h_24(self) -> Self

Sets the minimum height of the element. Docs

6rem (96px at the default rem size)

Source

fn min_h_neg_24(self) -> Self

Sets the minimum height of the element. Docs

6rem (96px at the default rem size)

Source

fn min_h_32(self) -> Self

Sets the minimum height of the element. Docs

8rem (128px at the default rem size)

Source

fn min_h_neg_32(self) -> Self

Sets the minimum height of the element. Docs

8rem (128px at the default rem size)

Source

fn min_h_40(self) -> Self

Sets the minimum height of the element. Docs

10rem (160px at the default rem size)

Source

fn min_h_neg_40(self) -> Self

Sets the minimum height of the element. Docs

10rem (160px at the default rem size)

Source

fn min_h_48(self) -> Self

Sets the minimum height of the element. Docs

12rem (192px at the default rem size)

Source

fn min_h_neg_48(self) -> Self

Sets the minimum height of the element. Docs

12rem (192px at the default rem size)

Source

fn min_h_56(self) -> Self

Sets the minimum height of the element. Docs

14rem (224px at the default rem size)

Source

fn min_h_neg_56(self) -> Self

Sets the minimum height of the element. Docs

14rem (224px at the default rem size)

Source

fn min_h_64(self) -> Self

Sets the minimum height of the element. Docs

16rem (256px at the default rem size)

Source

fn min_h_neg_64(self) -> Self

Sets the minimum height of the element. Docs

16rem (256px at the default rem size)

Source

fn min_h_72(self) -> Self

Sets the minimum height of the element. Docs

18rem (288px at the default rem size)

Source

fn min_h_neg_72(self) -> Self

Sets the minimum height of the element. Docs

18rem (288px at the default rem size)

Source

fn min_h_80(self) -> Self

Sets the minimum height of the element. Docs

20rem (320px at the default rem size)

Source

fn min_h_neg_80(self) -> Self

Sets the minimum height of the element. Docs

20rem (320px at the default rem size)

Source

fn min_h_96(self) -> Self

Sets the minimum height of the element. Docs

24rem (384px at the default rem size)

Source

fn min_h_neg_96(self) -> Self

Sets the minimum height of the element. Docs

24rem (384px at the default rem size)

Source

fn min_h_112(self) -> Self

Sets the minimum height of the element. Docs

28rem (448px at the default rem size)

Source

fn min_h_neg_112(self) -> Self

Sets the minimum height of the element. Docs

28rem (448px at the default rem size)

Source

fn min_h_128(self) -> Self

Sets the minimum height of the element. Docs

32rem (512px at the default rem size)

Source

fn min_h_neg_128(self) -> Self

Sets the minimum height of the element. Docs

32rem (512px at the default rem size)

Source

fn min_h_auto(self) -> Self

Sets the minimum height of the element. Docs

Auto

Source

fn min_h_px(self) -> Self

Sets the minimum height of the element. Docs

1px

Source

fn min_h_neg_px(self) -> Self

Sets the minimum height of the element. Docs

1px

Source

fn min_h_full(self) -> Self

Sets the minimum height of the element. Docs

100%

Source

fn min_h_neg_full(self) -> Self

Sets the minimum height of the element. Docs

100%

Source

fn min_h_1_2(self) -> Self

Sets the minimum height of the element. Docs

50% (1/2)

Source

fn min_h_neg_1_2(self) -> Self

Sets the minimum height of the element. Docs

50% (1/2)

Source

fn min_h_1_3(self) -> Self

Sets the minimum height of the element. Docs

33% (1/3)

Source

fn min_h_neg_1_3(self) -> Self

Sets the minimum height of the element. Docs

33% (1/3)

Source

fn min_h_2_3(self) -> Self

Sets the minimum height of the element. Docs

66% (2/3)

Source

fn min_h_neg_2_3(self) -> Self

Sets the minimum height of the element. Docs

66% (2/3)

Source

fn min_h_1_4(self) -> Self

Sets the minimum height of the element. Docs

25% (1/4)

Source

fn min_h_neg_1_4(self) -> Self

Sets the minimum height of the element. Docs

25% (1/4)

Source

fn min_h_2_4(self) -> Self

Sets the minimum height of the element. Docs

50% (2/4)

Source

fn min_h_neg_2_4(self) -> Self

Sets the minimum height of the element. Docs

50% (2/4)

Source

fn min_h_3_4(self) -> Self

Sets the minimum height of the element. Docs

75% (3/4)

Source

fn min_h_neg_3_4(self) -> Self

Sets the minimum height of the element. Docs

75% (3/4)

Source

fn min_h_1_5(self) -> Self

Sets the minimum height of the element. Docs

20% (1/5)

Source

fn min_h_neg_1_5(self) -> Self

Sets the minimum height of the element. Docs

20% (1/5)

Source

fn min_h_2_5(self) -> Self

Sets the minimum height of the element. Docs

40% (2/5)

Source

fn min_h_neg_2_5(self) -> Self

Sets the minimum height of the element. Docs

40% (2/5)

Source

fn min_h_3_5(self) -> Self

Sets the minimum height of the element. Docs

60% (3/5)

Source

fn min_h_neg_3_5(self) -> Self

Sets the minimum height of the element. Docs

60% (3/5)

Source

fn min_h_4_5(self) -> Self

Sets the minimum height of the element. Docs

80% (4/5)

Source

fn min_h_neg_4_5(self) -> Self

Sets the minimum height of the element. Docs

80% (4/5)

Source

fn min_h_1_6(self) -> Self

Sets the minimum height of the element. Docs

16% (1/6)

Source

fn min_h_neg_1_6(self) -> Self

Sets the minimum height of the element. Docs

16% (1/6)

Source

fn min_h_5_6(self) -> Self

Sets the minimum height of the element. Docs

83% (5/6)

Source

fn min_h_neg_5_6(self) -> Self

Sets the minimum height of the element. Docs

83% (5/6)

Source

fn min_h_1_12(self) -> Self

Sets the minimum height of the element. Docs

8% (1/12)

Source

fn min_h_neg_1_12(self) -> Self

Sets the minimum height of the element. Docs

8% (1/12)

Source

fn max_size(self, length: impl Clone + Into<Length>) -> Self

Sets the maximum width and height of the element.

Source

fn max_size_0(self) -> Self

Sets the maximum width and height of the element.

0px

Source

fn max_size_neg_0(self) -> Self

Sets the maximum width and height of the element.

0px

Source

fn max_size_0p5(self) -> Self

Sets the maximum width and height of the element.

0.125rem (2px at the default rem size)

Source

fn max_size_neg_0p5(self) -> Self

Sets the maximum width and height of the element.

0.125rem (2px at the default rem size)

Source

fn max_size_1(self) -> Self

Sets the maximum width and height of the element.

0.25rem (4px at the default rem size)

Source

fn max_size_neg_1(self) -> Self

Sets the maximum width and height of the element.

0.25rem (4px at the default rem size)

Source

fn max_size_1p5(self) -> Self

Sets the maximum width and height of the element.

0.375rem (6px at the default rem size)

Source

fn max_size_neg_1p5(self) -> Self

Sets the maximum width and height of the element.

0.375rem (6px at the default rem size)

Source

fn max_size_2(self) -> Self

Sets the maximum width and height of the element.

0.5rem (8px at the default rem size)

Source

fn max_size_neg_2(self) -> Self

Sets the maximum width and height of the element.

0.5rem (8px at the default rem size)

Source

fn max_size_2p5(self) -> Self

Sets the maximum width and height of the element.

0.625rem (10px at the default rem size)

Source

fn max_size_neg_2p5(self) -> Self

Sets the maximum width and height of the element.

0.625rem (10px at the default rem size)

Source

fn max_size_3(self) -> Self

Sets the maximum width and height of the element.

0.75rem (12px at the default rem size)

Source

fn max_size_neg_3(self) -> Self

Sets the maximum width and height of the element.

0.75rem (12px at the default rem size)

Source

fn max_size_3p5(self) -> Self

Sets the maximum width and height of the element.

0.875rem (14px at the default rem size)

Source

fn max_size_neg_3p5(self) -> Self

Sets the maximum width and height of the element.

0.875rem (14px at the default rem size)

Source

fn max_size_4(self) -> Self

Sets the maximum width and height of the element.

1rem (16px at the default rem size)

Source

fn max_size_neg_4(self) -> Self

Sets the maximum width and height of the element.

1rem (16px at the default rem size)

Source

fn max_size_5(self) -> Self

Sets the maximum width and height of the element.

1.25rem (20px at the default rem size)

Source

fn max_size_neg_5(self) -> Self

Sets the maximum width and height of the element.

1.25rem (20px at the default rem size)

Source

fn max_size_6(self) -> Self

Sets the maximum width and height of the element.

1.5rem (24px at the default rem size)

Source

fn max_size_neg_6(self) -> Self

Sets the maximum width and height of the element.

1.5rem (24px at the default rem size)

Source

fn max_size_7(self) -> Self

Sets the maximum width and height of the element.

1.75rem (28px at the default rem size)

Source

fn max_size_neg_7(self) -> Self

Sets the maximum width and height of the element.

1.75rem (28px at the default rem size)

Source

fn max_size_8(self) -> Self

Sets the maximum width and height of the element.

2rem (32px at the default rem size)

Source

fn max_size_neg_8(self) -> Self

Sets the maximum width and height of the element.

2rem (32px at the default rem size)

Source

fn max_size_9(self) -> Self

Sets the maximum width and height of the element.

2.25rem (36px at the default rem size)

Source

fn max_size_neg_9(self) -> Self

Sets the maximum width and height of the element.

2.25rem (36px at the default rem size)

Source

fn max_size_10(self) -> Self

Sets the maximum width and height of the element.

2.5rem (40px at the default rem size)

Source

fn max_size_neg_10(self) -> Self

Sets the maximum width and height of the element.

2.5rem (40px at the default rem size)

Source

fn max_size_11(self) -> Self

Sets the maximum width and height of the element.

2.75rem (44px at the default rem size)

Source

fn max_size_neg_11(self) -> Self

Sets the maximum width and height of the element.

2.75rem (44px at the default rem size)

Source

fn max_size_12(self) -> Self

Sets the maximum width and height of the element.

3rem (48px at the default rem size)

Source

fn max_size_neg_12(self) -> Self

Sets the maximum width and height of the element.

3rem (48px at the default rem size)

Source

fn max_size_16(self) -> Self

Sets the maximum width and height of the element.

4rem (64px at the default rem size)

Source

fn max_size_neg_16(self) -> Self

Sets the maximum width and height of the element.

4rem (64px at the default rem size)

Source

fn max_size_20(self) -> Self

Sets the maximum width and height of the element.

5rem (80px at the default rem size)

Source

fn max_size_neg_20(self) -> Self

Sets the maximum width and height of the element.

5rem (80px at the default rem size)

Source

fn max_size_24(self) -> Self

Sets the maximum width and height of the element.

6rem (96px at the default rem size)

Source

fn max_size_neg_24(self) -> Self

Sets the maximum width and height of the element.

6rem (96px at the default rem size)

Source

fn max_size_32(self) -> Self

Sets the maximum width and height of the element.

8rem (128px at the default rem size)

Source

fn max_size_neg_32(self) -> Self

Sets the maximum width and height of the element.

8rem (128px at the default rem size)

Source

fn max_size_40(self) -> Self

Sets the maximum width and height of the element.

10rem (160px at the default rem size)

Source

fn max_size_neg_40(self) -> Self

Sets the maximum width and height of the element.

10rem (160px at the default rem size)

Source

fn max_size_48(self) -> Self

Sets the maximum width and height of the element.

12rem (192px at the default rem size)

Source

fn max_size_neg_48(self) -> Self

Sets the maximum width and height of the element.

12rem (192px at the default rem size)

Source

fn max_size_56(self) -> Self

Sets the maximum width and height of the element.

14rem (224px at the default rem size)

Source

fn max_size_neg_56(self) -> Self

Sets the maximum width and height of the element.

14rem (224px at the default rem size)

Source

fn max_size_64(self) -> Self

Sets the maximum width and height of the element.

16rem (256px at the default rem size)

Source

fn max_size_neg_64(self) -> Self

Sets the maximum width and height of the element.

16rem (256px at the default rem size)

Source

fn max_size_72(self) -> Self

Sets the maximum width and height of the element.

18rem (288px at the default rem size)

Source

fn max_size_neg_72(self) -> Self

Sets the maximum width and height of the element.

18rem (288px at the default rem size)

Source

fn max_size_80(self) -> Self

Sets the maximum width and height of the element.

20rem (320px at the default rem size)

Source

fn max_size_neg_80(self) -> Self

Sets the maximum width and height of the element.

20rem (320px at the default rem size)

Source

fn max_size_96(self) -> Self

Sets the maximum width and height of the element.

24rem (384px at the default rem size)

Source

fn max_size_neg_96(self) -> Self

Sets the maximum width and height of the element.

24rem (384px at the default rem size)

Source

fn max_size_112(self) -> Self

Sets the maximum width and height of the element.

28rem (448px at the default rem size)

Source

fn max_size_neg_112(self) -> Self

Sets the maximum width and height of the element.

28rem (448px at the default rem size)

Source

fn max_size_128(self) -> Self

Sets the maximum width and height of the element.

32rem (512px at the default rem size)

Source

fn max_size_neg_128(self) -> Self

Sets the maximum width and height of the element.

32rem (512px at the default rem size)

Source

fn max_size_auto(self) -> Self

Sets the maximum width and height of the element.

Auto

Source

fn max_size_px(self) -> Self

Sets the maximum width and height of the element.

1px

Source

fn max_size_neg_px(self) -> Self

Sets the maximum width and height of the element.

1px

Source

fn max_size_full(self) -> Self

Sets the maximum width and height of the element.

100%

Source

fn max_size_neg_full(self) -> Self

Sets the maximum width and height of the element.

100%

Source

fn max_size_1_2(self) -> Self

Sets the maximum width and height of the element.

50% (1/2)

Source

fn max_size_neg_1_2(self) -> Self

Sets the maximum width and height of the element.

50% (1/2)

Source

fn max_size_1_3(self) -> Self

Sets the maximum width and height of the element.

33% (1/3)

Source

fn max_size_neg_1_3(self) -> Self

Sets the maximum width and height of the element.

33% (1/3)

Source

fn max_size_2_3(self) -> Self

Sets the maximum width and height of the element.

66% (2/3)

Source

fn max_size_neg_2_3(self) -> Self

Sets the maximum width and height of the element.

66% (2/3)

Source

fn max_size_1_4(self) -> Self

Sets the maximum width and height of the element.

25% (1/4)

Source

fn max_size_neg_1_4(self) -> Self

Sets the maximum width and height of the element.

25% (1/4)

Source

fn max_size_2_4(self) -> Self

Sets the maximum width and height of the element.

50% (2/4)

Source

fn max_size_neg_2_4(self) -> Self

Sets the maximum width and height of the element.

50% (2/4)

Source

fn max_size_3_4(self) -> Self

Sets the maximum width and height of the element.

75% (3/4)

Source

fn max_size_neg_3_4(self) -> Self

Sets the maximum width and height of the element.

75% (3/4)

Source

fn max_size_1_5(self) -> Self

Sets the maximum width and height of the element.

20% (1/5)

Source

fn max_size_neg_1_5(self) -> Self

Sets the maximum width and height of the element.

20% (1/5)

Source

fn max_size_2_5(self) -> Self

Sets the maximum width and height of the element.

40% (2/5)

Source

fn max_size_neg_2_5(self) -> Self

Sets the maximum width and height of the element.

40% (2/5)

Source

fn max_size_3_5(self) -> Self

Sets the maximum width and height of the element.

60% (3/5)

Source

fn max_size_neg_3_5(self) -> Self

Sets the maximum width and height of the element.

60% (3/5)

Source

fn max_size_4_5(self) -> Self

Sets the maximum width and height of the element.

80% (4/5)

Source

fn max_size_neg_4_5(self) -> Self

Sets the maximum width and height of the element.

80% (4/5)

Source

fn max_size_1_6(self) -> Self

Sets the maximum width and height of the element.

16% (1/6)

Source

fn max_size_neg_1_6(self) -> Self

Sets the maximum width and height of the element.

16% (1/6)

Source

fn max_size_5_6(self) -> Self

Sets the maximum width and height of the element.

83% (5/6)

Source

fn max_size_neg_5_6(self) -> Self

Sets the maximum width and height of the element.

83% (5/6)

Source

fn max_size_1_12(self) -> Self

Sets the maximum width and height of the element.

8% (1/12)

Source

fn max_size_neg_1_12(self) -> Self

Sets the maximum width and height of the element.

8% (1/12)

Source

fn max_w(self, length: impl Clone + Into<Length>) -> Self

Sets the maximum width of the element. Docs

Source

fn max_w_0(self) -> Self

Sets the maximum width of the element. Docs

0px

Source

fn max_w_neg_0(self) -> Self

Sets the maximum width of the element. Docs

0px

Source

fn max_w_0p5(self) -> Self

Sets the maximum width of the element. Docs

0.125rem (2px at the default rem size)

Source

fn max_w_neg_0p5(self) -> Self

Sets the maximum width of the element. Docs

0.125rem (2px at the default rem size)

Source

fn max_w_1(self) -> Self

Sets the maximum width of the element. Docs

0.25rem (4px at the default rem size)

Source

fn max_w_neg_1(self) -> Self

Sets the maximum width of the element. Docs

0.25rem (4px at the default rem size)

Source

fn max_w_1p5(self) -> Self

Sets the maximum width of the element. Docs

0.375rem (6px at the default rem size)

Source

fn max_w_neg_1p5(self) -> Self

Sets the maximum width of the element. Docs

0.375rem (6px at the default rem size)

Source

fn max_w_2(self) -> Self

Sets the maximum width of the element. Docs

0.5rem (8px at the default rem size)

Source

fn max_w_neg_2(self) -> Self

Sets the maximum width of the element. Docs

0.5rem (8px at the default rem size)

Source

fn max_w_2p5(self) -> Self

Sets the maximum width of the element. Docs

0.625rem (10px at the default rem size)

Source

fn max_w_neg_2p5(self) -> Self

Sets the maximum width of the element. Docs

0.625rem (10px at the default rem size)

Source

fn max_w_3(self) -> Self

Sets the maximum width of the element. Docs

0.75rem (12px at the default rem size)

Source

fn max_w_neg_3(self) -> Self

Sets the maximum width of the element. Docs

0.75rem (12px at the default rem size)

Source

fn max_w_3p5(self) -> Self

Sets the maximum width of the element. Docs

0.875rem (14px at the default rem size)

Source

fn max_w_neg_3p5(self) -> Self

Sets the maximum width of the element. Docs

0.875rem (14px at the default rem size)

Source

fn max_w_4(self) -> Self

Sets the maximum width of the element. Docs

1rem (16px at the default rem size)

Source

fn max_w_neg_4(self) -> Self

Sets the maximum width of the element. Docs

1rem (16px at the default rem size)

Source

fn max_w_5(self) -> Self

Sets the maximum width of the element. Docs

1.25rem (20px at the default rem size)

Source

fn max_w_neg_5(self) -> Self

Sets the maximum width of the element. Docs

1.25rem (20px at the default rem size)

Source

fn max_w_6(self) -> Self

Sets the maximum width of the element. Docs

1.5rem (24px at the default rem size)

Source

fn max_w_neg_6(self) -> Self

Sets the maximum width of the element. Docs

1.5rem (24px at the default rem size)

Source

fn max_w_7(self) -> Self

Sets the maximum width of the element. Docs

1.75rem (28px at the default rem size)

Source

fn max_w_neg_7(self) -> Self

Sets the maximum width of the element. Docs

1.75rem (28px at the default rem size)

Source

fn max_w_8(self) -> Self

Sets the maximum width of the element. Docs

2rem (32px at the default rem size)

Source

fn max_w_neg_8(self) -> Self

Sets the maximum width of the element. Docs

2rem (32px at the default rem size)

Source

fn max_w_9(self) -> Self

Sets the maximum width of the element. Docs

2.25rem (36px at the default rem size)

Source

fn max_w_neg_9(self) -> Self

Sets the maximum width of the element. Docs

2.25rem (36px at the default rem size)

Source

fn max_w_10(self) -> Self

Sets the maximum width of the element. Docs

2.5rem (40px at the default rem size)

Source

fn max_w_neg_10(self) -> Self

Sets the maximum width of the element. Docs

2.5rem (40px at the default rem size)

Source

fn max_w_11(self) -> Self

Sets the maximum width of the element. Docs

2.75rem (44px at the default rem size)

Source

fn max_w_neg_11(self) -> Self

Sets the maximum width of the element. Docs

2.75rem (44px at the default rem size)

Source

fn max_w_12(self) -> Self

Sets the maximum width of the element. Docs

3rem (48px at the default rem size)

Source

fn max_w_neg_12(self) -> Self

Sets the maximum width of the element. Docs

3rem (48px at the default rem size)

Source

fn max_w_16(self) -> Self

Sets the maximum width of the element. Docs

4rem (64px at the default rem size)

Source

fn max_w_neg_16(self) -> Self

Sets the maximum width of the element. Docs

4rem (64px at the default rem size)

Source

fn max_w_20(self) -> Self

Sets the maximum width of the element. Docs

5rem (80px at the default rem size)

Source

fn max_w_neg_20(self) -> Self

Sets the maximum width of the element. Docs

5rem (80px at the default rem size)

Source

fn max_w_24(self) -> Self

Sets the maximum width of the element. Docs

6rem (96px at the default rem size)

Source

fn max_w_neg_24(self) -> Self

Sets the maximum width of the element. Docs

6rem (96px at the default rem size)

Source

fn max_w_32(self) -> Self

Sets the maximum width of the element. Docs

8rem (128px at the default rem size)

Source

fn max_w_neg_32(self) -> Self

Sets the maximum width of the element. Docs

8rem (128px at the default rem size)

Source

fn max_w_40(self) -> Self

Sets the maximum width of the element. Docs

10rem (160px at the default rem size)

Source

fn max_w_neg_40(self) -> Self

Sets the maximum width of the element. Docs

10rem (160px at the default rem size)

Source

fn max_w_48(self) -> Self

Sets the maximum width of the element. Docs

12rem (192px at the default rem size)

Source

fn max_w_neg_48(self) -> Self

Sets the maximum width of the element. Docs

12rem (192px at the default rem size)

Source

fn max_w_56(self) -> Self

Sets the maximum width of the element. Docs

14rem (224px at the default rem size)

Source

fn max_w_neg_56(self) -> Self

Sets the maximum width of the element. Docs

14rem (224px at the default rem size)

Source

fn max_w_64(self) -> Self

Sets the maximum width of the element. Docs

16rem (256px at the default rem size)

Source

fn max_w_neg_64(self) -> Self

Sets the maximum width of the element. Docs

16rem (256px at the default rem size)

Source

fn max_w_72(self) -> Self

Sets the maximum width of the element. Docs

18rem (288px at the default rem size)

Source

fn max_w_neg_72(self) -> Self

Sets the maximum width of the element. Docs

18rem (288px at the default rem size)

Source

fn max_w_80(self) -> Self

Sets the maximum width of the element. Docs

20rem (320px at the default rem size)

Source

fn max_w_neg_80(self) -> Self

Sets the maximum width of the element. Docs

20rem (320px at the default rem size)

Source

fn max_w_96(self) -> Self

Sets the maximum width of the element. Docs

24rem (384px at the default rem size)

Source

fn max_w_neg_96(self) -> Self

Sets the maximum width of the element. Docs

24rem (384px at the default rem size)

Source

fn max_w_112(self) -> Self

Sets the maximum width of the element. Docs

28rem (448px at the default rem size)

Source

fn max_w_neg_112(self) -> Self

Sets the maximum width of the element. Docs

28rem (448px at the default rem size)

Source

fn max_w_128(self) -> Self

Sets the maximum width of the element. Docs

32rem (512px at the default rem size)

Source

fn max_w_neg_128(self) -> Self

Sets the maximum width of the element. Docs

32rem (512px at the default rem size)

Source

fn max_w_auto(self) -> Self

Sets the maximum width of the element. Docs

Auto

Source

fn max_w_px(self) -> Self

Sets the maximum width of the element. Docs

1px

Source

fn max_w_neg_px(self) -> Self

Sets the maximum width of the element. Docs

1px

Source

fn max_w_full(self) -> Self

Sets the maximum width of the element. Docs

100%

Source

fn max_w_neg_full(self) -> Self

Sets the maximum width of the element. Docs

100%

Source

fn max_w_1_2(self) -> Self

Sets the maximum width of the element. Docs

50% (1/2)

Source

fn max_w_neg_1_2(self) -> Self

Sets the maximum width of the element. Docs

50% (1/2)

Source

fn max_w_1_3(self) -> Self

Sets the maximum width of the element. Docs

33% (1/3)

Source

fn max_w_neg_1_3(self) -> Self

Sets the maximum width of the element. Docs

33% (1/3)

Source

fn max_w_2_3(self) -> Self

Sets the maximum width of the element. Docs

66% (2/3)

Source

fn max_w_neg_2_3(self) -> Self

Sets the maximum width of the element. Docs

66% (2/3)

Source

fn max_w_1_4(self) -> Self

Sets the maximum width of the element. Docs

25% (1/4)

Source

fn max_w_neg_1_4(self) -> Self

Sets the maximum width of the element. Docs

25% (1/4)

Source

fn max_w_2_4(self) -> Self

Sets the maximum width of the element. Docs

50% (2/4)

Source

fn max_w_neg_2_4(self) -> Self

Sets the maximum width of the element. Docs

50% (2/4)

Source

fn max_w_3_4(self) -> Self

Sets the maximum width of the element. Docs

75% (3/4)

Source

fn max_w_neg_3_4(self) -> Self

Sets the maximum width of the element. Docs

75% (3/4)

Source

fn max_w_1_5(self) -> Self

Sets the maximum width of the element. Docs

20% (1/5)

Source

fn max_w_neg_1_5(self) -> Self

Sets the maximum width of the element. Docs

20% (1/5)

Source

fn max_w_2_5(self) -> Self

Sets the maximum width of the element. Docs

40% (2/5)

Source

fn max_w_neg_2_5(self) -> Self

Sets the maximum width of the element. Docs

40% (2/5)

Source

fn max_w_3_5(self) -> Self

Sets the maximum width of the element. Docs

60% (3/5)

Source

fn max_w_neg_3_5(self) -> Self

Sets the maximum width of the element. Docs

60% (3/5)

Source

fn max_w_4_5(self) -> Self

Sets the maximum width of the element. Docs

80% (4/5)

Source

fn max_w_neg_4_5(self) -> Self

Sets the maximum width of the element. Docs

80% (4/5)

Source

fn max_w_1_6(self) -> Self

Sets the maximum width of the element. Docs

16% (1/6)

Source

fn max_w_neg_1_6(self) -> Self

Sets the maximum width of the element. Docs

16% (1/6)

Source

fn max_w_5_6(self) -> Self

Sets the maximum width of the element. Docs

83% (5/6)

Source

fn max_w_neg_5_6(self) -> Self

Sets the maximum width of the element. Docs

83% (5/6)

Source

fn max_w_1_12(self) -> Self

Sets the maximum width of the element. Docs

8% (1/12)

Source

fn max_w_neg_1_12(self) -> Self

Sets the maximum width of the element. Docs

8% (1/12)

Source

fn max_h(self, length: impl Clone + Into<Length>) -> Self

Sets the maximum height of the element. Docs

Source

fn max_h_0(self) -> Self

Sets the maximum height of the element. Docs

0px

Source

fn max_h_neg_0(self) -> Self

Sets the maximum height of the element. Docs

0px

Source

fn max_h_0p5(self) -> Self

Sets the maximum height of the element. Docs

0.125rem (2px at the default rem size)

Source

fn max_h_neg_0p5(self) -> Self

Sets the maximum height of the element. Docs

0.125rem (2px at the default rem size)

Source

fn max_h_1(self) -> Self

Sets the maximum height of the element. Docs

0.25rem (4px at the default rem size)

Source

fn max_h_neg_1(self) -> Self

Sets the maximum height of the element. Docs

0.25rem (4px at the default rem size)

Source

fn max_h_1p5(self) -> Self

Sets the maximum height of the element. Docs

0.375rem (6px at the default rem size)

Source

fn max_h_neg_1p5(self) -> Self

Sets the maximum height of the element. Docs

0.375rem (6px at the default rem size)

Source

fn max_h_2(self) -> Self

Sets the maximum height of the element. Docs

0.5rem (8px at the default rem size)

Source

fn max_h_neg_2(self) -> Self

Sets the maximum height of the element. Docs

0.5rem (8px at the default rem size)

Source

fn max_h_2p5(self) -> Self

Sets the maximum height of the element. Docs

0.625rem (10px at the default rem size)

Source

fn max_h_neg_2p5(self) -> Self

Sets the maximum height of the element. Docs

0.625rem (10px at the default rem size)

Source

fn max_h_3(self) -> Self

Sets the maximum height of the element. Docs

0.75rem (12px at the default rem size)

Source

fn max_h_neg_3(self) -> Self

Sets the maximum height of the element. Docs

0.75rem (12px at the default rem size)

Source

fn max_h_3p5(self) -> Self

Sets the maximum height of the element. Docs

0.875rem (14px at the default rem size)

Source

fn max_h_neg_3p5(self) -> Self

Sets the maximum height of the element. Docs

0.875rem (14px at the default rem size)

Source

fn max_h_4(self) -> Self

Sets the maximum height of the element. Docs

1rem (16px at the default rem size)

Source

fn max_h_neg_4(self) -> Self

Sets the maximum height of the element. Docs

1rem (16px at the default rem size)

Source

fn max_h_5(self) -> Self

Sets the maximum height of the element. Docs

1.25rem (20px at the default rem size)

Source

fn max_h_neg_5(self) -> Self

Sets the maximum height of the element. Docs

1.25rem (20px at the default rem size)

Source

fn max_h_6(self) -> Self

Sets the maximum height of the element. Docs

1.5rem (24px at the default rem size)

Source

fn max_h_neg_6(self) -> Self

Sets the maximum height of the element. Docs

1.5rem (24px at the default rem size)

Source

fn max_h_7(self) -> Self

Sets the maximum height of the element. Docs

1.75rem (28px at the default rem size)

Source

fn max_h_neg_7(self) -> Self

Sets the maximum height of the element. Docs

1.75rem (28px at the default rem size)

Source

fn max_h_8(self) -> Self

Sets the maximum height of the element. Docs

2rem (32px at the default rem size)

Source

fn max_h_neg_8(self) -> Self

Sets the maximum height of the element. Docs

2rem (32px at the default rem size)

Source

fn max_h_9(self) -> Self

Sets the maximum height of the element. Docs

2.25rem (36px at the default rem size)

Source

fn max_h_neg_9(self) -> Self

Sets the maximum height of the element. Docs

2.25rem (36px at the default rem size)

Source

fn max_h_10(self) -> Self

Sets the maximum height of the element. Docs

2.5rem (40px at the default rem size)

Source

fn max_h_neg_10(self) -> Self

Sets the maximum height of the element. Docs

2.5rem (40px at the default rem size)

Source

fn max_h_11(self) -> Self

Sets the maximum height of the element. Docs

2.75rem (44px at the default rem size)

Source

fn max_h_neg_11(self) -> Self

Sets the maximum height of the element. Docs

2.75rem (44px at the default rem size)

Source

fn max_h_12(self) -> Self

Sets the maximum height of the element. Docs

3rem (48px at the default rem size)

Source

fn max_h_neg_12(self) -> Self

Sets the maximum height of the element. Docs

3rem (48px at the default rem size)

Source

fn max_h_16(self) -> Self

Sets the maximum height of the element. Docs

4rem (64px at the default rem size)

Source

fn max_h_neg_16(self) -> Self

Sets the maximum height of the element. Docs

4rem (64px at the default rem size)

Source

fn max_h_20(self) -> Self

Sets the maximum height of the element. Docs

5rem (80px at the default rem size)

Source

fn max_h_neg_20(self) -> Self

Sets the maximum height of the element. Docs

5rem (80px at the default rem size)

Source

fn max_h_24(self) -> Self

Sets the maximum height of the element. Docs

6rem (96px at the default rem size)

Source

fn max_h_neg_24(self) -> Self

Sets the maximum height of the element. Docs

6rem (96px at the default rem size)

Source

fn max_h_32(self) -> Self

Sets the maximum height of the element. Docs

8rem (128px at the default rem size)

Source

fn max_h_neg_32(self) -> Self

Sets the maximum height of the element. Docs

8rem (128px at the default rem size)

Source

fn max_h_40(self) -> Self

Sets the maximum height of the element. Docs

10rem (160px at the default rem size)

Source

fn max_h_neg_40(self) -> Self

Sets the maximum height of the element. Docs

10rem (160px at the default rem size)

Source

fn max_h_48(self) -> Self

Sets the maximum height of the element. Docs

12rem (192px at the default rem size)

Source

fn max_h_neg_48(self) -> Self

Sets the maximum height of the element. Docs

12rem (192px at the default rem size)

Source

fn max_h_56(self) -> Self

Sets the maximum height of the element. Docs

14rem (224px at the default rem size)

Source

fn max_h_neg_56(self) -> Self

Sets the maximum height of the element. Docs

14rem (224px at the default rem size)

Source

fn max_h_64(self) -> Self

Sets the maximum height of the element. Docs

16rem (256px at the default rem size)

Source

fn max_h_neg_64(self) -> Self

Sets the maximum height of the element. Docs

16rem (256px at the default rem size)

Source

fn max_h_72(self) -> Self

Sets the maximum height of the element. Docs

18rem (288px at the default rem size)

Source

fn max_h_neg_72(self) -> Self

Sets the maximum height of the element. Docs

18rem (288px at the default rem size)

Source

fn max_h_80(self) -> Self

Sets the maximum height of the element. Docs

20rem (320px at the default rem size)

Source

fn max_h_neg_80(self) -> Self

Sets the maximum height of the element. Docs

20rem (320px at the default rem size)

Source

fn max_h_96(self) -> Self

Sets the maximum height of the element. Docs

24rem (384px at the default rem size)

Source

fn max_h_neg_96(self) -> Self

Sets the maximum height of the element. Docs

24rem (384px at the default rem size)

Source

fn max_h_112(self) -> Self

Sets the maximum height of the element. Docs

28rem (448px at the default rem size)

Source

fn max_h_neg_112(self) -> Self

Sets the maximum height of the element. Docs

28rem (448px at the default rem size)

Source

fn max_h_128(self) -> Self

Sets the maximum height of the element. Docs

32rem (512px at the default rem size)

Source

fn max_h_neg_128(self) -> Self

Sets the maximum height of the element. Docs

32rem (512px at the default rem size)

Source

fn max_h_auto(self) -> Self

Sets the maximum height of the element. Docs

Auto

Source

fn max_h_px(self) -> Self

Sets the maximum height of the element. Docs

1px

Source

fn max_h_neg_px(self) -> Self

Sets the maximum height of the element. Docs

1px

Source

fn max_h_full(self) -> Self

Sets the maximum height of the element. Docs

100%

Source

fn max_h_neg_full(self) -> Self

Sets the maximum height of the element. Docs

100%

Source

fn max_h_1_2(self) -> Self

Sets the maximum height of the element. Docs

50% (1/2)

Source

fn max_h_neg_1_2(self) -> Self

Sets the maximum height of the element. Docs

50% (1/2)

Source

fn max_h_1_3(self) -> Self

Sets the maximum height of the element. Docs

33% (1/3)

Source

fn max_h_neg_1_3(self) -> Self

Sets the maximum height of the element. Docs

33% (1/3)

Source

fn max_h_2_3(self) -> Self

Sets the maximum height of the element. Docs

66% (2/3)

Source

fn max_h_neg_2_3(self) -> Self

Sets the maximum height of the element. Docs

66% (2/3)

Source

fn max_h_1_4(self) -> Self

Sets the maximum height of the element. Docs

25% (1/4)

Source

fn max_h_neg_1_4(self) -> Self

Sets the maximum height of the element. Docs

25% (1/4)

Source

fn max_h_2_4(self) -> Self

Sets the maximum height of the element. Docs

50% (2/4)

Source

fn max_h_neg_2_4(self) -> Self

Sets the maximum height of the element. Docs

50% (2/4)

Source

fn max_h_3_4(self) -> Self

Sets the maximum height of the element. Docs

75% (3/4)

Source

fn max_h_neg_3_4(self) -> Self

Sets the maximum height of the element. Docs

75% (3/4)

Source

fn max_h_1_5(self) -> Self

Sets the maximum height of the element. Docs

20% (1/5)

Source

fn max_h_neg_1_5(self) -> Self

Sets the maximum height of the element. Docs

20% (1/5)

Source

fn max_h_2_5(self) -> Self

Sets the maximum height of the element. Docs

40% (2/5)

Source

fn max_h_neg_2_5(self) -> Self

Sets the maximum height of the element. Docs

40% (2/5)

Source

fn max_h_3_5(self) -> Self

Sets the maximum height of the element. Docs

60% (3/5)

Source

fn max_h_neg_3_5(self) -> Self

Sets the maximum height of the element. Docs

60% (3/5)

Source

fn max_h_4_5(self) -> Self

Sets the maximum height of the element. Docs

80% (4/5)

Source

fn max_h_neg_4_5(self) -> Self

Sets the maximum height of the element. Docs

80% (4/5)

Source

fn max_h_1_6(self) -> Self

Sets the maximum height of the element. Docs

16% (1/6)

Source

fn max_h_neg_1_6(self) -> Self

Sets the maximum height of the element. Docs

16% (1/6)

Source

fn max_h_5_6(self) -> Self

Sets the maximum height of the element. Docs

83% (5/6)

Source

fn max_h_neg_5_6(self) -> Self

Sets the maximum height of the element. Docs

83% (5/6)

Source

fn max_h_1_12(self) -> Self

Sets the maximum height of the element. Docs

8% (1/12)

Source

fn max_h_neg_1_12(self) -> Self

Sets the maximum height of the element. Docs

8% (1/12)

Source

fn gap(self, length: impl Clone + Into<DefiniteLength>) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

Source

fn gap_0(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

0px

Source

fn gap_neg_0(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

0px

Source

fn gap_0p5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

0.125rem (2px at the default rem size)

Source

fn gap_neg_0p5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

0.125rem (2px at the default rem size)

Source

fn gap_1(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

0.25rem (4px at the default rem size)

Source

fn gap_neg_1(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

0.25rem (4px at the default rem size)

Source

fn gap_1p5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

0.375rem (6px at the default rem size)

Source

fn gap_neg_1p5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

0.375rem (6px at the default rem size)

Source

fn gap_2(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

0.5rem (8px at the default rem size)

Source

fn gap_neg_2(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

0.5rem (8px at the default rem size)

Source

fn gap_2p5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

0.625rem (10px at the default rem size)

Source

fn gap_neg_2p5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

0.625rem (10px at the default rem size)

Source

fn gap_3(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

0.75rem (12px at the default rem size)

Source

fn gap_neg_3(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

0.75rem (12px at the default rem size)

Source

fn gap_3p5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

0.875rem (14px at the default rem size)

Source

fn gap_neg_3p5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

0.875rem (14px at the default rem size)

Source

fn gap_4(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

1rem (16px at the default rem size)

Source

fn gap_neg_4(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

1rem (16px at the default rem size)

Source

fn gap_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

1.25rem (20px at the default rem size)

Source

fn gap_neg_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

1.25rem (20px at the default rem size)

Source

fn gap_6(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

1.5rem (24px at the default rem size)

Source

fn gap_neg_6(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

1.5rem (24px at the default rem size)

Source

fn gap_7(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

1.75rem (28px at the default rem size)

Source

fn gap_neg_7(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

1.75rem (28px at the default rem size)

Source

fn gap_8(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

2rem (32px at the default rem size)

Source

fn gap_neg_8(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

2rem (32px at the default rem size)

Source

fn gap_9(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

2.25rem (36px at the default rem size)

Source

fn gap_neg_9(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

2.25rem (36px at the default rem size)

Source

fn gap_10(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

2.5rem (40px at the default rem size)

Source

fn gap_neg_10(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

2.5rem (40px at the default rem size)

Source

fn gap_11(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

2.75rem (44px at the default rem size)

Source

fn gap_neg_11(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

2.75rem (44px at the default rem size)

Source

fn gap_12(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

3rem (48px at the default rem size)

Source

fn gap_neg_12(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

3rem (48px at the default rem size)

Source

fn gap_16(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

4rem (64px at the default rem size)

Source

fn gap_neg_16(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

4rem (64px at the default rem size)

Source

fn gap_20(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

5rem (80px at the default rem size)

Source

fn gap_neg_20(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

5rem (80px at the default rem size)

Source

fn gap_24(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

6rem (96px at the default rem size)

Source

fn gap_neg_24(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

6rem (96px at the default rem size)

Source

fn gap_32(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

8rem (128px at the default rem size)

Source

fn gap_neg_32(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

8rem (128px at the default rem size)

Source

fn gap_40(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

10rem (160px at the default rem size)

Source

fn gap_neg_40(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

10rem (160px at the default rem size)

Source

fn gap_48(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

12rem (192px at the default rem size)

Source

fn gap_neg_48(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

12rem (192px at the default rem size)

Source

fn gap_56(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

14rem (224px at the default rem size)

Source

fn gap_neg_56(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

14rem (224px at the default rem size)

Source

fn gap_64(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

16rem (256px at the default rem size)

Source

fn gap_neg_64(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

16rem (256px at the default rem size)

Source

fn gap_72(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

18rem (288px at the default rem size)

Source

fn gap_neg_72(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

18rem (288px at the default rem size)

Source

fn gap_80(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

20rem (320px at the default rem size)

Source

fn gap_neg_80(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

20rem (320px at the default rem size)

Source

fn gap_96(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

24rem (384px at the default rem size)

Source

fn gap_neg_96(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

24rem (384px at the default rem size)

Source

fn gap_112(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

28rem (448px at the default rem size)

Source

fn gap_neg_112(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

28rem (448px at the default rem size)

Source

fn gap_128(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

32rem (512px at the default rem size)

Source

fn gap_neg_128(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

32rem (512px at the default rem size)

Source

fn gap_px(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

1px

Source

fn gap_neg_px(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

1px

Source

fn gap_full(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

100%

Source

fn gap_neg_full(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

100%

Source

fn gap_1_2(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

50% (1/2)

Source

fn gap_neg_1_2(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

50% (1/2)

Source

fn gap_1_3(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

33% (1/3)

Source

fn gap_neg_1_3(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

33% (1/3)

Source

fn gap_2_3(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

66% (2/3)

Source

fn gap_neg_2_3(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

66% (2/3)

Source

fn gap_1_4(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

25% (1/4)

Source

fn gap_neg_1_4(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

25% (1/4)

Source

fn gap_2_4(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

50% (2/4)

Source

fn gap_neg_2_4(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

50% (2/4)

Source

fn gap_3_4(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

75% (3/4)

Source

fn gap_neg_3_4(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

75% (3/4)

Source

fn gap_1_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

20% (1/5)

Source

fn gap_neg_1_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

20% (1/5)

Source

fn gap_2_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

40% (2/5)

Source

fn gap_neg_2_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

40% (2/5)

Source

fn gap_3_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

60% (3/5)

Source

fn gap_neg_3_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

60% (3/5)

Source

fn gap_4_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

80% (4/5)

Source

fn gap_neg_4_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

80% (4/5)

Source

fn gap_1_6(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

16% (1/6)

Source

fn gap_neg_1_6(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

16% (1/6)

Source

fn gap_5_6(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

83% (5/6)

Source

fn gap_neg_5_6(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

83% (5/6)

Source

fn gap_1_12(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

8% (1/12)

Source

fn gap_neg_1_12(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs

8% (1/12)

Source

fn gap_x(self, length: impl Clone + Into<DefiniteLength>) -> Self

Sets the gap between columns of a flex or grid container. Docs

Source

fn gap_x_0(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

0px

Source

fn gap_x_neg_0(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

0px

Source

fn gap_x_0p5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

0.125rem (2px at the default rem size)

Source

fn gap_x_neg_0p5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

0.125rem (2px at the default rem size)

Source

fn gap_x_1(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

0.25rem (4px at the default rem size)

Source

fn gap_x_neg_1(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

0.25rem (4px at the default rem size)

Source

fn gap_x_1p5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

0.375rem (6px at the default rem size)

Source

fn gap_x_neg_1p5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

0.375rem (6px at the default rem size)

Source

fn gap_x_2(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

0.5rem (8px at the default rem size)

Source

fn gap_x_neg_2(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

0.5rem (8px at the default rem size)

Source

fn gap_x_2p5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

0.625rem (10px at the default rem size)

Source

fn gap_x_neg_2p5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

0.625rem (10px at the default rem size)

Source

fn gap_x_3(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

0.75rem (12px at the default rem size)

Source

fn gap_x_neg_3(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

0.75rem (12px at the default rem size)

Source

fn gap_x_3p5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

0.875rem (14px at the default rem size)

Source

fn gap_x_neg_3p5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

0.875rem (14px at the default rem size)

Source

fn gap_x_4(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

1rem (16px at the default rem size)

Source

fn gap_x_neg_4(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

1rem (16px at the default rem size)

Source

fn gap_x_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

1.25rem (20px at the default rem size)

Source

fn gap_x_neg_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

1.25rem (20px at the default rem size)

Source

fn gap_x_6(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

1.5rem (24px at the default rem size)

Source

fn gap_x_neg_6(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

1.5rem (24px at the default rem size)

Source

fn gap_x_7(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

1.75rem (28px at the default rem size)

Source

fn gap_x_neg_7(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

1.75rem (28px at the default rem size)

Source

fn gap_x_8(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

2rem (32px at the default rem size)

Source

fn gap_x_neg_8(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

2rem (32px at the default rem size)

Source

fn gap_x_9(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

2.25rem (36px at the default rem size)

Source

fn gap_x_neg_9(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

2.25rem (36px at the default rem size)

Source

fn gap_x_10(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

2.5rem (40px at the default rem size)

Source

fn gap_x_neg_10(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

2.5rem (40px at the default rem size)

Source

fn gap_x_11(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

2.75rem (44px at the default rem size)

Source

fn gap_x_neg_11(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

2.75rem (44px at the default rem size)

Source

fn gap_x_12(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

3rem (48px at the default rem size)

Source

fn gap_x_neg_12(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

3rem (48px at the default rem size)

Source

fn gap_x_16(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

4rem (64px at the default rem size)

Source

fn gap_x_neg_16(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

4rem (64px at the default rem size)

Source

fn gap_x_20(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

5rem (80px at the default rem size)

Source

fn gap_x_neg_20(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

5rem (80px at the default rem size)

Source

fn gap_x_24(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

6rem (96px at the default rem size)

Source

fn gap_x_neg_24(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

6rem (96px at the default rem size)

Source

fn gap_x_32(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

8rem (128px at the default rem size)

Source

fn gap_x_neg_32(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

8rem (128px at the default rem size)

Source

fn gap_x_40(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

10rem (160px at the default rem size)

Source

fn gap_x_neg_40(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

10rem (160px at the default rem size)

Source

fn gap_x_48(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

12rem (192px at the default rem size)

Source

fn gap_x_neg_48(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

12rem (192px at the default rem size)

Source

fn gap_x_56(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

14rem (224px at the default rem size)

Source

fn gap_x_neg_56(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

14rem (224px at the default rem size)

Source

fn gap_x_64(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

16rem (256px at the default rem size)

Source

fn gap_x_neg_64(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

16rem (256px at the default rem size)

Source

fn gap_x_72(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

18rem (288px at the default rem size)

Source

fn gap_x_neg_72(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

18rem (288px at the default rem size)

Source

fn gap_x_80(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

20rem (320px at the default rem size)

Source

fn gap_x_neg_80(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

20rem (320px at the default rem size)

Source

fn gap_x_96(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

24rem (384px at the default rem size)

Source

fn gap_x_neg_96(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

24rem (384px at the default rem size)

Source

fn gap_x_112(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

28rem (448px at the default rem size)

Source

fn gap_x_neg_112(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

28rem (448px at the default rem size)

Source

fn gap_x_128(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

32rem (512px at the default rem size)

Source

fn gap_x_neg_128(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

32rem (512px at the default rem size)

Source

fn gap_x_px(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

1px

Source

fn gap_x_neg_px(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

1px

Source

fn gap_x_full(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

100%

Source

fn gap_x_neg_full(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

100%

Source

fn gap_x_1_2(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

50% (1/2)

Source

fn gap_x_neg_1_2(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

50% (1/2)

Source

fn gap_x_1_3(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

33% (1/3)

Source

fn gap_x_neg_1_3(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

33% (1/3)

Source

fn gap_x_2_3(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

66% (2/3)

Source

fn gap_x_neg_2_3(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

66% (2/3)

Source

fn gap_x_1_4(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

25% (1/4)

Source

fn gap_x_neg_1_4(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

25% (1/4)

Source

fn gap_x_2_4(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

50% (2/4)

Source

fn gap_x_neg_2_4(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

50% (2/4)

Source

fn gap_x_3_4(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

75% (3/4)

Source

fn gap_x_neg_3_4(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

75% (3/4)

Source

fn gap_x_1_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

20% (1/5)

Source

fn gap_x_neg_1_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

20% (1/5)

Source

fn gap_x_2_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

40% (2/5)

Source

fn gap_x_neg_2_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

40% (2/5)

Source

fn gap_x_3_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

60% (3/5)

Source

fn gap_x_neg_3_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

60% (3/5)

Source

fn gap_x_4_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

80% (4/5)

Source

fn gap_x_neg_4_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

80% (4/5)

Source

fn gap_x_1_6(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

16% (1/6)

Source

fn gap_x_neg_1_6(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

16% (1/6)

Source

fn gap_x_5_6(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

83% (5/6)

Source

fn gap_x_neg_5_6(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

83% (5/6)

Source

fn gap_x_1_12(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

8% (1/12)

Source

fn gap_x_neg_1_12(self) -> Self

Sets the gap between columns of a flex or grid container. Docs

8% (1/12)

Source

fn gap_y(self, length: impl Clone + Into<DefiniteLength>) -> Self

Sets the gap between rows of a flex or grid container. Docs

Source

fn gap_y_0(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

0px

Source

fn gap_y_neg_0(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

0px

Source

fn gap_y_0p5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

0.125rem (2px at the default rem size)

Source

fn gap_y_neg_0p5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

0.125rem (2px at the default rem size)

Source

fn gap_y_1(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

0.25rem (4px at the default rem size)

Source

fn gap_y_neg_1(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

0.25rem (4px at the default rem size)

Source

fn gap_y_1p5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

0.375rem (6px at the default rem size)

Source

fn gap_y_neg_1p5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

0.375rem (6px at the default rem size)

Source

fn gap_y_2(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

0.5rem (8px at the default rem size)

Source

fn gap_y_neg_2(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

0.5rem (8px at the default rem size)

Source

fn gap_y_2p5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

0.625rem (10px at the default rem size)

Source

fn gap_y_neg_2p5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

0.625rem (10px at the default rem size)

Source

fn gap_y_3(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

0.75rem (12px at the default rem size)

Source

fn gap_y_neg_3(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

0.75rem (12px at the default rem size)

Source

fn gap_y_3p5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

0.875rem (14px at the default rem size)

Source

fn gap_y_neg_3p5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

0.875rem (14px at the default rem size)

Source

fn gap_y_4(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

1rem (16px at the default rem size)

Source

fn gap_y_neg_4(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

1rem (16px at the default rem size)

Source

fn gap_y_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

1.25rem (20px at the default rem size)

Source

fn gap_y_neg_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

1.25rem (20px at the default rem size)

Source

fn gap_y_6(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

1.5rem (24px at the default rem size)

Source

fn gap_y_neg_6(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

1.5rem (24px at the default rem size)

Source

fn gap_y_7(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

1.75rem (28px at the default rem size)

Source

fn gap_y_neg_7(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

1.75rem (28px at the default rem size)

Source

fn gap_y_8(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

2rem (32px at the default rem size)

Source

fn gap_y_neg_8(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

2rem (32px at the default rem size)

Source

fn gap_y_9(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

2.25rem (36px at the default rem size)

Source

fn gap_y_neg_9(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

2.25rem (36px at the default rem size)

Source

fn gap_y_10(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

2.5rem (40px at the default rem size)

Source

fn gap_y_neg_10(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

2.5rem (40px at the default rem size)

Source

fn gap_y_11(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

2.75rem (44px at the default rem size)

Source

fn gap_y_neg_11(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

2.75rem (44px at the default rem size)

Source

fn gap_y_12(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

3rem (48px at the default rem size)

Source

fn gap_y_neg_12(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

3rem (48px at the default rem size)

Source

fn gap_y_16(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

4rem (64px at the default rem size)

Source

fn gap_y_neg_16(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

4rem (64px at the default rem size)

Source

fn gap_y_20(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

5rem (80px at the default rem size)

Source

fn gap_y_neg_20(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

5rem (80px at the default rem size)

Source

fn gap_y_24(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

6rem (96px at the default rem size)

Source

fn gap_y_neg_24(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

6rem (96px at the default rem size)

Source

fn gap_y_32(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

8rem (128px at the default rem size)

Source

fn gap_y_neg_32(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

8rem (128px at the default rem size)

Source

fn gap_y_40(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

10rem (160px at the default rem size)

Source

fn gap_y_neg_40(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

10rem (160px at the default rem size)

Source

fn gap_y_48(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

12rem (192px at the default rem size)

Source

fn gap_y_neg_48(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

12rem (192px at the default rem size)

Source

fn gap_y_56(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

14rem (224px at the default rem size)

Source

fn gap_y_neg_56(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

14rem (224px at the default rem size)

Source

fn gap_y_64(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

16rem (256px at the default rem size)

Source

fn gap_y_neg_64(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

16rem (256px at the default rem size)

Source

fn gap_y_72(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

18rem (288px at the default rem size)

Source

fn gap_y_neg_72(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

18rem (288px at the default rem size)

Source

fn gap_y_80(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

20rem (320px at the default rem size)

Source

fn gap_y_neg_80(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

20rem (320px at the default rem size)

Source

fn gap_y_96(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

24rem (384px at the default rem size)

Source

fn gap_y_neg_96(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

24rem (384px at the default rem size)

Source

fn gap_y_112(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

28rem (448px at the default rem size)

Source

fn gap_y_neg_112(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

28rem (448px at the default rem size)

Source

fn gap_y_128(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

32rem (512px at the default rem size)

Source

fn gap_y_neg_128(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

32rem (512px at the default rem size)

Source

fn gap_y_px(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

1px

Source

fn gap_y_neg_px(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

1px

Source

fn gap_y_full(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

100%

Source

fn gap_y_neg_full(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

100%

Source

fn gap_y_1_2(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

50% (1/2)

Source

fn gap_y_neg_1_2(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

50% (1/2)

Source

fn gap_y_1_3(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

33% (1/3)

Source

fn gap_y_neg_1_3(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

33% (1/3)

Source

fn gap_y_2_3(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

66% (2/3)

Source

fn gap_y_neg_2_3(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

66% (2/3)

Source

fn gap_y_1_4(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

25% (1/4)

Source

fn gap_y_neg_1_4(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

25% (1/4)

Source

fn gap_y_2_4(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

50% (2/4)

Source

fn gap_y_neg_2_4(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

50% (2/4)

Source

fn gap_y_3_4(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

75% (3/4)

Source

fn gap_y_neg_3_4(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

75% (3/4)

Source

fn gap_y_1_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

20% (1/5)

Source

fn gap_y_neg_1_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

20% (1/5)

Source

fn gap_y_2_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

40% (2/5)

Source

fn gap_y_neg_2_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

40% (2/5)

Source

fn gap_y_3_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

60% (3/5)

Source

fn gap_y_neg_3_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

60% (3/5)

Source

fn gap_y_4_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

80% (4/5)

Source

fn gap_y_neg_4_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

80% (4/5)

Source

fn gap_y_1_6(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

16% (1/6)

Source

fn gap_y_neg_1_6(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

16% (1/6)

Source

fn gap_y_5_6(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

83% (5/6)

Source

fn gap_y_neg_5_6(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

83% (5/6)

Source

fn gap_y_1_12(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

8% (1/12)

Source

fn gap_y_neg_1_12(self) -> Self

Sets the gap between rows of a flex or grid container. Docs

8% (1/12)

Source

fn rounded(self, length: impl Clone + Into<AbsoluteLength>) -> Self

Sets the border radius of the element. Docs

Source

fn rounded_none(self) -> Self

Sets the border radius of the element. Docs

0px

Source

fn rounded_xs(self) -> Self

Sets the border radius of the element. Docs

0.125rem (2px at the default rem size)

Source

fn rounded_sm(self) -> Self

Sets the border radius of the element. Docs

0.25rem (4px at the default rem size)

Source

fn rounded_md(self) -> Self

Sets the border radius of the element. Docs

0.375rem (6px at the default rem size)

Source

fn rounded_lg(self) -> Self

Sets the border radius of the element. Docs

0.5rem (8px at the default rem size)

Source

fn rounded_xl(self) -> Self

Sets the border radius of the element. Docs

0.75rem (12px at the default rem size)

Source

fn rounded_2xl(self) -> Self

Sets the border radius of the element. Docs

1rem (16px at the default rem size)

Source

fn rounded_3xl(self) -> Self

Sets the border radius of the element. Docs

1.5rem (24px at the default rem size)

Source

fn rounded_full(self) -> Self

Sets the border radius of the element. Docs

9999px (fully rounded)

Source

fn rounded_t(self, length: impl Clone + Into<AbsoluteLength>) -> Self

Sets the border radius of the top side of the element. Docs

Source

fn rounded_t_none(self) -> Self

Sets the border radius of the top side of the element. Docs

0px

Source

fn rounded_t_xs(self) -> Self

Sets the border radius of the top side of the element. Docs

0.125rem (2px at the default rem size)

Source

fn rounded_t_sm(self) -> Self

Sets the border radius of the top side of the element. Docs

0.25rem (4px at the default rem size)

Source

fn rounded_t_md(self) -> Self

Sets the border radius of the top side of the element. Docs

0.375rem (6px at the default rem size)

Source

fn rounded_t_lg(self) -> Self

Sets the border radius of the top side of the element. Docs

0.5rem (8px at the default rem size)

Source

fn rounded_t_xl(self) -> Self

Sets the border radius of the top side of the element. Docs

0.75rem (12px at the default rem size)

Source

fn rounded_t_2xl(self) -> Self

Sets the border radius of the top side of the element. Docs

1rem (16px at the default rem size)

Source

fn rounded_t_3xl(self) -> Self

Sets the border radius of the top side of the element. Docs

1.5rem (24px at the default rem size)

Source

fn rounded_t_full(self) -> Self

Sets the border radius of the top side of the element. Docs

9999px (fully rounded)

Source

fn rounded_b(self, length: impl Clone + Into<AbsoluteLength>) -> Self

Sets the border radius of the bottom side of the element. Docs

Source

fn rounded_b_none(self) -> Self

Sets the border radius of the bottom side of the element. Docs

0px

Source

fn rounded_b_xs(self) -> Self

Sets the border radius of the bottom side of the element. Docs

0.125rem (2px at the default rem size)

Source

fn rounded_b_sm(self) -> Self

Sets the border radius of the bottom side of the element. Docs

0.25rem (4px at the default rem size)

Source

fn rounded_b_md(self) -> Self

Sets the border radius of the bottom side of the element. Docs

0.375rem (6px at the default rem size)

Source

fn rounded_b_lg(self) -> Self

Sets the border radius of the bottom side of the element. Docs

0.5rem (8px at the default rem size)

Source

fn rounded_b_xl(self) -> Self

Sets the border radius of the bottom side of the element. Docs

0.75rem (12px at the default rem size)

Source

fn rounded_b_2xl(self) -> Self

Sets the border radius of the bottom side of the element. Docs

1rem (16px at the default rem size)

Source

fn rounded_b_3xl(self) -> Self

Sets the border radius of the bottom side of the element. Docs

1.5rem (24px at the default rem size)

Source

fn rounded_b_full(self) -> Self

Sets the border radius of the bottom side of the element. Docs

9999px (fully rounded)

Source

fn rounded_r(self, length: impl Clone + Into<AbsoluteLength>) -> Self

Sets the border radius of the right side of the element. Docs

Source

fn rounded_r_none(self) -> Self

Sets the border radius of the right side of the element. Docs

0px

Source

fn rounded_r_xs(self) -> Self

Sets the border radius of the right side of the element. Docs

0.125rem (2px at the default rem size)

Source

fn rounded_r_sm(self) -> Self

Sets the border radius of the right side of the element. Docs

0.25rem (4px at the default rem size)

Source

fn rounded_r_md(self) -> Self

Sets the border radius of the right side of the element. Docs

0.375rem (6px at the default rem size)

Source

fn rounded_r_lg(self) -> Self

Sets the border radius of the right side of the element. Docs

0.5rem (8px at the default rem size)

Source

fn rounded_r_xl(self) -> Self

Sets the border radius of the right side of the element. Docs

0.75rem (12px at the default rem size)

Source

fn rounded_r_2xl(self) -> Self

Sets the border radius of the right side of the element. Docs

1rem (16px at the default rem size)

Source

fn rounded_r_3xl(self) -> Self

Sets the border radius of the right side of the element. Docs

1.5rem (24px at the default rem size)

Source

fn rounded_r_full(self) -> Self

Sets the border radius of the right side of the element. Docs

9999px (fully rounded)

Source

fn rounded_l(self, length: impl Clone + Into<AbsoluteLength>) -> Self

Sets the border radius of the left side of the element. Docs

Source

fn rounded_l_none(self) -> Self

Sets the border radius of the left side of the element. Docs

0px

Source

fn rounded_l_xs(self) -> Self

Sets the border radius of the left side of the element. Docs

0.125rem (2px at the default rem size)

Source

fn rounded_l_sm(self) -> Self

Sets the border radius of the left side of the element. Docs

0.25rem (4px at the default rem size)

Source

fn rounded_l_md(self) -> Self

Sets the border radius of the left side of the element. Docs

0.375rem (6px at the default rem size)

Source

fn rounded_l_lg(self) -> Self

Sets the border radius of the left side of the element. Docs

0.5rem (8px at the default rem size)

Source

fn rounded_l_xl(self) -> Self

Sets the border radius of the left side of the element. Docs

0.75rem (12px at the default rem size)

Source

fn rounded_l_2xl(self) -> Self

Sets the border radius of the left side of the element. Docs

1rem (16px at the default rem size)

Source

fn rounded_l_3xl(self) -> Self

Sets the border radius of the left side of the element. Docs

1.5rem (24px at the default rem size)

Source

fn rounded_l_full(self) -> Self

Sets the border radius of the left side of the element. Docs

9999px (fully rounded)

Source

fn rounded_tl(self, length: impl Clone + Into<AbsoluteLength>) -> Self

Sets the border radius of the top left corner of the element. Docs

Source

fn rounded_tl_none(self) -> Self

Sets the border radius of the top left corner of the element. Docs

0px

Source

fn rounded_tl_xs(self) -> Self

Sets the border radius of the top left corner of the element. Docs

0.125rem (2px at the default rem size)

Source

fn rounded_tl_sm(self) -> Self

Sets the border radius of the top left corner of the element. Docs

0.25rem (4px at the default rem size)

Source

fn rounded_tl_md(self) -> Self

Sets the border radius of the top left corner of the element. Docs

0.375rem (6px at the default rem size)

Source

fn rounded_tl_lg(self) -> Self

Sets the border radius of the top left corner of the element. Docs

0.5rem (8px at the default rem size)

Source

fn rounded_tl_xl(self) -> Self

Sets the border radius of the top left corner of the element. Docs

0.75rem (12px at the default rem size)

Source

fn rounded_tl_2xl(self) -> Self

Sets the border radius of the top left corner of the element. Docs

1rem (16px at the default rem size)

Source

fn rounded_tl_3xl(self) -> Self

Sets the border radius of the top left corner of the element. Docs

1.5rem (24px at the default rem size)

Source

fn rounded_tl_full(self) -> Self

Sets the border radius of the top left corner of the element. Docs

9999px (fully rounded)

Source

fn rounded_tr(self, length: impl Clone + Into<AbsoluteLength>) -> Self

Sets the border radius of the top right corner of the element. Docs

Source

fn rounded_tr_none(self) -> Self

Sets the border radius of the top right corner of the element. Docs

0px

Source

fn rounded_tr_xs(self) -> Self

Sets the border radius of the top right corner of the element. Docs

0.125rem (2px at the default rem size)

Source

fn rounded_tr_sm(self) -> Self

Sets the border radius of the top right corner of the element. Docs

0.25rem (4px at the default rem size)

Source

fn rounded_tr_md(self) -> Self

Sets the border radius of the top right corner of the element. Docs

0.375rem (6px at the default rem size)

Source

fn rounded_tr_lg(self) -> Self

Sets the border radius of the top right corner of the element. Docs

0.5rem (8px at the default rem size)

Source

fn rounded_tr_xl(self) -> Self

Sets the border radius of the top right corner of the element. Docs

0.75rem (12px at the default rem size)

Source

fn rounded_tr_2xl(self) -> Self

Sets the border radius of the top right corner of the element. Docs

1rem (16px at the default rem size)

Source

fn rounded_tr_3xl(self) -> Self

Sets the border radius of the top right corner of the element. Docs

1.5rem (24px at the default rem size)

Source

fn rounded_tr_full(self) -> Self

Sets the border radius of the top right corner of the element. Docs

9999px (fully rounded)

Source

fn rounded_bl(self, length: impl Clone + Into<AbsoluteLength>) -> Self

Sets the border radius of the bottom left corner of the element. Docs

Source

fn rounded_bl_none(self) -> Self

Sets the border radius of the bottom left corner of the element. Docs

0px

Source

fn rounded_bl_xs(self) -> Self

Sets the border radius of the bottom left corner of the element. Docs

0.125rem (2px at the default rem size)

Source

fn rounded_bl_sm(self) -> Self

Sets the border radius of the bottom left corner of the element. Docs

0.25rem (4px at the default rem size)

Source

fn rounded_bl_md(self) -> Self

Sets the border radius of the bottom left corner of the element. Docs

0.375rem (6px at the default rem size)

Source

fn rounded_bl_lg(self) -> Self

Sets the border radius of the bottom left corner of the element. Docs

0.5rem (8px at the default rem size)

Source

fn rounded_bl_xl(self) -> Self

Sets the border radius of the bottom left corner of the element. Docs

0.75rem (12px at the default rem size)

Source

fn rounded_bl_2xl(self) -> Self

Sets the border radius of the bottom left corner of the element. Docs

1rem (16px at the default rem size)

Source

fn rounded_bl_3xl(self) -> Self

Sets the border radius of the bottom left corner of the element. Docs

1.5rem (24px at the default rem size)

Source

fn rounded_bl_full(self) -> Self

Sets the border radius of the bottom left corner of the element. Docs

9999px (fully rounded)

Source

fn rounded_br(self, length: impl Clone + Into<AbsoluteLength>) -> Self

Sets the border radius of the bottom right corner of the element. Docs

Source

fn rounded_br_none(self) -> Self

Sets the border radius of the bottom right corner of the element. Docs

0px

Source

fn rounded_br_xs(self) -> Self

Sets the border radius of the bottom right corner of the element. Docs

0.125rem (2px at the default rem size)

Source

fn rounded_br_sm(self) -> Self

Sets the border radius of the bottom right corner of the element. Docs

0.25rem (4px at the default rem size)

Source

fn rounded_br_md(self) -> Self

Sets the border radius of the bottom right corner of the element. Docs

0.375rem (6px at the default rem size)

Source

fn rounded_br_lg(self) -> Self

Sets the border radius of the bottom right corner of the element. Docs

0.5rem (8px at the default rem size)

Source

fn rounded_br_xl(self) -> Self

Sets the border radius of the bottom right corner of the element. Docs

0.75rem (12px at the default rem size)

Source

fn rounded_br_2xl(self) -> Self

Sets the border radius of the bottom right corner of the element. Docs

1rem (16px at the default rem size)

Source

fn rounded_br_3xl(self) -> Self

Sets the border radius of the bottom right corner of the element. Docs

1.5rem (24px at the default rem size)

Source

fn rounded_br_full(self) -> Self

Sets the border radius of the bottom right corner of the element. Docs

9999px (fully rounded)

Source

fn rounded_smoothing_0(self) -> Self

Keeps circular corners by setting rounded corner smoothing to 0.0.

Source

fn rounded_smoothing_0p1(self) -> Self

Sets rounded corner smoothing to 0.1.

Source

fn rounded_smoothing_0p2(self) -> Self

Sets rounded corner smoothing to 0.2.

Source

fn rounded_smoothing_0p3(self) -> Self

Sets rounded corner smoothing to 0.3.

Source

fn rounded_smoothing_0p4(self) -> Self

Sets rounded corner smoothing to 0.4.

Source

fn rounded_smoothing_0p5(self) -> Self

Sets rounded corner smoothing to 0.5.

Source

fn rounded_smoothing_0p6(self) -> Self

Sets rounded corner smoothing to 0.6.

Source

fn rounded_smoothing_0p7(self) -> Self

Sets rounded corner smoothing to 0.7.

Source

fn rounded_smoothing_0p8(self) -> Self

Sets rounded corner smoothing to 0.8.

Source

fn rounded_smoothing_0p9(self) -> Self

Sets rounded corner smoothing to 0.9.

Source

fn rounded_smoothing_1(self) -> Self

Requests maximum rounded corner smoothing by setting it to 1.0.

Source

fn visible(self) -> Self

Sets the visibility of the element to visible. Docs

Source

fn invisible(self) -> Self

Sets the visibility of the element to hidden. Docs

Source

fn m(self, length: impl Clone + Into<Length>) -> Self

Sets the margin of the element. Docs

Source

fn m_0(self) -> Self

Sets the margin of the element. Docs

0px

Source

fn m_neg_0(self) -> Self

Sets the margin of the element. Docs

0px

Source

fn m_0p5(self) -> Self

Sets the margin of the element. Docs

0.125rem (2px at the default rem size)

Source

fn m_neg_0p5(self) -> Self

Sets the margin of the element. Docs

0.125rem (2px at the default rem size)

Source

fn m_1(self) -> Self

Sets the margin of the element. Docs

0.25rem (4px at the default rem size)

Source

fn m_neg_1(self) -> Self

Sets the margin of the element. Docs

0.25rem (4px at the default rem size)

Source

fn m_1p5(self) -> Self

Sets the margin of the element. Docs

0.375rem (6px at the default rem size)

Source

fn m_neg_1p5(self) -> Self

Sets the margin of the element. Docs

0.375rem (6px at the default rem size)

Source

fn m_2(self) -> Self

Sets the margin of the element. Docs

0.5rem (8px at the default rem size)

Source

fn m_neg_2(self) -> Self

Sets the margin of the element. Docs

0.5rem (8px at the default rem size)

Source

fn m_2p5(self) -> Self

Sets the margin of the element. Docs

0.625rem (10px at the default rem size)

Source

fn m_neg_2p5(self) -> Self

Sets the margin of the element. Docs

0.625rem (10px at the default rem size)

Source

fn m_3(self) -> Self

Sets the margin of the element. Docs

0.75rem (12px at the default rem size)

Source

fn m_neg_3(self) -> Self

Sets the margin of the element. Docs

0.75rem (12px at the default rem size)

Source

fn m_3p5(self) -> Self

Sets the margin of the element. Docs

0.875rem (14px at the default rem size)

Source

fn m_neg_3p5(self) -> Self

Sets the margin of the element. Docs

0.875rem (14px at the default rem size)

Source

fn m_4(self) -> Self

Sets the margin of the element. Docs

1rem (16px at the default rem size)

Source

fn m_neg_4(self) -> Self

Sets the margin of the element. Docs

1rem (16px at the default rem size)

Source

fn m_5(self) -> Self

Sets the margin of the element. Docs

1.25rem (20px at the default rem size)

Source

fn m_neg_5(self) -> Self

Sets the margin of the element. Docs

1.25rem (20px at the default rem size)

Source

fn m_6(self) -> Self

Sets the margin of the element. Docs

1.5rem (24px at the default rem size)

Source

fn m_neg_6(self) -> Self

Sets the margin of the element. Docs

1.5rem (24px at the default rem size)

Source

fn m_7(self) -> Self

Sets the margin of the element. Docs

1.75rem (28px at the default rem size)

Source

fn m_neg_7(self) -> Self

Sets the margin of the element. Docs

1.75rem (28px at the default rem size)

Source

fn m_8(self) -> Self

Sets the margin of the element. Docs

2rem (32px at the default rem size)

Source

fn m_neg_8(self) -> Self

Sets the margin of the element. Docs

2rem (32px at the default rem size)

Source

fn m_9(self) -> Self

Sets the margin of the element. Docs

2.25rem (36px at the default rem size)

Source

fn m_neg_9(self) -> Self

Sets the margin of the element. Docs

2.25rem (36px at the default rem size)

Source

fn m_10(self) -> Self

Sets the margin of the element. Docs

2.5rem (40px at the default rem size)

Source

fn m_neg_10(self) -> Self

Sets the margin of the element. Docs

2.5rem (40px at the default rem size)

Source

fn m_11(self) -> Self

Sets the margin of the element. Docs

2.75rem (44px at the default rem size)

Source

fn m_neg_11(self) -> Self

Sets the margin of the element. Docs

2.75rem (44px at the default rem size)

Source

fn m_12(self) -> Self

Sets the margin of the element. Docs

3rem (48px at the default rem size)

Source

fn m_neg_12(self) -> Self

Sets the margin of the element. Docs

3rem (48px at the default rem size)

Source

fn m_16(self) -> Self

Sets the margin of the element. Docs

4rem (64px at the default rem size)

Source

fn m_neg_16(self) -> Self

Sets the margin of the element. Docs

4rem (64px at the default rem size)

Source

fn m_20(self) -> Self

Sets the margin of the element. Docs

5rem (80px at the default rem size)

Source

fn m_neg_20(self) -> Self

Sets the margin of the element. Docs

5rem (80px at the default rem size)

Source

fn m_24(self) -> Self

Sets the margin of the element. Docs

6rem (96px at the default rem size)

Source

fn m_neg_24(self) -> Self

Sets the margin of the element. Docs

6rem (96px at the default rem size)

Source

fn m_32(self) -> Self

Sets the margin of the element. Docs

8rem (128px at the default rem size)

Source

fn m_neg_32(self) -> Self

Sets the margin of the element. Docs

8rem (128px at the default rem size)

Source

fn m_40(self) -> Self

Sets the margin of the element. Docs

10rem (160px at the default rem size)

Source

fn m_neg_40(self) -> Self

Sets the margin of the element. Docs

10rem (160px at the default rem size)

Source

fn m_48(self) -> Self

Sets the margin of the element. Docs

12rem (192px at the default rem size)

Source

fn m_neg_48(self) -> Self

Sets the margin of the element. Docs

12rem (192px at the default rem size)

Source

fn m_56(self) -> Self

Sets the margin of the element. Docs

14rem (224px at the default rem size)

Source

fn m_neg_56(self) -> Self

Sets the margin of the element. Docs

14rem (224px at the default rem size)

Source

fn m_64(self) -> Self

Sets the margin of the element. Docs

16rem (256px at the default rem size)

Source

fn m_neg_64(self) -> Self

Sets the margin of the element. Docs

16rem (256px at the default rem size)

Source

fn m_72(self) -> Self

Sets the margin of the element. Docs

18rem (288px at the default rem size)

Source

fn m_neg_72(self) -> Self

Sets the margin of the element. Docs

18rem (288px at the default rem size)

Source

fn m_80(self) -> Self

Sets the margin of the element. Docs

20rem (320px at the default rem size)

Source

fn m_neg_80(self) -> Self

Sets the margin of the element. Docs

20rem (320px at the default rem size)

Source

fn m_96(self) -> Self

Sets the margin of the element. Docs

24rem (384px at the default rem size)

Source

fn m_neg_96(self) -> Self

Sets the margin of the element. Docs

24rem (384px at the default rem size)

Source

fn m_112(self) -> Self

Sets the margin of the element. Docs

28rem (448px at the default rem size)

Source

fn m_neg_112(self) -> Self

Sets the margin of the element. Docs

28rem (448px at the default rem size)

Source

fn m_128(self) -> Self

Sets the margin of the element. Docs

32rem (512px at the default rem size)

Source

fn m_neg_128(self) -> Self

Sets the margin of the element. Docs

32rem (512px at the default rem size)

Source

fn m_auto(self) -> Self

Sets the margin of the element. Docs

Auto

Source

fn m_px(self) -> Self

Sets the margin of the element. Docs

1px

Source

fn m_neg_px(self) -> Self

Sets the margin of the element. Docs

1px

Source

fn m_full(self) -> Self

Sets the margin of the element. Docs

100%

Source

fn m_neg_full(self) -> Self

Sets the margin of the element. Docs

100%

Source

fn m_1_2(self) -> Self

Sets the margin of the element. Docs

50% (1/2)

Source

fn m_neg_1_2(self) -> Self

Sets the margin of the element. Docs

50% (1/2)

Source

fn m_1_3(self) -> Self

Sets the margin of the element. Docs

33% (1/3)

Source

fn m_neg_1_3(self) -> Self

Sets the margin of the element. Docs

33% (1/3)

Source

fn m_2_3(self) -> Self

Sets the margin of the element. Docs

66% (2/3)

Source

fn m_neg_2_3(self) -> Self

Sets the margin of the element. Docs

66% (2/3)

Source

fn m_1_4(self) -> Self

Sets the margin of the element. Docs

25% (1/4)

Source

fn m_neg_1_4(self) -> Self

Sets the margin of the element. Docs

25% (1/4)

Source

fn m_2_4(self) -> Self

Sets the margin of the element. Docs

50% (2/4)

Source

fn m_neg_2_4(self) -> Self

Sets the margin of the element. Docs

50% (2/4)

Source

fn m_3_4(self) -> Self

Sets the margin of the element. Docs

75% (3/4)

Source

fn m_neg_3_4(self) -> Self

Sets the margin of the element. Docs

75% (3/4)

Source

fn m_1_5(self) -> Self

Sets the margin of the element. Docs

20% (1/5)

Source

fn m_neg_1_5(self) -> Self

Sets the margin of the element. Docs

20% (1/5)

Source

fn m_2_5(self) -> Self

Sets the margin of the element. Docs

40% (2/5)

Source

fn m_neg_2_5(self) -> Self

Sets the margin of the element. Docs

40% (2/5)

Source

fn m_3_5(self) -> Self

Sets the margin of the element. Docs

60% (3/5)

Source

fn m_neg_3_5(self) -> Self

Sets the margin of the element. Docs

60% (3/5)

Source

fn m_4_5(self) -> Self

Sets the margin of the element. Docs

80% (4/5)

Source

fn m_neg_4_5(self) -> Self

Sets the margin of the element. Docs

80% (4/5)

Source

fn m_1_6(self) -> Self

Sets the margin of the element. Docs

16% (1/6)

Source

fn m_neg_1_6(self) -> Self

Sets the margin of the element. Docs

16% (1/6)

Source

fn m_5_6(self) -> Self

Sets the margin of the element. Docs

83% (5/6)

Source

fn m_neg_5_6(self) -> Self

Sets the margin of the element. Docs

83% (5/6)

Source

fn m_1_12(self) -> Self

Sets the margin of the element. Docs

8% (1/12)

Source

fn m_neg_1_12(self) -> Self

Sets the margin of the element. Docs

8% (1/12)

Source

fn mt(self, length: impl Clone + Into<Length>) -> Self

Sets the top margin of the element. Docs

Source

fn mt_0(self) -> Self

Sets the top margin of the element. Docs

0px

Source

fn mt_neg_0(self) -> Self

Sets the top margin of the element. Docs

0px

Source

fn mt_0p5(self) -> Self

Sets the top margin of the element. Docs

0.125rem (2px at the default rem size)

Source

fn mt_neg_0p5(self) -> Self

Sets the top margin of the element. Docs

0.125rem (2px at the default rem size)

Source

fn mt_1(self) -> Self

Sets the top margin of the element. Docs

0.25rem (4px at the default rem size)

Source

fn mt_neg_1(self) -> Self

Sets the top margin of the element. Docs

0.25rem (4px at the default rem size)

Source

fn mt_1p5(self) -> Self

Sets the top margin of the element. Docs

0.375rem (6px at the default rem size)

Source

fn mt_neg_1p5(self) -> Self

Sets the top margin of the element. Docs

0.375rem (6px at the default rem size)

Source

fn mt_2(self) -> Self

Sets the top margin of the element. Docs

0.5rem (8px at the default rem size)

Source

fn mt_neg_2(self) -> Self

Sets the top margin of the element. Docs

0.5rem (8px at the default rem size)

Source

fn mt_2p5(self) -> Self

Sets the top margin of the element. Docs

0.625rem (10px at the default rem size)

Source

fn mt_neg_2p5(self) -> Self

Sets the top margin of the element. Docs

0.625rem (10px at the default rem size)

Source

fn mt_3(self) -> Self

Sets the top margin of the element. Docs

0.75rem (12px at the default rem size)

Source

fn mt_neg_3(self) -> Self

Sets the top margin of the element. Docs

0.75rem (12px at the default rem size)

Source

fn mt_3p5(self) -> Self

Sets the top margin of the element. Docs

0.875rem (14px at the default rem size)

Source

fn mt_neg_3p5(self) -> Self

Sets the top margin of the element. Docs

0.875rem (14px at the default rem size)

Source

fn mt_4(self) -> Self

Sets the top margin of the element. Docs

1rem (16px at the default rem size)

Source

fn mt_neg_4(self) -> Self

Sets the top margin of the element. Docs

1rem (16px at the default rem size)

Source

fn mt_5(self) -> Self

Sets the top margin of the element. Docs

1.25rem (20px at the default rem size)

Source

fn mt_neg_5(self) -> Self

Sets the top margin of the element. Docs

1.25rem (20px at the default rem size)

Source

fn mt_6(self) -> Self

Sets the top margin of the element. Docs

1.5rem (24px at the default rem size)

Source

fn mt_neg_6(self) -> Self

Sets the top margin of the element. Docs

1.5rem (24px at the default rem size)

Source

fn mt_7(self) -> Self

Sets the top margin of the element. Docs

1.75rem (28px at the default rem size)

Source

fn mt_neg_7(self) -> Self

Sets the top margin of the element. Docs

1.75rem (28px at the default rem size)

Source

fn mt_8(self) -> Self

Sets the top margin of the element. Docs

2rem (32px at the default rem size)

Source

fn mt_neg_8(self) -> Self

Sets the top margin of the element. Docs

2rem (32px at the default rem size)

Source

fn mt_9(self) -> Self

Sets the top margin of the element. Docs

2.25rem (36px at the default rem size)

Source

fn mt_neg_9(self) -> Self

Sets the top margin of the element. Docs

2.25rem (36px at the default rem size)

Source

fn mt_10(self) -> Self

Sets the top margin of the element. Docs

2.5rem (40px at the default rem size)

Source

fn mt_neg_10(self) -> Self

Sets the top margin of the element. Docs

2.5rem (40px at the default rem size)

Source

fn mt_11(self) -> Self

Sets the top margin of the element. Docs

2.75rem (44px at the default rem size)

Source

fn mt_neg_11(self) -> Self

Sets the top margin of the element. Docs

2.75rem (44px at the default rem size)

Source

fn mt_12(self) -> Self

Sets the top margin of the element. Docs

3rem (48px at the default rem size)

Source

fn mt_neg_12(self) -> Self

Sets the top margin of the element. Docs

3rem (48px at the default rem size)

Source

fn mt_16(self) -> Self

Sets the top margin of the element. Docs

4rem (64px at the default rem size)

Source

fn mt_neg_16(self) -> Self

Sets the top margin of the element. Docs

4rem (64px at the default rem size)

Source

fn mt_20(self) -> Self

Sets the top margin of the element. Docs

5rem (80px at the default rem size)

Source

fn mt_neg_20(self) -> Self

Sets the top margin of the element. Docs

5rem (80px at the default rem size)

Source

fn mt_24(self) -> Self

Sets the top margin of the element. Docs

6rem (96px at the default rem size)

Source

fn mt_neg_24(self) -> Self

Sets the top margin of the element. Docs

6rem (96px at the default rem size)

Source

fn mt_32(self) -> Self

Sets the top margin of the element. Docs

8rem (128px at the default rem size)

Source

fn mt_neg_32(self) -> Self

Sets the top margin of the element. Docs

8rem (128px at the default rem size)

Source

fn mt_40(self) -> Self

Sets the top margin of the element. Docs

10rem (160px at the default rem size)

Source

fn mt_neg_40(self) -> Self

Sets the top margin of the element. Docs

10rem (160px at the default rem size)

Source

fn mt_48(self) -> Self

Sets the top margin of the element. Docs

12rem (192px at the default rem size)

Source

fn mt_neg_48(self) -> Self

Sets the top margin of the element. Docs

12rem (192px at the default rem size)

Source

fn mt_56(self) -> Self

Sets the top margin of the element. Docs

14rem (224px at the default rem size)

Source

fn mt_neg_56(self) -> Self

Sets the top margin of the element. Docs

14rem (224px at the default rem size)

Source

fn mt_64(self) -> Self

Sets the top margin of the element. Docs

16rem (256px at the default rem size)

Source

fn mt_neg_64(self) -> Self

Sets the top margin of the element. Docs

16rem (256px at the default rem size)

Source

fn mt_72(self) -> Self

Sets the top margin of the element. Docs

18rem (288px at the default rem size)

Source

fn mt_neg_72(self) -> Self

Sets the top margin of the element. Docs

18rem (288px at the default rem size)

Source

fn mt_80(self) -> Self

Sets the top margin of the element. Docs

20rem (320px at the default rem size)

Source

fn mt_neg_80(self) -> Self

Sets the top margin of the element. Docs

20rem (320px at the default rem size)

Source

fn mt_96(self) -> Self

Sets the top margin of the element. Docs

24rem (384px at the default rem size)

Source

fn mt_neg_96(self) -> Self

Sets the top margin of the element. Docs

24rem (384px at the default rem size)

Source

fn mt_112(self) -> Self

Sets the top margin of the element. Docs

28rem (448px at the default rem size)

Source

fn mt_neg_112(self) -> Self

Sets the top margin of the element. Docs

28rem (448px at the default rem size)

Source

fn mt_128(self) -> Self

Sets the top margin of the element. Docs

32rem (512px at the default rem size)

Source

fn mt_neg_128(self) -> Self

Sets the top margin of the element. Docs

32rem (512px at the default rem size)

Source

fn mt_auto(self) -> Self

Sets the top margin of the element. Docs

Auto

Source

fn mt_px(self) -> Self

Sets the top margin of the element. Docs

1px

Source

fn mt_neg_px(self) -> Self

Sets the top margin of the element. Docs

1px

Source

fn mt_full(self) -> Self

Sets the top margin of the element. Docs

100%

Source

fn mt_neg_full(self) -> Self

Sets the top margin of the element. Docs

100%

Source

fn mt_1_2(self) -> Self

Sets the top margin of the element. Docs

50% (1/2)

Source

fn mt_neg_1_2(self) -> Self

Sets the top margin of the element. Docs

50% (1/2)

Source

fn mt_1_3(self) -> Self

Sets the top margin of the element. Docs

33% (1/3)

Source

fn mt_neg_1_3(self) -> Self

Sets the top margin of the element. Docs

33% (1/3)

Source

fn mt_2_3(self) -> Self

Sets the top margin of the element. Docs

66% (2/3)

Source

fn mt_neg_2_3(self) -> Self

Sets the top margin of the element. Docs

66% (2/3)

Source

fn mt_1_4(self) -> Self

Sets the top margin of the element. Docs

25% (1/4)

Source

fn mt_neg_1_4(self) -> Self

Sets the top margin of the element. Docs

25% (1/4)

Source

fn mt_2_4(self) -> Self

Sets the top margin of the element. Docs

50% (2/4)

Source

fn mt_neg_2_4(self) -> Self

Sets the top margin of the element. Docs

50% (2/4)

Source

fn mt_3_4(self) -> Self

Sets the top margin of the element. Docs

75% (3/4)

Source

fn mt_neg_3_4(self) -> Self

Sets the top margin of the element. Docs

75% (3/4)

Source

fn mt_1_5(self) -> Self

Sets the top margin of the element. Docs

20% (1/5)

Source

fn mt_neg_1_5(self) -> Self

Sets the top margin of the element. Docs

20% (1/5)

Source

fn mt_2_5(self) -> Self

Sets the top margin of the element. Docs

40% (2/5)

Source

fn mt_neg_2_5(self) -> Self

Sets the top margin of the element. Docs

40% (2/5)

Source

fn mt_3_5(self) -> Self

Sets the top margin of the element. Docs

60% (3/5)

Source

fn mt_neg_3_5(self) -> Self

Sets the top margin of the element. Docs

60% (3/5)

Source

fn mt_4_5(self) -> Self

Sets the top margin of the element. Docs

80% (4/5)

Source

fn mt_neg_4_5(self) -> Self

Sets the top margin of the element. Docs

80% (4/5)

Source

fn mt_1_6(self) -> Self

Sets the top margin of the element. Docs

16% (1/6)

Source

fn mt_neg_1_6(self) -> Self

Sets the top margin of the element. Docs

16% (1/6)

Source

fn mt_5_6(self) -> Self

Sets the top margin of the element. Docs

83% (5/6)

Source

fn mt_neg_5_6(self) -> Self

Sets the top margin of the element. Docs

83% (5/6)

Source

fn mt_1_12(self) -> Self

Sets the top margin of the element. Docs

8% (1/12)

Source

fn mt_neg_1_12(self) -> Self

Sets the top margin of the element. Docs

8% (1/12)

Source

fn mb(self, length: impl Clone + Into<Length>) -> Self

Sets the bottom margin of the element. Docs

Source

fn mb_0(self) -> Self

Sets the bottom margin of the element. Docs

0px

Source

fn mb_neg_0(self) -> Self

Sets the bottom margin of the element. Docs

0px

Source

fn mb_0p5(self) -> Self

Sets the bottom margin of the element. Docs

0.125rem (2px at the default rem size)

Source

fn mb_neg_0p5(self) -> Self

Sets the bottom margin of the element. Docs

0.125rem (2px at the default rem size)

Source

fn mb_1(self) -> Self

Sets the bottom margin of the element. Docs

0.25rem (4px at the default rem size)

Source

fn mb_neg_1(self) -> Self

Sets the bottom margin of the element. Docs

0.25rem (4px at the default rem size)

Source

fn mb_1p5(self) -> Self

Sets the bottom margin of the element. Docs

0.375rem (6px at the default rem size)

Source

fn mb_neg_1p5(self) -> Self

Sets the bottom margin of the element. Docs

0.375rem (6px at the default rem size)

Source

fn mb_2(self) -> Self

Sets the bottom margin of the element. Docs

0.5rem (8px at the default rem size)

Source

fn mb_neg_2(self) -> Self

Sets the bottom margin of the element. Docs

0.5rem (8px at the default rem size)

Source

fn mb_2p5(self) -> Self

Sets the bottom margin of the element. Docs

0.625rem (10px at the default rem size)

Source

fn mb_neg_2p5(self) -> Self

Sets the bottom margin of the element. Docs

0.625rem (10px at the default rem size)

Source

fn mb_3(self) -> Self

Sets the bottom margin of the element. Docs

0.75rem (12px at the default rem size)

Source

fn mb_neg_3(self) -> Self

Sets the bottom margin of the element. Docs

0.75rem (12px at the default rem size)

Source

fn mb_3p5(self) -> Self

Sets the bottom margin of the element. Docs

0.875rem (14px at the default rem size)

Source

fn mb_neg_3p5(self) -> Self

Sets the bottom margin of the element. Docs

0.875rem (14px at the default rem size)

Source

fn mb_4(self) -> Self

Sets the bottom margin of the element. Docs

1rem (16px at the default rem size)

Source

fn mb_neg_4(self) -> Self

Sets the bottom margin of the element. Docs

1rem (16px at the default rem size)

Source

fn mb_5(self) -> Self

Sets the bottom margin of the element. Docs

1.25rem (20px at the default rem size)

Source

fn mb_neg_5(self) -> Self

Sets the bottom margin of the element. Docs

1.25rem (20px at the default rem size)

Source

fn mb_6(self) -> Self

Sets the bottom margin of the element. Docs

1.5rem (24px at the default rem size)

Source

fn mb_neg_6(self) -> Self

Sets the bottom margin of the element. Docs

1.5rem (24px at the default rem size)

Source

fn mb_7(self) -> Self

Sets the bottom margin of the element. Docs

1.75rem (28px at the default rem size)

Source

fn mb_neg_7(self) -> Self

Sets the bottom margin of the element. Docs

1.75rem (28px at the default rem size)

Source

fn mb_8(self) -> Self

Sets the bottom margin of the element. Docs

2rem (32px at the default rem size)

Source

fn mb_neg_8(self) -> Self

Sets the bottom margin of the element. Docs

2rem (32px at the default rem size)

Source

fn mb_9(self) -> Self

Sets the bottom margin of the element. Docs

2.25rem (36px at the default rem size)

Source

fn mb_neg_9(self) -> Self

Sets the bottom margin of the element. Docs

2.25rem (36px at the default rem size)

Source

fn mb_10(self) -> Self

Sets the bottom margin of the element. Docs

2.5rem (40px at the default rem size)

Source

fn mb_neg_10(self) -> Self

Sets the bottom margin of the element. Docs

2.5rem (40px at the default rem size)

Source

fn mb_11(self) -> Self

Sets the bottom margin of the element. Docs

2.75rem (44px at the default rem size)

Source

fn mb_neg_11(self) -> Self

Sets the bottom margin of the element. Docs

2.75rem (44px at the default rem size)

Source

fn mb_12(self) -> Self

Sets the bottom margin of the element. Docs

3rem (48px at the default rem size)

Source

fn mb_neg_12(self) -> Self

Sets the bottom margin of the element. Docs

3rem (48px at the default rem size)

Source

fn mb_16(self) -> Self

Sets the bottom margin of the element. Docs

4rem (64px at the default rem size)

Source

fn mb_neg_16(self) -> Self

Sets the bottom margin of the element. Docs

4rem (64px at the default rem size)

Source

fn mb_20(self) -> Self

Sets the bottom margin of the element. Docs

5rem (80px at the default rem size)

Source

fn mb_neg_20(self) -> Self

Sets the bottom margin of the element. Docs

5rem (80px at the default rem size)

Source

fn mb_24(self) -> Self

Sets the bottom margin of the element. Docs

6rem (96px at the default rem size)

Source

fn mb_neg_24(self) -> Self

Sets the bottom margin of the element. Docs

6rem (96px at the default rem size)

Source

fn mb_32(self) -> Self

Sets the bottom margin of the element. Docs

8rem (128px at the default rem size)

Source

fn mb_neg_32(self) -> Self

Sets the bottom margin of the element. Docs

8rem (128px at the default rem size)

Source

fn mb_40(self) -> Self

Sets the bottom margin of the element. Docs

10rem (160px at the default rem size)

Source

fn mb_neg_40(self) -> Self

Sets the bottom margin of the element. Docs

10rem (160px at the default rem size)

Source

fn mb_48(self) -> Self

Sets the bottom margin of the element. Docs

12rem (192px at the default rem size)

Source

fn mb_neg_48(self) -> Self

Sets the bottom margin of the element. Docs

12rem (192px at the default rem size)

Source

fn mb_56(self) -> Self

Sets the bottom margin of the element. Docs

14rem (224px at the default rem size)

Source

fn mb_neg_56(self) -> Self

Sets the bottom margin of the element. Docs

14rem (224px at the default rem size)

Source

fn mb_64(self) -> Self

Sets the bottom margin of the element. Docs

16rem (256px at the default rem size)

Source

fn mb_neg_64(self) -> Self

Sets the bottom margin of the element. Docs

16rem (256px at the default rem size)

Source

fn mb_72(self) -> Self

Sets the bottom margin of the element. Docs

18rem (288px at the default rem size)

Source

fn mb_neg_72(self) -> Self

Sets the bottom margin of the element. Docs

18rem (288px at the default rem size)

Source

fn mb_80(self) -> Self

Sets the bottom margin of the element. Docs

20rem (320px at the default rem size)

Source

fn mb_neg_80(self) -> Self

Sets the bottom margin of the element. Docs

20rem (320px at the default rem size)

Source

fn mb_96(self) -> Self

Sets the bottom margin of the element. Docs

24rem (384px at the default rem size)

Source

fn mb_neg_96(self) -> Self

Sets the bottom margin of the element. Docs

24rem (384px at the default rem size)

Source

fn mb_112(self) -> Self

Sets the bottom margin of the element. Docs

28rem (448px at the default rem size)

Source

fn mb_neg_112(self) -> Self

Sets the bottom margin of the element. Docs

28rem (448px at the default rem size)

Source

fn mb_128(self) -> Self

Sets the bottom margin of the element. Docs

32rem (512px at the default rem size)

Source

fn mb_neg_128(self) -> Self

Sets the bottom margin of the element. Docs

32rem (512px at the default rem size)

Source

fn mb_auto(self) -> Self

Sets the bottom margin of the element. Docs

Auto

Source

fn mb_px(self) -> Self

Sets the bottom margin of the element. Docs

1px

Source

fn mb_neg_px(self) -> Self

Sets the bottom margin of the element. Docs

1px

Source

fn mb_full(self) -> Self

Sets the bottom margin of the element. Docs

100%

Source

fn mb_neg_full(self) -> Self

Sets the bottom margin of the element. Docs

100%

Source

fn mb_1_2(self) -> Self

Sets the bottom margin of the element. Docs

50% (1/2)

Source

fn mb_neg_1_2(self) -> Self

Sets the bottom margin of the element. Docs

50% (1/2)

Source

fn mb_1_3(self) -> Self

Sets the bottom margin of the element. Docs

33% (1/3)

Source

fn mb_neg_1_3(self) -> Self

Sets the bottom margin of the element. Docs

33% (1/3)

Source

fn mb_2_3(self) -> Self

Sets the bottom margin of the element. Docs

66% (2/3)

Source

fn mb_neg_2_3(self) -> Self

Sets the bottom margin of the element. Docs

66% (2/3)

Source

fn mb_1_4(self) -> Self

Sets the bottom margin of the element. Docs

25% (1/4)

Source

fn mb_neg_1_4(self) -> Self

Sets the bottom margin of the element. Docs

25% (1/4)

Source

fn mb_2_4(self) -> Self

Sets the bottom margin of the element. Docs

50% (2/4)

Source

fn mb_neg_2_4(self) -> Self

Sets the bottom margin of the element. Docs

50% (2/4)

Source

fn mb_3_4(self) -> Self

Sets the bottom margin of the element. Docs

75% (3/4)

Source

fn mb_neg_3_4(self) -> Self

Sets the bottom margin of the element. Docs

75% (3/4)

Source

fn mb_1_5(self) -> Self

Sets the bottom margin of the element. Docs

20% (1/5)

Source

fn mb_neg_1_5(self) -> Self

Sets the bottom margin of the element. Docs

20% (1/5)

Source

fn mb_2_5(self) -> Self

Sets the bottom margin of the element. Docs

40% (2/5)

Source

fn mb_neg_2_5(self) -> Self

Sets the bottom margin of the element. Docs

40% (2/5)

Source

fn mb_3_5(self) -> Self

Sets the bottom margin of the element. Docs

60% (3/5)

Source

fn mb_neg_3_5(self) -> Self

Sets the bottom margin of the element. Docs

60% (3/5)

Source

fn mb_4_5(self) -> Self

Sets the bottom margin of the element. Docs

80% (4/5)

Source

fn mb_neg_4_5(self) -> Self

Sets the bottom margin of the element. Docs

80% (4/5)

Source

fn mb_1_6(self) -> Self

Sets the bottom margin of the element. Docs

16% (1/6)

Source

fn mb_neg_1_6(self) -> Self

Sets the bottom margin of the element. Docs

16% (1/6)

Source

fn mb_5_6(self) -> Self

Sets the bottom margin of the element. Docs

83% (5/6)

Source

fn mb_neg_5_6(self) -> Self

Sets the bottom margin of the element. Docs

83% (5/6)

Source

fn mb_1_12(self) -> Self

Sets the bottom margin of the element. Docs

8% (1/12)

Source

fn mb_neg_1_12(self) -> Self

Sets the bottom margin of the element. Docs

8% (1/12)

Source

fn my(self, length: impl Clone + Into<Length>) -> Self

Sets the vertical margin of the element. Docs

Source

fn my_0(self) -> Self

Sets the vertical margin of the element. Docs

0px

Source

fn my_neg_0(self) -> Self

Sets the vertical margin of the element. Docs

0px

Source

fn my_0p5(self) -> Self

Sets the vertical margin of the element. Docs

0.125rem (2px at the default rem size)

Source

fn my_neg_0p5(self) -> Self

Sets the vertical margin of the element. Docs

0.125rem (2px at the default rem size)

Source

fn my_1(self) -> Self

Sets the vertical margin of the element. Docs

0.25rem (4px at the default rem size)

Source

fn my_neg_1(self) -> Self

Sets the vertical margin of the element. Docs

0.25rem (4px at the default rem size)

Source

fn my_1p5(self) -> Self

Sets the vertical margin of the element. Docs

0.375rem (6px at the default rem size)

Source

fn my_neg_1p5(self) -> Self

Sets the vertical margin of the element. Docs

0.375rem (6px at the default rem size)

Source

fn my_2(self) -> Self

Sets the vertical margin of the element. Docs

0.5rem (8px at the default rem size)

Source

fn my_neg_2(self) -> Self

Sets the vertical margin of the element. Docs

0.5rem (8px at the default rem size)

Source

fn my_2p5(self) -> Self

Sets the vertical margin of the element. Docs

0.625rem (10px at the default rem size)

Source

fn my_neg_2p5(self) -> Self

Sets the vertical margin of the element. Docs

0.625rem (10px at the default rem size)

Source

fn my_3(self) -> Self

Sets the vertical margin of the element. Docs

0.75rem (12px at the default rem size)

Source

fn my_neg_3(self) -> Self

Sets the vertical margin of the element. Docs

0.75rem (12px at the default rem size)

Source

fn my_3p5(self) -> Self

Sets the vertical margin of the element. Docs

0.875rem (14px at the default rem size)

Source

fn my_neg_3p5(self) -> Self

Sets the vertical margin of the element. Docs

0.875rem (14px at the default rem size)

Source

fn my_4(self) -> Self

Sets the vertical margin of the element. Docs

1rem (16px at the default rem size)

Source

fn my_neg_4(self) -> Self

Sets the vertical margin of the element. Docs

1rem (16px at the default rem size)

Source

fn my_5(self) -> Self

Sets the vertical margin of the element. Docs

1.25rem (20px at the default rem size)

Source

fn my_neg_5(self) -> Self

Sets the vertical margin of the element. Docs

1.25rem (20px at the default rem size)

Source

fn my_6(self) -> Self

Sets the vertical margin of the element. Docs

1.5rem (24px at the default rem size)

Source

fn my_neg_6(self) -> Self

Sets the vertical margin of the element. Docs

1.5rem (24px at the default rem size)

Source

fn my_7(self) -> Self

Sets the vertical margin of the element. Docs

1.75rem (28px at the default rem size)

Source

fn my_neg_7(self) -> Self

Sets the vertical margin of the element. Docs

1.75rem (28px at the default rem size)

Source

fn my_8(self) -> Self

Sets the vertical margin of the element. Docs

2rem (32px at the default rem size)

Source

fn my_neg_8(self) -> Self

Sets the vertical margin of the element. Docs

2rem (32px at the default rem size)

Source

fn my_9(self) -> Self

Sets the vertical margin of the element. Docs

2.25rem (36px at the default rem size)

Source

fn my_neg_9(self) -> Self

Sets the vertical margin of the element. Docs

2.25rem (36px at the default rem size)

Source

fn my_10(self) -> Self

Sets the vertical margin of the element. Docs

2.5rem (40px at the default rem size)

Source

fn my_neg_10(self) -> Self

Sets the vertical margin of the element. Docs

2.5rem (40px at the default rem size)

Source

fn my_11(self) -> Self

Sets the vertical margin of the element. Docs

2.75rem (44px at the default rem size)

Source

fn my_neg_11(self) -> Self

Sets the vertical margin of the element. Docs

2.75rem (44px at the default rem size)

Source

fn my_12(self) -> Self

Sets the vertical margin of the element. Docs

3rem (48px at the default rem size)

Source

fn my_neg_12(self) -> Self

Sets the vertical margin of the element. Docs

3rem (48px at the default rem size)

Source

fn my_16(self) -> Self

Sets the vertical margin of the element. Docs

4rem (64px at the default rem size)

Source

fn my_neg_16(self) -> Self

Sets the vertical margin of the element. Docs

4rem (64px at the default rem size)

Source

fn my_20(self) -> Self

Sets the vertical margin of the element. Docs

5rem (80px at the default rem size)

Source

fn my_neg_20(self) -> Self

Sets the vertical margin of the element. Docs

5rem (80px at the default rem size)

Source

fn my_24(self) -> Self

Sets the vertical margin of the element. Docs

6rem (96px at the default rem size)

Source

fn my_neg_24(self) -> Self

Sets the vertical margin of the element. Docs

6rem (96px at the default rem size)

Source

fn my_32(self) -> Self

Sets the vertical margin of the element. Docs

8rem (128px at the default rem size)

Source

fn my_neg_32(self) -> Self

Sets the vertical margin of the element. Docs

8rem (128px at the default rem size)

Source

fn my_40(self) -> Self

Sets the vertical margin of the element. Docs

10rem (160px at the default rem size)

Source

fn my_neg_40(self) -> Self

Sets the vertical margin of the element. Docs

10rem (160px at the default rem size)

Source

fn my_48(self) -> Self

Sets the vertical margin of the element. Docs

12rem (192px at the default rem size)

Source

fn my_neg_48(self) -> Self

Sets the vertical margin of the element. Docs

12rem (192px at the default rem size)

Source

fn my_56(self) -> Self

Sets the vertical margin of the element. Docs

14rem (224px at the default rem size)

Source

fn my_neg_56(self) -> Self

Sets the vertical margin of the element. Docs

14rem (224px at the default rem size)

Source

fn my_64(self) -> Self

Sets the vertical margin of the element. Docs

16rem (256px at the default rem size)

Source

fn my_neg_64(self) -> Self

Sets the vertical margin of the element. Docs

16rem (256px at the default rem size)

Source

fn my_72(self) -> Self

Sets the vertical margin of the element. Docs

18rem (288px at the default rem size)

Source

fn my_neg_72(self) -> Self

Sets the vertical margin of the element. Docs

18rem (288px at the default rem size)

Source

fn my_80(self) -> Self

Sets the vertical margin of the element. Docs

20rem (320px at the default rem size)

Source

fn my_neg_80(self) -> Self

Sets the vertical margin of the element. Docs

20rem (320px at the default rem size)

Source

fn my_96(self) -> Self

Sets the vertical margin of the element. Docs

24rem (384px at the default rem size)

Source

fn my_neg_96(self) -> Self

Sets the vertical margin of the element. Docs

24rem (384px at the default rem size)

Source

fn my_112(self) -> Self

Sets the vertical margin of the element. Docs

28rem (448px at the default rem size)

Source

fn my_neg_112(self) -> Self

Sets the vertical margin of the element. Docs

28rem (448px at the default rem size)

Source

fn my_128(self) -> Self

Sets the vertical margin of the element. Docs

32rem (512px at the default rem size)

Source

fn my_neg_128(self) -> Self

Sets the vertical margin of the element. Docs

32rem (512px at the default rem size)

Source

fn my_auto(self) -> Self

Sets the vertical margin of the element. Docs

Auto

Source

fn my_px(self) -> Self

Sets the vertical margin of the element. Docs

1px

Source

fn my_neg_px(self) -> Self

Sets the vertical margin of the element. Docs

1px

Source

fn my_full(self) -> Self

Sets the vertical margin of the element. Docs

100%

Source

fn my_neg_full(self) -> Self

Sets the vertical margin of the element. Docs

100%

Source

fn my_1_2(self) -> Self

Sets the vertical margin of the element. Docs

50% (1/2)

Source

fn my_neg_1_2(self) -> Self

Sets the vertical margin of the element. Docs

50% (1/2)

Source

fn my_1_3(self) -> Self

Sets the vertical margin of the element. Docs

33% (1/3)

Source

fn my_neg_1_3(self) -> Self

Sets the vertical margin of the element. Docs

33% (1/3)

Source

fn my_2_3(self) -> Self

Sets the vertical margin of the element. Docs

66% (2/3)

Source

fn my_neg_2_3(self) -> Self

Sets the vertical margin of the element. Docs

66% (2/3)

Source

fn my_1_4(self) -> Self

Sets the vertical margin of the element. Docs

25% (1/4)

Source

fn my_neg_1_4(self) -> Self

Sets the vertical margin of the element. Docs

25% (1/4)

Source

fn my_2_4(self) -> Self

Sets the vertical margin of the element. Docs

50% (2/4)

Source

fn my_neg_2_4(self) -> Self

Sets the vertical margin of the element. Docs

50% (2/4)

Source

fn my_3_4(self) -> Self

Sets the vertical margin of the element. Docs

75% (3/4)

Source

fn my_neg_3_4(self) -> Self

Sets the vertical margin of the element. Docs

75% (3/4)

Source

fn my_1_5(self) -> Self

Sets the vertical margin of the element. Docs

20% (1/5)

Source

fn my_neg_1_5(self) -> Self

Sets the vertical margin of the element. Docs

20% (1/5)

Source

fn my_2_5(self) -> Self

Sets the vertical margin of the element. Docs

40% (2/5)

Source

fn my_neg_2_5(self) -> Self

Sets the vertical margin of the element. Docs

40% (2/5)

Source

fn my_3_5(self) -> Self

Sets the vertical margin of the element. Docs

60% (3/5)

Source

fn my_neg_3_5(self) -> Self

Sets the vertical margin of the element. Docs

60% (3/5)

Source

fn my_4_5(self) -> Self

Sets the vertical margin of the element. Docs

80% (4/5)

Source

fn my_neg_4_5(self) -> Self

Sets the vertical margin of the element. Docs

80% (4/5)

Source

fn my_1_6(self) -> Self

Sets the vertical margin of the element. Docs

16% (1/6)

Source

fn my_neg_1_6(self) -> Self

Sets the vertical margin of the element. Docs

16% (1/6)

Source

fn my_5_6(self) -> Self

Sets the vertical margin of the element. Docs

83% (5/6)

Source

fn my_neg_5_6(self) -> Self

Sets the vertical margin of the element. Docs

83% (5/6)

Source

fn my_1_12(self) -> Self

Sets the vertical margin of the element. Docs

8% (1/12)

Source

fn my_neg_1_12(self) -> Self

Sets the vertical margin of the element. Docs

8% (1/12)

Source

fn mx(self, length: impl Clone + Into<Length>) -> Self

Sets the horizontal margin of the element. Docs

Source

fn mx_0(self) -> Self

Sets the horizontal margin of the element. Docs

0px

Source

fn mx_neg_0(self) -> Self

Sets the horizontal margin of the element. Docs

0px

Source

fn mx_0p5(self) -> Self

Sets the horizontal margin of the element. Docs

0.125rem (2px at the default rem size)

Source

fn mx_neg_0p5(self) -> Self

Sets the horizontal margin of the element. Docs

0.125rem (2px at the default rem size)

Source

fn mx_1(self) -> Self

Sets the horizontal margin of the element. Docs

0.25rem (4px at the default rem size)

Source

fn mx_neg_1(self) -> Self

Sets the horizontal margin of the element. Docs

0.25rem (4px at the default rem size)

Source

fn mx_1p5(self) -> Self

Sets the horizontal margin of the element. Docs

0.375rem (6px at the default rem size)

Source

fn mx_neg_1p5(self) -> Self

Sets the horizontal margin of the element. Docs

0.375rem (6px at the default rem size)

Source

fn mx_2(self) -> Self

Sets the horizontal margin of the element. Docs

0.5rem (8px at the default rem size)

Source

fn mx_neg_2(self) -> Self

Sets the horizontal margin of the element. Docs

0.5rem (8px at the default rem size)

Source

fn mx_2p5(self) -> Self

Sets the horizontal margin of the element. Docs

0.625rem (10px at the default rem size)

Source

fn mx_neg_2p5(self) -> Self

Sets the horizontal margin of the element. Docs

0.625rem (10px at the default rem size)

Source

fn mx_3(self) -> Self

Sets the horizontal margin of the element. Docs

0.75rem (12px at the default rem size)

Source

fn mx_neg_3(self) -> Self

Sets the horizontal margin of the element. Docs

0.75rem (12px at the default rem size)

Source

fn mx_3p5(self) -> Self

Sets the horizontal margin of the element. Docs

0.875rem (14px at the default rem size)

Source

fn mx_neg_3p5(self) -> Self

Sets the horizontal margin of the element. Docs

0.875rem (14px at the default rem size)

Source

fn mx_4(self) -> Self

Sets the horizontal margin of the element. Docs

1rem (16px at the default rem size)

Source

fn mx_neg_4(self) -> Self

Sets the horizontal margin of the element. Docs

1rem (16px at the default rem size)

Source

fn mx_5(self) -> Self

Sets the horizontal margin of the element. Docs

1.25rem (20px at the default rem size)

Source

fn mx_neg_5(self) -> Self

Sets the horizontal margin of the element. Docs

1.25rem (20px at the default rem size)

Source

fn mx_6(self) -> Self

Sets the horizontal margin of the element. Docs

1.5rem (24px at the default rem size)

Source

fn mx_neg_6(self) -> Self

Sets the horizontal margin of the element. Docs

1.5rem (24px at the default rem size)

Source

fn mx_7(self) -> Self

Sets the horizontal margin of the element. Docs

1.75rem (28px at the default rem size)

Source

fn mx_neg_7(self) -> Self

Sets the horizontal margin of the element. Docs

1.75rem (28px at the default rem size)

Source

fn mx_8(self) -> Self

Sets the horizontal margin of the element. Docs

2rem (32px at the default rem size)

Source

fn mx_neg_8(self) -> Self

Sets the horizontal margin of the element. Docs

2rem (32px at the default rem size)

Source

fn mx_9(self) -> Self

Sets the horizontal margin of the element. Docs

2.25rem (36px at the default rem size)

Source

fn mx_neg_9(self) -> Self

Sets the horizontal margin of the element. Docs

2.25rem (36px at the default rem size)

Source

fn mx_10(self) -> Self

Sets the horizontal margin of the element. Docs

2.5rem (40px at the default rem size)

Source

fn mx_neg_10(self) -> Self

Sets the horizontal margin of the element. Docs

2.5rem (40px at the default rem size)

Source

fn mx_11(self) -> Self

Sets the horizontal margin of the element. Docs

2.75rem (44px at the default rem size)

Source

fn mx_neg_11(self) -> Self

Sets the horizontal margin of the element. Docs

2.75rem (44px at the default rem size)

Source

fn mx_12(self) -> Self

Sets the horizontal margin of the element. Docs

3rem (48px at the default rem size)

Source

fn mx_neg_12(self) -> Self

Sets the horizontal margin of the element. Docs

3rem (48px at the default rem size)

Source

fn mx_16(self) -> Self

Sets the horizontal margin of the element. Docs

4rem (64px at the default rem size)

Source

fn mx_neg_16(self) -> Self

Sets the horizontal margin of the element. Docs

4rem (64px at the default rem size)

Source

fn mx_20(self) -> Self

Sets the horizontal margin of the element. Docs

5rem (80px at the default rem size)

Source

fn mx_neg_20(self) -> Self

Sets the horizontal margin of the element. Docs

5rem (80px at the default rem size)

Source

fn mx_24(self) -> Self

Sets the horizontal margin of the element. Docs

6rem (96px at the default rem size)

Source

fn mx_neg_24(self) -> Self

Sets the horizontal margin of the element. Docs

6rem (96px at the default rem size)

Source

fn mx_32(self) -> Self

Sets the horizontal margin of the element. Docs

8rem (128px at the default rem size)

Source

fn mx_neg_32(self) -> Self

Sets the horizontal margin of the element. Docs

8rem (128px at the default rem size)

Source

fn mx_40(self) -> Self

Sets the horizontal margin of the element. Docs

10rem (160px at the default rem size)

Source

fn mx_neg_40(self) -> Self

Sets the horizontal margin of the element. Docs

10rem (160px at the default rem size)

Source

fn mx_48(self) -> Self

Sets the horizontal margin of the element. Docs

12rem (192px at the default rem size)

Source

fn mx_neg_48(self) -> Self

Sets the horizontal margin of the element. Docs

12rem (192px at the default rem size)

Source

fn mx_56(self) -> Self

Sets the horizontal margin of the element. Docs

14rem (224px at the default rem size)

Source

fn mx_neg_56(self) -> Self

Sets the horizontal margin of the element. Docs

14rem (224px at the default rem size)

Source

fn mx_64(self) -> Self

Sets the horizontal margin of the element. Docs

16rem (256px at the default rem size)

Source

fn mx_neg_64(self) -> Self

Sets the horizontal margin of the element. Docs

16rem (256px at the default rem size)

Source

fn mx_72(self) -> Self

Sets the horizontal margin of the element. Docs

18rem (288px at the default rem size)

Source

fn mx_neg_72(self) -> Self

Sets the horizontal margin of the element. Docs

18rem (288px at the default rem size)

Source

fn mx_80(self) -> Self

Sets the horizontal margin of the element. Docs

20rem (320px at the default rem size)

Source

fn mx_neg_80(self) -> Self

Sets the horizontal margin of the element. Docs

20rem (320px at the default rem size)

Source

fn mx_96(self) -> Self

Sets the horizontal margin of the element. Docs

24rem (384px at the default rem size)

Source

fn mx_neg_96(self) -> Self

Sets the horizontal margin of the element. Docs

24rem (384px at the default rem size)

Source

fn mx_112(self) -> Self

Sets the horizontal margin of the element. Docs

28rem (448px at the default rem size)

Source

fn mx_neg_112(self) -> Self

Sets the horizontal margin of the element. Docs

28rem (448px at the default rem size)

Source

fn mx_128(self) -> Self

Sets the horizontal margin of the element. Docs

32rem (512px at the default rem size)

Source

fn mx_neg_128(self) -> Self

Sets the horizontal margin of the element. Docs

32rem (512px at the default rem size)

Source

fn mx_auto(self) -> Self

Sets the horizontal margin of the element. Docs

Auto

Source

fn mx_px(self) -> Self

Sets the horizontal margin of the element. Docs

1px

Source

fn mx_neg_px(self) -> Self

Sets the horizontal margin of the element. Docs

1px

Source

fn mx_full(self) -> Self

Sets the horizontal margin of the element. Docs

100%

Source

fn mx_neg_full(self) -> Self

Sets the horizontal margin of the element. Docs

100%

Source

fn mx_1_2(self) -> Self

Sets the horizontal margin of the element. Docs

50% (1/2)

Source

fn mx_neg_1_2(self) -> Self

Sets the horizontal margin of the element. Docs

50% (1/2)

Source

fn mx_1_3(self) -> Self

Sets the horizontal margin of the element. Docs

33% (1/3)

Source

fn mx_neg_1_3(self) -> Self

Sets the horizontal margin of the element. Docs

33% (1/3)

Source

fn mx_2_3(self) -> Self

Sets the horizontal margin of the element. Docs

66% (2/3)

Source

fn mx_neg_2_3(self) -> Self

Sets the horizontal margin of the element. Docs

66% (2/3)

Source

fn mx_1_4(self) -> Self

Sets the horizontal margin of the element. Docs

25% (1/4)

Source

fn mx_neg_1_4(self) -> Self

Sets the horizontal margin of the element. Docs

25% (1/4)

Source

fn mx_2_4(self) -> Self

Sets the horizontal margin of the element. Docs

50% (2/4)

Source

fn mx_neg_2_4(self) -> Self

Sets the horizontal margin of the element. Docs

50% (2/4)

Source

fn mx_3_4(self) -> Self

Sets the horizontal margin of the element. Docs

75% (3/4)

Source

fn mx_neg_3_4(self) -> Self

Sets the horizontal margin of the element. Docs

75% (3/4)

Source

fn mx_1_5(self) -> Self

Sets the horizontal margin of the element. Docs

20% (1/5)

Source

fn mx_neg_1_5(self) -> Self

Sets the horizontal margin of the element. Docs

20% (1/5)

Source

fn mx_2_5(self) -> Self

Sets the horizontal margin of the element. Docs

40% (2/5)

Source

fn mx_neg_2_5(self) -> Self

Sets the horizontal margin of the element. Docs

40% (2/5)

Source

fn mx_3_5(self) -> Self

Sets the horizontal margin of the element. Docs

60% (3/5)

Source

fn mx_neg_3_5(self) -> Self

Sets the horizontal margin of the element. Docs

60% (3/5)

Source

fn mx_4_5(self) -> Self

Sets the horizontal margin of the element. Docs

80% (4/5)

Source

fn mx_neg_4_5(self) -> Self

Sets the horizontal margin of the element. Docs

80% (4/5)

Source

fn mx_1_6(self) -> Self

Sets the horizontal margin of the element. Docs

16% (1/6)

Source

fn mx_neg_1_6(self) -> Self

Sets the horizontal margin of the element. Docs

16% (1/6)

Source

fn mx_5_6(self) -> Self

Sets the horizontal margin of the element. Docs

83% (5/6)

Source

fn mx_neg_5_6(self) -> Self

Sets the horizontal margin of the element. Docs

83% (5/6)

Source

fn mx_1_12(self) -> Self

Sets the horizontal margin of the element. Docs

8% (1/12)

Source

fn mx_neg_1_12(self) -> Self

Sets the horizontal margin of the element. Docs

8% (1/12)

Source

fn ml(self, length: impl Clone + Into<Length>) -> Self

Sets the left margin of the element. Docs

Source

fn ml_0(self) -> Self

Sets the left margin of the element. Docs

0px

Source

fn ml_neg_0(self) -> Self

Sets the left margin of the element. Docs

0px

Source

fn ml_0p5(self) -> Self

Sets the left margin of the element. Docs

0.125rem (2px at the default rem size)

Source

fn ml_neg_0p5(self) -> Self

Sets the left margin of the element. Docs

0.125rem (2px at the default rem size)

Source

fn ml_1(self) -> Self

Sets the left margin of the element. Docs

0.25rem (4px at the default rem size)

Source

fn ml_neg_1(self) -> Self

Sets the left margin of the element. Docs

0.25rem (4px at the default rem size)

Source

fn ml_1p5(self) -> Self

Sets the left margin of the element. Docs

0.375rem (6px at the default rem size)

Source

fn ml_neg_1p5(self) -> Self

Sets the left margin of the element. Docs

0.375rem (6px at the default rem size)

Source

fn ml_2(self) -> Self

Sets the left margin of the element. Docs

0.5rem (8px at the default rem size)

Source

fn ml_neg_2(self) -> Self

Sets the left margin of the element. Docs

0.5rem (8px at the default rem size)

Source

fn ml_2p5(self) -> Self

Sets the left margin of the element. Docs

0.625rem (10px at the default rem size)

Source

fn ml_neg_2p5(self) -> Self

Sets the left margin of the element. Docs

0.625rem (10px at the default rem size)

Source

fn ml_3(self) -> Self

Sets the left margin of the element. Docs

0.75rem (12px at the default rem size)

Source

fn ml_neg_3(self) -> Self

Sets the left margin of the element. Docs

0.75rem (12px at the default rem size)

Source

fn ml_3p5(self) -> Self

Sets the left margin of the element. Docs

0.875rem (14px at the default rem size)

Source

fn ml_neg_3p5(self) -> Self

Sets the left margin of the element. Docs

0.875rem (14px at the default rem size)

Source

fn ml_4(self) -> Self

Sets the left margin of the element. Docs

1rem (16px at the default rem size)

Source

fn ml_neg_4(self) -> Self

Sets the left margin of the element. Docs

1rem (16px at the default rem size)

Source

fn ml_5(self) -> Self

Sets the left margin of the element. Docs

1.25rem (20px at the default rem size)

Source

fn ml_neg_5(self) -> Self

Sets the left margin of the element. Docs

1.25rem (20px at the default rem size)

Source

fn ml_6(self) -> Self

Sets the left margin of the element. Docs

1.5rem (24px at the default rem size)

Source

fn ml_neg_6(self) -> Self

Sets the left margin of the element. Docs

1.5rem (24px at the default rem size)

Source

fn ml_7(self) -> Self

Sets the left margin of the element. Docs

1.75rem (28px at the default rem size)

Source

fn ml_neg_7(self) -> Self

Sets the left margin of the element. Docs

1.75rem (28px at the default rem size)

Source

fn ml_8(self) -> Self

Sets the left margin of the element. Docs

2rem (32px at the default rem size)

Source

fn ml_neg_8(self) -> Self

Sets the left margin of the element. Docs

2rem (32px at the default rem size)

Source

fn ml_9(self) -> Self

Sets the left margin of the element. Docs

2.25rem (36px at the default rem size)

Source

fn ml_neg_9(self) -> Self

Sets the left margin of the element. Docs

2.25rem (36px at the default rem size)

Source

fn ml_10(self) -> Self

Sets the left margin of the element. Docs

2.5rem (40px at the default rem size)

Source

fn ml_neg_10(self) -> Self

Sets the left margin of the element. Docs

2.5rem (40px at the default rem size)

Source

fn ml_11(self) -> Self

Sets the left margin of the element. Docs

2.75rem (44px at the default rem size)

Source

fn ml_neg_11(self) -> Self

Sets the left margin of the element. Docs

2.75rem (44px at the default rem size)

Source

fn ml_12(self) -> Self

Sets the left margin of the element. Docs

3rem (48px at the default rem size)

Source

fn ml_neg_12(self) -> Self

Sets the left margin of the element. Docs

3rem (48px at the default rem size)

Source

fn ml_16(self) -> Self

Sets the left margin of the element. Docs

4rem (64px at the default rem size)

Source

fn ml_neg_16(self) -> Self

Sets the left margin of the element. Docs

4rem (64px at the default rem size)

Source

fn ml_20(self) -> Self

Sets the left margin of the element. Docs

5rem (80px at the default rem size)

Source

fn ml_neg_20(self) -> Self

Sets the left margin of the element. Docs

5rem (80px at the default rem size)

Source

fn ml_24(self) -> Self

Sets the left margin of the element. Docs

6rem (96px at the default rem size)

Source

fn ml_neg_24(self) -> Self

Sets the left margin of the element. Docs

6rem (96px at the default rem size)

Source

fn ml_32(self) -> Self

Sets the left margin of the element. Docs

8rem (128px at the default rem size)

Source

fn ml_neg_32(self) -> Self

Sets the left margin of the element. Docs

8rem (128px at the default rem size)

Source

fn ml_40(self) -> Self

Sets the left margin of the element. Docs

10rem (160px at the default rem size)

Source

fn ml_neg_40(self) -> Self

Sets the left margin of the element. Docs

10rem (160px at the default rem size)

Source

fn ml_48(self) -> Self

Sets the left margin of the element. Docs

12rem (192px at the default rem size)

Source

fn ml_neg_48(self) -> Self

Sets the left margin of the element. Docs

12rem (192px at the default rem size)

Source

fn ml_56(self) -> Self

Sets the left margin of the element. Docs

14rem (224px at the default rem size)

Source

fn ml_neg_56(self) -> Self

Sets the left margin of the element. Docs

14rem (224px at the default rem size)

Source

fn ml_64(self) -> Self

Sets the left margin of the element. Docs

16rem (256px at the default rem size)

Source

fn ml_neg_64(self) -> Self

Sets the left margin of the element. Docs

16rem (256px at the default rem size)

Source

fn ml_72(self) -> Self

Sets the left margin of the element. Docs

18rem (288px at the default rem size)

Source

fn ml_neg_72(self) -> Self

Sets the left margin of the element. Docs

18rem (288px at the default rem size)

Source

fn ml_80(self) -> Self

Sets the left margin of the element. Docs

20rem (320px at the default rem size)

Source

fn ml_neg_80(self) -> Self

Sets the left margin of the element. Docs

20rem (320px at the default rem size)

Source

fn ml_96(self) -> Self

Sets the left margin of the element. Docs

24rem (384px at the default rem size)

Source

fn ml_neg_96(self) -> Self

Sets the left margin of the element. Docs

24rem (384px at the default rem size)

Source

fn ml_112(self) -> Self

Sets the left margin of the element. Docs

28rem (448px at the default rem size)

Source

fn ml_neg_112(self) -> Self

Sets the left margin of the element. Docs

28rem (448px at the default rem size)

Source

fn ml_128(self) -> Self

Sets the left margin of the element. Docs

32rem (512px at the default rem size)

Source

fn ml_neg_128(self) -> Self

Sets the left margin of the element. Docs

32rem (512px at the default rem size)

Source

fn ml_auto(self) -> Self

Sets the left margin of the element. Docs

Auto

Source

fn ml_px(self) -> Self

Sets the left margin of the element. Docs

1px

Source

fn ml_neg_px(self) -> Self

Sets the left margin of the element. Docs

1px

Source

fn ml_full(self) -> Self

Sets the left margin of the element. Docs

100%

Source

fn ml_neg_full(self) -> Self

Sets the left margin of the element. Docs

100%

Source

fn ml_1_2(self) -> Self

Sets the left margin of the element. Docs

50% (1/2)

Source

fn ml_neg_1_2(self) -> Self

Sets the left margin of the element. Docs

50% (1/2)

Source

fn ml_1_3(self) -> Self

Sets the left margin of the element. Docs

33% (1/3)

Source

fn ml_neg_1_3(self) -> Self

Sets the left margin of the element. Docs

33% (1/3)

Source

fn ml_2_3(self) -> Self

Sets the left margin of the element. Docs

66% (2/3)

Source

fn ml_neg_2_3(self) -> Self

Sets the left margin of the element. Docs

66% (2/3)

Source

fn ml_1_4(self) -> Self

Sets the left margin of the element. Docs

25% (1/4)

Source

fn ml_neg_1_4(self) -> Self

Sets the left margin of the element. Docs

25% (1/4)

Source

fn ml_2_4(self) -> Self

Sets the left margin of the element. Docs

50% (2/4)

Source

fn ml_neg_2_4(self) -> Self

Sets the left margin of the element. Docs

50% (2/4)

Source

fn ml_3_4(self) -> Self

Sets the left margin of the element. Docs

75% (3/4)

Source

fn ml_neg_3_4(self) -> Self

Sets the left margin of the element. Docs

75% (3/4)

Source

fn ml_1_5(self) -> Self

Sets the left margin of the element. Docs

20% (1/5)

Source

fn ml_neg_1_5(self) -> Self

Sets the left margin of the element. Docs

20% (1/5)

Source

fn ml_2_5(self) -> Self

Sets the left margin of the element. Docs

40% (2/5)

Source

fn ml_neg_2_5(self) -> Self

Sets the left margin of the element. Docs

40% (2/5)

Source

fn ml_3_5(self) -> Self

Sets the left margin of the element. Docs

60% (3/5)

Source

fn ml_neg_3_5(self) -> Self

Sets the left margin of the element. Docs

60% (3/5)

Source

fn ml_4_5(self) -> Self

Sets the left margin of the element. Docs

80% (4/5)

Source

fn ml_neg_4_5(self) -> Self

Sets the left margin of the element. Docs

80% (4/5)

Source

fn ml_1_6(self) -> Self

Sets the left margin of the element. Docs

16% (1/6)

Source

fn ml_neg_1_6(self) -> Self

Sets the left margin of the element. Docs

16% (1/6)

Source

fn ml_5_6(self) -> Self

Sets the left margin of the element. Docs

83% (5/6)

Source

fn ml_neg_5_6(self) -> Self

Sets the left margin of the element. Docs

83% (5/6)

Source

fn ml_1_12(self) -> Self

Sets the left margin of the element. Docs

8% (1/12)

Source

fn ml_neg_1_12(self) -> Self

Sets the left margin of the element. Docs

8% (1/12)

Source

fn mr(self, length: impl Clone + Into<Length>) -> Self

Sets the right margin of the element. Docs

Source

fn mr_0(self) -> Self

Sets the right margin of the element. Docs

0px

Source

fn mr_neg_0(self) -> Self

Sets the right margin of the element. Docs

0px

Source

fn mr_0p5(self) -> Self

Sets the right margin of the element. Docs

0.125rem (2px at the default rem size)

Source

fn mr_neg_0p5(self) -> Self

Sets the right margin of the element. Docs

0.125rem (2px at the default rem size)

Source

fn mr_1(self) -> Self

Sets the right margin of the element. Docs

0.25rem (4px at the default rem size)

Source

fn mr_neg_1(self) -> Self

Sets the right margin of the element. Docs

0.25rem (4px at the default rem size)

Source

fn mr_1p5(self) -> Self

Sets the right margin of the element. Docs

0.375rem (6px at the default rem size)

Source

fn mr_neg_1p5(self) -> Self

Sets the right margin of the element. Docs

0.375rem (6px at the default rem size)

Source

fn mr_2(self) -> Self

Sets the right margin of the element. Docs

0.5rem (8px at the default rem size)

Source

fn mr_neg_2(self) -> Self

Sets the right margin of the element. Docs

0.5rem (8px at the default rem size)

Source

fn mr_2p5(self) -> Self

Sets the right margin of the element. Docs

0.625rem (10px at the default rem size)

Source

fn mr_neg_2p5(self) -> Self

Sets the right margin of the element. Docs

0.625rem (10px at the default rem size)

Source

fn mr_3(self) -> Self

Sets the right margin of the element. Docs

0.75rem (12px at the default rem size)

Source

fn mr_neg_3(self) -> Self

Sets the right margin of the element. Docs

0.75rem (12px at the default rem size)

Source

fn mr_3p5(self) -> Self

Sets the right margin of the element. Docs

0.875rem (14px at the default rem size)

Source

fn mr_neg_3p5(self) -> Self

Sets the right margin of the element. Docs

0.875rem (14px at the default rem size)

Source

fn mr_4(self) -> Self

Sets the right margin of the element. Docs

1rem (16px at the default rem size)

Source

fn mr_neg_4(self) -> Self

Sets the right margin of the element. Docs

1rem (16px at the default rem size)

Source

fn mr_5(self) -> Self

Sets the right margin of the element. Docs

1.25rem (20px at the default rem size)

Source

fn mr_neg_5(self) -> Self

Sets the right margin of the element. Docs

1.25rem (20px at the default rem size)

Source

fn mr_6(self) -> Self

Sets the right margin of the element. Docs

1.5rem (24px at the default rem size)

Source

fn mr_neg_6(self) -> Self

Sets the right margin of the element. Docs

1.5rem (24px at the default rem size)

Source

fn mr_7(self) -> Self

Sets the right margin of the element. Docs

1.75rem (28px at the default rem size)

Source

fn mr_neg_7(self) -> Self

Sets the right margin of the element. Docs

1.75rem (28px at the default rem size)

Source

fn mr_8(self) -> Self

Sets the right margin of the element. Docs

2rem (32px at the default rem size)

Source

fn mr_neg_8(self) -> Self

Sets the right margin of the element. Docs

2rem (32px at the default rem size)

Source

fn mr_9(self) -> Self

Sets the right margin of the element. Docs

2.25rem (36px at the default rem size)

Source

fn mr_neg_9(self) -> Self

Sets the right margin of the element. Docs

2.25rem (36px at the default rem size)

Source

fn mr_10(self) -> Self

Sets the right margin of the element. Docs

2.5rem (40px at the default rem size)

Source

fn mr_neg_10(self) -> Self

Sets the right margin of the element. Docs

2.5rem (40px at the default rem size)

Source

fn mr_11(self) -> Self

Sets the right margin of the element. Docs

2.75rem (44px at the default rem size)

Source

fn mr_neg_11(self) -> Self

Sets the right margin of the element. Docs

2.75rem (44px at the default rem size)

Source

fn mr_12(self) -> Self

Sets the right margin of the element. Docs

3rem (48px at the default rem size)

Source

fn mr_neg_12(self) -> Self

Sets the right margin of the element. Docs

3rem (48px at the default rem size)

Source

fn mr_16(self) -> Self

Sets the right margin of the element. Docs

4rem (64px at the default rem size)

Source

fn mr_neg_16(self) -> Self

Sets the right margin of the element. Docs

4rem (64px at the default rem size)

Source

fn mr_20(self) -> Self

Sets the right margin of the element. Docs

5rem (80px at the default rem size)

Source

fn mr_neg_20(self) -> Self

Sets the right margin of the element. Docs

5rem (80px at the default rem size)

Source

fn mr_24(self) -> Self

Sets the right margin of the element. Docs

6rem (96px at the default rem size)

Source

fn mr_neg_24(self) -> Self

Sets the right margin of the element. Docs

6rem (96px at the default rem size)

Source

fn mr_32(self) -> Self

Sets the right margin of the element. Docs

8rem (128px at the default rem size)

Source

fn mr_neg_32(self) -> Self

Sets the right margin of the element. Docs

8rem (128px at the default rem size)

Source

fn mr_40(self) -> Self

Sets the right margin of the element. Docs

10rem (160px at the default rem size)

Source

fn mr_neg_40(self) -> Self

Sets the right margin of the element. Docs

10rem (160px at the default rem size)

Source

fn mr_48(self) -> Self

Sets the right margin of the element. Docs

12rem (192px at the default rem size)

Source

fn mr_neg_48(self) -> Self

Sets the right margin of the element. Docs

12rem (192px at the default rem size)

Source

fn mr_56(self) -> Self

Sets the right margin of the element. Docs

14rem (224px at the default rem size)

Source

fn mr_neg_56(self) -> Self

Sets the right margin of the element. Docs

14rem (224px at the default rem size)

Source

fn mr_64(self) -> Self

Sets the right margin of the element. Docs

16rem (256px at the default rem size)

Source

fn mr_neg_64(self) -> Self

Sets the right margin of the element. Docs

16rem (256px at the default rem size)

Source

fn mr_72(self) -> Self

Sets the right margin of the element. Docs

18rem (288px at the default rem size)

Source

fn mr_neg_72(self) -> Self

Sets the right margin of the element. Docs

18rem (288px at the default rem size)

Source

fn mr_80(self) -> Self

Sets the right margin of the element. Docs

20rem (320px at the default rem size)

Source

fn mr_neg_80(self) -> Self

Sets the right margin of the element. Docs

20rem (320px at the default rem size)

Source

fn mr_96(self) -> Self

Sets the right margin of the element. Docs

24rem (384px at the default rem size)

Source

fn mr_neg_96(self) -> Self

Sets the right margin of the element. Docs

24rem (384px at the default rem size)

Source

fn mr_112(self) -> Self

Sets the right margin of the element. Docs

28rem (448px at the default rem size)

Source

fn mr_neg_112(self) -> Self

Sets the right margin of the element. Docs

28rem (448px at the default rem size)

Source

fn mr_128(self) -> Self

Sets the right margin of the element. Docs

32rem (512px at the default rem size)

Source

fn mr_neg_128(self) -> Self

Sets the right margin of the element. Docs

32rem (512px at the default rem size)

Source

fn mr_auto(self) -> Self

Sets the right margin of the element. Docs

Auto

Source

fn mr_px(self) -> Self

Sets the right margin of the element. Docs

1px

Source

fn mr_neg_px(self) -> Self

Sets the right margin of the element. Docs

1px

Source

fn mr_full(self) -> Self

Sets the right margin of the element. Docs

100%

Source

fn mr_neg_full(self) -> Self

Sets the right margin of the element. Docs

100%

Source

fn mr_1_2(self) -> Self

Sets the right margin of the element. Docs

50% (1/2)

Source

fn mr_neg_1_2(self) -> Self

Sets the right margin of the element. Docs

50% (1/2)

Source

fn mr_1_3(self) -> Self

Sets the right margin of the element. Docs

33% (1/3)

Source

fn mr_neg_1_3(self) -> Self

Sets the right margin of the element. Docs

33% (1/3)

Source

fn mr_2_3(self) -> Self

Sets the right margin of the element. Docs

66% (2/3)

Source

fn mr_neg_2_3(self) -> Self

Sets the right margin of the element. Docs

66% (2/3)

Source

fn mr_1_4(self) -> Self

Sets the right margin of the element. Docs

25% (1/4)

Source

fn mr_neg_1_4(self) -> Self

Sets the right margin of the element. Docs

25% (1/4)

Source

fn mr_2_4(self) -> Self

Sets the right margin of the element. Docs

50% (2/4)

Source

fn mr_neg_2_4(self) -> Self

Sets the right margin of the element. Docs

50% (2/4)

Source

fn mr_3_4(self) -> Self

Sets the right margin of the element. Docs

75% (3/4)

Source

fn mr_neg_3_4(self) -> Self

Sets the right margin of the element. Docs

75% (3/4)

Source

fn mr_1_5(self) -> Self

Sets the right margin of the element. Docs

20% (1/5)

Source

fn mr_neg_1_5(self) -> Self

Sets the right margin of the element. Docs

20% (1/5)

Source

fn mr_2_5(self) -> Self

Sets the right margin of the element. Docs

40% (2/5)

Source

fn mr_neg_2_5(self) -> Self

Sets the right margin of the element. Docs

40% (2/5)

Source

fn mr_3_5(self) -> Self

Sets the right margin of the element. Docs

60% (3/5)

Source

fn mr_neg_3_5(self) -> Self

Sets the right margin of the element. Docs

60% (3/5)

Source

fn mr_4_5(self) -> Self

Sets the right margin of the element. Docs

80% (4/5)

Source

fn mr_neg_4_5(self) -> Self

Sets the right margin of the element. Docs

80% (4/5)

Source

fn mr_1_6(self) -> Self

Sets the right margin of the element. Docs

16% (1/6)

Source

fn mr_neg_1_6(self) -> Self

Sets the right margin of the element. Docs

16% (1/6)

Source

fn mr_5_6(self) -> Self

Sets the right margin of the element. Docs

83% (5/6)

Source

fn mr_neg_5_6(self) -> Self

Sets the right margin of the element. Docs

83% (5/6)

Source

fn mr_1_12(self) -> Self

Sets the right margin of the element. Docs

8% (1/12)

Source

fn mr_neg_1_12(self) -> Self

Sets the right margin of the element. Docs

8% (1/12)

Source

fn p(self, length: impl Clone + Into<DefiniteLength>) -> Self

Sets the padding of the element. Docs

Source

fn p_0(self) -> Self

Sets the padding of the element. Docs

0px

Source

fn p_neg_0(self) -> Self

Sets the padding of the element. Docs

0px

Source

fn p_0p5(self) -> Self

Sets the padding of the element. Docs

0.125rem (2px at the default rem size)

Source

fn p_neg_0p5(self) -> Self

Sets the padding of the element. Docs

0.125rem (2px at the default rem size)

Source

fn p_1(self) -> Self

Sets the padding of the element. Docs

0.25rem (4px at the default rem size)

Source

fn p_neg_1(self) -> Self

Sets the padding of the element. Docs

0.25rem (4px at the default rem size)

Source

fn p_1p5(self) -> Self

Sets the padding of the element. Docs

0.375rem (6px at the default rem size)

Source

fn p_neg_1p5(self) -> Self

Sets the padding of the element. Docs

0.375rem (6px at the default rem size)

Source

fn p_2(self) -> Self

Sets the padding of the element. Docs

0.5rem (8px at the default rem size)

Source

fn p_neg_2(self) -> Self

Sets the padding of the element. Docs

0.5rem (8px at the default rem size)

Source

fn p_2p5(self) -> Self

Sets the padding of the element. Docs

0.625rem (10px at the default rem size)

Source

fn p_neg_2p5(self) -> Self

Sets the padding of the element. Docs

0.625rem (10px at the default rem size)

Source

fn p_3(self) -> Self

Sets the padding of the element. Docs

0.75rem (12px at the default rem size)

Source

fn p_neg_3(self) -> Self

Sets the padding of the element. Docs

0.75rem (12px at the default rem size)

Source

fn p_3p5(self) -> Self

Sets the padding of the element. Docs

0.875rem (14px at the default rem size)

Source

fn p_neg_3p5(self) -> Self

Sets the padding of the element. Docs

0.875rem (14px at the default rem size)

Source

fn p_4(self) -> Self

Sets the padding of the element. Docs

1rem (16px at the default rem size)

Source

fn p_neg_4(self) -> Self

Sets the padding of the element. Docs

1rem (16px at the default rem size)

Source

fn p_5(self) -> Self

Sets the padding of the element. Docs

1.25rem (20px at the default rem size)

Source

fn p_neg_5(self) -> Self

Sets the padding of the element. Docs

1.25rem (20px at the default rem size)

Source

fn p_6(self) -> Self

Sets the padding of the element. Docs

1.5rem (24px at the default rem size)

Source

fn p_neg_6(self) -> Self

Sets the padding of the element. Docs

1.5rem (24px at the default rem size)

Source

fn p_7(self) -> Self

Sets the padding of the element. Docs

1.75rem (28px at the default rem size)

Source

fn p_neg_7(self) -> Self

Sets the padding of the element. Docs

1.75rem (28px at the default rem size)

Source

fn p_8(self) -> Self

Sets the padding of the element. Docs

2rem (32px at the default rem size)

Source

fn p_neg_8(self) -> Self

Sets the padding of the element. Docs

2rem (32px at the default rem size)

Source

fn p_9(self) -> Self

Sets the padding of the element. Docs

2.25rem (36px at the default rem size)

Source

fn p_neg_9(self) -> Self

Sets the padding of the element. Docs

2.25rem (36px at the default rem size)

Source

fn p_10(self) -> Self

Sets the padding of the element. Docs

2.5rem (40px at the default rem size)

Source

fn p_neg_10(self) -> Self

Sets the padding of the element. Docs

2.5rem (40px at the default rem size)

Source

fn p_11(self) -> Self

Sets the padding of the element. Docs

2.75rem (44px at the default rem size)

Source

fn p_neg_11(self) -> Self

Sets the padding of the element. Docs

2.75rem (44px at the default rem size)

Source

fn p_12(self) -> Self

Sets the padding of the element. Docs

3rem (48px at the default rem size)

Source

fn p_neg_12(self) -> Self

Sets the padding of the element. Docs

3rem (48px at the default rem size)

Source

fn p_16(self) -> Self

Sets the padding of the element. Docs

4rem (64px at the default rem size)

Source

fn p_neg_16(self) -> Self

Sets the padding of the element. Docs

4rem (64px at the default rem size)

Source

fn p_20(self) -> Self

Sets the padding of the element. Docs

5rem (80px at the default rem size)

Source

fn p_neg_20(self) -> Self

Sets the padding of the element. Docs

5rem (80px at the default rem size)

Source

fn p_24(self) -> Self

Sets the padding of the element. Docs

6rem (96px at the default rem size)

Source

fn p_neg_24(self) -> Self

Sets the padding of the element. Docs

6rem (96px at the default rem size)

Source

fn p_32(self) -> Self

Sets the padding of the element. Docs

8rem (128px at the default rem size)

Source

fn p_neg_32(self) -> Self

Sets the padding of the element. Docs

8rem (128px at the default rem size)

Source

fn p_40(self) -> Self

Sets the padding of the element. Docs

10rem (160px at the default rem size)

Source

fn p_neg_40(self) -> Self

Sets the padding of the element. Docs

10rem (160px at the default rem size)

Source

fn p_48(self) -> Self

Sets the padding of the element. Docs

12rem (192px at the default rem size)

Source

fn p_neg_48(self) -> Self

Sets the padding of the element. Docs

12rem (192px at the default rem size)

Source

fn p_56(self) -> Self

Sets the padding of the element. Docs

14rem (224px at the default rem size)

Source

fn p_neg_56(self) -> Self

Sets the padding of the element. Docs

14rem (224px at the default rem size)

Source

fn p_64(self) -> Self

Sets the padding of the element. Docs

16rem (256px at the default rem size)

Source

fn p_neg_64(self) -> Self

Sets the padding of the element. Docs

16rem (256px at the default rem size)

Source

fn p_72(self) -> Self

Sets the padding of the element. Docs

18rem (288px at the default rem size)

Source

fn p_neg_72(self) -> Self

Sets the padding of the element. Docs

18rem (288px at the default rem size)

Source

fn p_80(self) -> Self

Sets the padding of the element. Docs

20rem (320px at the default rem size)

Source

fn p_neg_80(self) -> Self

Sets the padding of the element. Docs

20rem (320px at the default rem size)

Source

fn p_96(self) -> Self

Sets the padding of the element. Docs

24rem (384px at the default rem size)

Source

fn p_neg_96(self) -> Self

Sets the padding of the element. Docs

24rem (384px at the default rem size)

Source

fn p_112(self) -> Self

Sets the padding of the element. Docs

28rem (448px at the default rem size)

Source

fn p_neg_112(self) -> Self

Sets the padding of the element. Docs

28rem (448px at the default rem size)

Source

fn p_128(self) -> Self

Sets the padding of the element. Docs

32rem (512px at the default rem size)

Source

fn p_neg_128(self) -> Self

Sets the padding of the element. Docs

32rem (512px at the default rem size)

Source

fn p_px(self) -> Self

Sets the padding of the element. Docs

1px

Source

fn p_neg_px(self) -> Self

Sets the padding of the element. Docs

1px

Source

fn p_full(self) -> Self

Sets the padding of the element. Docs

100%

Source

fn p_neg_full(self) -> Self

Sets the padding of the element. Docs

100%

Source

fn p_1_2(self) -> Self

Sets the padding of the element. Docs

50% (1/2)

Source

fn p_neg_1_2(self) -> Self

Sets the padding of the element. Docs

50% (1/2)

Source

fn p_1_3(self) -> Self

Sets the padding of the element. Docs

33% (1/3)

Source

fn p_neg_1_3(self) -> Self

Sets the padding of the element. Docs

33% (1/3)

Source

fn p_2_3(self) -> Self

Sets the padding of the element. Docs

66% (2/3)

Source

fn p_neg_2_3(self) -> Self

Sets the padding of the element. Docs

66% (2/3)

Source

fn p_1_4(self) -> Self

Sets the padding of the element. Docs

25% (1/4)

Source

fn p_neg_1_4(self) -> Self

Sets the padding of the element. Docs

25% (1/4)

Source

fn p_2_4(self) -> Self

Sets the padding of the element. Docs

50% (2/4)

Source

fn p_neg_2_4(self) -> Self

Sets the padding of the element. Docs

50% (2/4)

Source

fn p_3_4(self) -> Self

Sets the padding of the element. Docs

75% (3/4)

Source

fn p_neg_3_4(self) -> Self

Sets the padding of the element. Docs

75% (3/4)

Source

fn p_1_5(self) -> Self

Sets the padding of the element. Docs

20% (1/5)

Source

fn p_neg_1_5(self) -> Self

Sets the padding of the element. Docs

20% (1/5)

Source

fn p_2_5(self) -> Self

Sets the padding of the element. Docs

40% (2/5)

Source

fn p_neg_2_5(self) -> Self

Sets the padding of the element. Docs

40% (2/5)

Source

fn p_3_5(self) -> Self

Sets the padding of the element. Docs

60% (3/5)

Source

fn p_neg_3_5(self) -> Self

Sets the padding of the element. Docs

60% (3/5)

Source

fn p_4_5(self) -> Self

Sets the padding of the element. Docs

80% (4/5)

Source

fn p_neg_4_5(self) -> Self

Sets the padding of the element. Docs

80% (4/5)

Source

fn p_1_6(self) -> Self

Sets the padding of the element. Docs

16% (1/6)

Source

fn p_neg_1_6(self) -> Self

Sets the padding of the element. Docs

16% (1/6)

Source

fn p_5_6(self) -> Self

Sets the padding of the element. Docs

83% (5/6)

Source

fn p_neg_5_6(self) -> Self

Sets the padding of the element. Docs

83% (5/6)

Source

fn p_1_12(self) -> Self

Sets the padding of the element. Docs

8% (1/12)

Source

fn p_neg_1_12(self) -> Self

Sets the padding of the element. Docs

8% (1/12)

Source

fn pt(self, length: impl Clone + Into<DefiniteLength>) -> Self

Sets the top padding of the element. Docs

Source

fn pt_0(self) -> Self

Sets the top padding of the element. Docs

0px

Source

fn pt_neg_0(self) -> Self

Sets the top padding of the element. Docs

0px

Source

fn pt_0p5(self) -> Self

Sets the top padding of the element. Docs

0.125rem (2px at the default rem size)

Source

fn pt_neg_0p5(self) -> Self

Sets the top padding of the element. Docs

0.125rem (2px at the default rem size)

Source

fn pt_1(self) -> Self

Sets the top padding of the element. Docs

0.25rem (4px at the default rem size)

Source

fn pt_neg_1(self) -> Self

Sets the top padding of the element. Docs

0.25rem (4px at the default rem size)

Source

fn pt_1p5(self) -> Self

Sets the top padding of the element. Docs

0.375rem (6px at the default rem size)

Source

fn pt_neg_1p5(self) -> Self

Sets the top padding of the element. Docs

0.375rem (6px at the default rem size)

Source

fn pt_2(self) -> Self

Sets the top padding of the element. Docs

0.5rem (8px at the default rem size)

Source

fn pt_neg_2(self) -> Self

Sets the top padding of the element. Docs

0.5rem (8px at the default rem size)

Source

fn pt_2p5(self) -> Self

Sets the top padding of the element. Docs

0.625rem (10px at the default rem size)

Source

fn pt_neg_2p5(self) -> Self

Sets the top padding of the element. Docs

0.625rem (10px at the default rem size)

Source

fn pt_3(self) -> Self

Sets the top padding of the element. Docs

0.75rem (12px at the default rem size)

Source

fn pt_neg_3(self) -> Self

Sets the top padding of the element. Docs

0.75rem (12px at the default rem size)

Source

fn pt_3p5(self) -> Self

Sets the top padding of the element. Docs

0.875rem (14px at the default rem size)

Source

fn pt_neg_3p5(self) -> Self

Sets the top padding of the element. Docs

0.875rem (14px at the default rem size)

Source

fn pt_4(self) -> Self

Sets the top padding of the element. Docs

1rem (16px at the default rem size)

Source

fn pt_neg_4(self) -> Self

Sets the top padding of the element. Docs

1rem (16px at the default rem size)

Source

fn pt_5(self) -> Self

Sets the top padding of the element. Docs

1.25rem (20px at the default rem size)

Source

fn pt_neg_5(self) -> Self

Sets the top padding of the element. Docs

1.25rem (20px at the default rem size)

Source

fn pt_6(self) -> Self

Sets the top padding of the element. Docs

1.5rem (24px at the default rem size)

Source

fn pt_neg_6(self) -> Self

Sets the top padding of the element. Docs

1.5rem (24px at the default rem size)

Source

fn pt_7(self) -> Self

Sets the top padding of the element. Docs

1.75rem (28px at the default rem size)

Source

fn pt_neg_7(self) -> Self

Sets the top padding of the element. Docs

1.75rem (28px at the default rem size)

Source

fn pt_8(self) -> Self

Sets the top padding of the element. Docs

2rem (32px at the default rem size)

Source

fn pt_neg_8(self) -> Self

Sets the top padding of the element. Docs

2rem (32px at the default rem size)

Source

fn pt_9(self) -> Self

Sets the top padding of the element. Docs

2.25rem (36px at the default rem size)

Source

fn pt_neg_9(self) -> Self

Sets the top padding of the element. Docs

2.25rem (36px at the default rem size)

Source

fn pt_10(self) -> Self

Sets the top padding of the element. Docs

2.5rem (40px at the default rem size)

Source

fn pt_neg_10(self) -> Self

Sets the top padding of the element. Docs

2.5rem (40px at the default rem size)

Source

fn pt_11(self) -> Self

Sets the top padding of the element. Docs

2.75rem (44px at the default rem size)

Source

fn pt_neg_11(self) -> Self

Sets the top padding of the element. Docs

2.75rem (44px at the default rem size)

Source

fn pt_12(self) -> Self

Sets the top padding of the element. Docs

3rem (48px at the default rem size)

Source

fn pt_neg_12(self) -> Self

Sets the top padding of the element. Docs

3rem (48px at the default rem size)

Source

fn pt_16(self) -> Self

Sets the top padding of the element. Docs

4rem (64px at the default rem size)

Source

fn pt_neg_16(self) -> Self

Sets the top padding of the element. Docs

4rem (64px at the default rem size)

Source

fn pt_20(self) -> Self

Sets the top padding of the element. Docs

5rem (80px at the default rem size)

Source

fn pt_neg_20(self) -> Self

Sets the top padding of the element. Docs

5rem (80px at the default rem size)

Source

fn pt_24(self) -> Self

Sets the top padding of the element. Docs

6rem (96px at the default rem size)

Source

fn pt_neg_24(self) -> Self

Sets the top padding of the element. Docs

6rem (96px at the default rem size)

Source

fn pt_32(self) -> Self

Sets the top padding of the element. Docs

8rem (128px at the default rem size)

Source

fn pt_neg_32(self) -> Self

Sets the top padding of the element. Docs

8rem (128px at the default rem size)

Source

fn pt_40(self) -> Self

Sets the top padding of the element. Docs

10rem (160px at the default rem size)

Source

fn pt_neg_40(self) -> Self

Sets the top padding of the element. Docs

10rem (160px at the default rem size)

Source

fn pt_48(self) -> Self

Sets the top padding of the element. Docs

12rem (192px at the default rem size)

Source

fn pt_neg_48(self) -> Self

Sets the top padding of the element. Docs

12rem (192px at the default rem size)

Source

fn pt_56(self) -> Self

Sets the top padding of the element. Docs

14rem (224px at the default rem size)

Source

fn pt_neg_56(self) -> Self

Sets the top padding of the element. Docs

14rem (224px at the default rem size)

Source

fn pt_64(self) -> Self

Sets the top padding of the element. Docs

16rem (256px at the default rem size)

Source

fn pt_neg_64(self) -> Self

Sets the top padding of the element. Docs

16rem (256px at the default rem size)

Source

fn pt_72(self) -> Self

Sets the top padding of the element. Docs

18rem (288px at the default rem size)

Source

fn pt_neg_72(self) -> Self

Sets the top padding of the element. Docs

18rem (288px at the default rem size)

Source

fn pt_80(self) -> Self

Sets the top padding of the element. Docs

20rem (320px at the default rem size)

Source

fn pt_neg_80(self) -> Self

Sets the top padding of the element. Docs

20rem (320px at the default rem size)

Source

fn pt_96(self) -> Self

Sets the top padding of the element. Docs

24rem (384px at the default rem size)

Source

fn pt_neg_96(self) -> Self

Sets the top padding of the element. Docs

24rem (384px at the default rem size)

Source

fn pt_112(self) -> Self

Sets the top padding of the element. Docs

28rem (448px at the default rem size)

Source

fn pt_neg_112(self) -> Self

Sets the top padding of the element. Docs

28rem (448px at the default rem size)

Source

fn pt_128(self) -> Self

Sets the top padding of the element. Docs

32rem (512px at the default rem size)

Source

fn pt_neg_128(self) -> Self

Sets the top padding of the element. Docs

32rem (512px at the default rem size)

Source

fn pt_px(self) -> Self

Sets the top padding of the element. Docs

1px

Source

fn pt_neg_px(self) -> Self

Sets the top padding of the element. Docs

1px

Source

fn pt_full(self) -> Self

Sets the top padding of the element. Docs

100%

Source

fn pt_neg_full(self) -> Self

Sets the top padding of the element. Docs

100%

Source

fn pt_1_2(self) -> Self

Sets the top padding of the element. Docs

50% (1/2)

Source

fn pt_neg_1_2(self) -> Self

Sets the top padding of the element. Docs

50% (1/2)

Source

fn pt_1_3(self) -> Self

Sets the top padding of the element. Docs

33% (1/3)

Source

fn pt_neg_1_3(self) -> Self

Sets the top padding of the element. Docs

33% (1/3)

Source

fn pt_2_3(self) -> Self

Sets the top padding of the element. Docs

66% (2/3)

Source

fn pt_neg_2_3(self) -> Self

Sets the top padding of the element. Docs

66% (2/3)

Source

fn pt_1_4(self) -> Self

Sets the top padding of the element. Docs

25% (1/4)

Source

fn pt_neg_1_4(self) -> Self

Sets the top padding of the element. Docs

25% (1/4)

Source

fn pt_2_4(self) -> Self

Sets the top padding of the element. Docs

50% (2/4)

Source

fn pt_neg_2_4(self) -> Self

Sets the top padding of the element. Docs

50% (2/4)

Source

fn pt_3_4(self) -> Self

Sets the top padding of the element. Docs

75% (3/4)

Source

fn pt_neg_3_4(self) -> Self

Sets the top padding of the element. Docs

75% (3/4)

Source

fn pt_1_5(self) -> Self

Sets the top padding of the element. Docs

20% (1/5)

Source

fn pt_neg_1_5(self) -> Self

Sets the top padding of the element. Docs

20% (1/5)

Source

fn pt_2_5(self) -> Self

Sets the top padding of the element. Docs

40% (2/5)

Source

fn pt_neg_2_5(self) -> Self

Sets the top padding of the element. Docs

40% (2/5)

Source

fn pt_3_5(self) -> Self

Sets the top padding of the element. Docs

60% (3/5)

Source

fn pt_neg_3_5(self) -> Self

Sets the top padding of the element. Docs

60% (3/5)

Source

fn pt_4_5(self) -> Self

Sets the top padding of the element. Docs

80% (4/5)

Source

fn pt_neg_4_5(self) -> Self

Sets the top padding of the element. Docs

80% (4/5)

Source

fn pt_1_6(self) -> Self

Sets the top padding of the element. Docs

16% (1/6)

Source

fn pt_neg_1_6(self) -> Self

Sets the top padding of the element. Docs

16% (1/6)

Source

fn pt_5_6(self) -> Self

Sets the top padding of the element. Docs

83% (5/6)

Source

fn pt_neg_5_6(self) -> Self

Sets the top padding of the element. Docs

83% (5/6)

Source

fn pt_1_12(self) -> Self

Sets the top padding of the element. Docs

8% (1/12)

Source

fn pt_neg_1_12(self) -> Self

Sets the top padding of the element. Docs

8% (1/12)

Source

fn pb(self, length: impl Clone + Into<DefiniteLength>) -> Self

Sets the bottom padding of the element. Docs

Source

fn pb_0(self) -> Self

Sets the bottom padding of the element. Docs

0px

Source

fn pb_neg_0(self) -> Self

Sets the bottom padding of the element. Docs

0px

Source

fn pb_0p5(self) -> Self

Sets the bottom padding of the element. Docs

0.125rem (2px at the default rem size)

Source

fn pb_neg_0p5(self) -> Self

Sets the bottom padding of the element. Docs

0.125rem (2px at the default rem size)

Source

fn pb_1(self) -> Self

Sets the bottom padding of the element. Docs

0.25rem (4px at the default rem size)

Source

fn pb_neg_1(self) -> Self

Sets the bottom padding of the element. Docs

0.25rem (4px at the default rem size)

Source

fn pb_1p5(self) -> Self

Sets the bottom padding of the element. Docs

0.375rem (6px at the default rem size)

Source

fn pb_neg_1p5(self) -> Self

Sets the bottom padding of the element. Docs

0.375rem (6px at the default rem size)

Source

fn pb_2(self) -> Self

Sets the bottom padding of the element. Docs

0.5rem (8px at the default rem size)

Source

fn pb_neg_2(self) -> Self

Sets the bottom padding of the element. Docs

0.5rem (8px at the default rem size)

Source

fn pb_2p5(self) -> Self

Sets the bottom padding of the element. Docs

0.625rem (10px at the default rem size)

Source

fn pb_neg_2p5(self) -> Self

Sets the bottom padding of the element. Docs

0.625rem (10px at the default rem size)

Source

fn pb_3(self) -> Self

Sets the bottom padding of the element. Docs

0.75rem (12px at the default rem size)

Source

fn pb_neg_3(self) -> Self

Sets the bottom padding of the element. Docs

0.75rem (12px at the default rem size)

Source

fn pb_3p5(self) -> Self

Sets the bottom padding of the element. Docs

0.875rem (14px at the default rem size)

Source

fn pb_neg_3p5(self) -> Self

Sets the bottom padding of the element. Docs

0.875rem (14px at the default rem size)

Source

fn pb_4(self) -> Self

Sets the bottom padding of the element. Docs

1rem (16px at the default rem size)

Source

fn pb_neg_4(self) -> Self

Sets the bottom padding of the element. Docs

1rem (16px at the default rem size)

Source

fn pb_5(self) -> Self

Sets the bottom padding of the element. Docs

1.25rem (20px at the default rem size)

Source

fn pb_neg_5(self) -> Self

Sets the bottom padding of the element. Docs

1.25rem (20px at the default rem size)

Source

fn pb_6(self) -> Self

Sets the bottom padding of the element. Docs

1.5rem (24px at the default rem size)

Source

fn pb_neg_6(self) -> Self

Sets the bottom padding of the element. Docs

1.5rem (24px at the default rem size)

Source

fn pb_7(self) -> Self

Sets the bottom padding of the element. Docs

1.75rem (28px at the default rem size)

Source

fn pb_neg_7(self) -> Self

Sets the bottom padding of the element. Docs

1.75rem (28px at the default rem size)

Source

fn pb_8(self) -> Self

Sets the bottom padding of the element. Docs

2rem (32px at the default rem size)

Source

fn pb_neg_8(self) -> Self

Sets the bottom padding of the element. Docs

2rem (32px at the default rem size)

Source

fn pb_9(self) -> Self

Sets the bottom padding of the element. Docs

2.25rem (36px at the default rem size)

Source

fn pb_neg_9(self) -> Self

Sets the bottom padding of the element. Docs

2.25rem (36px at the default rem size)

Source

fn pb_10(self) -> Self

Sets the bottom padding of the element. Docs

2.5rem (40px at the default rem size)

Source

fn pb_neg_10(self) -> Self

Sets the bottom padding of the element. Docs

2.5rem (40px at the default rem size)

Source

fn pb_11(self) -> Self

Sets the bottom padding of the element. Docs

2.75rem (44px at the default rem size)

Source

fn pb_neg_11(self) -> Self

Sets the bottom padding of the element. Docs

2.75rem (44px at the default rem size)

Source

fn pb_12(self) -> Self

Sets the bottom padding of the element. Docs

3rem (48px at the default rem size)

Source

fn pb_neg_12(self) -> Self

Sets the bottom padding of the element. Docs

3rem (48px at the default rem size)

Source

fn pb_16(self) -> Self

Sets the bottom padding of the element. Docs

4rem (64px at the default rem size)

Source

fn pb_neg_16(self) -> Self

Sets the bottom padding of the element. Docs

4rem (64px at the default rem size)

Source

fn pb_20(self) -> Self

Sets the bottom padding of the element. Docs

5rem (80px at the default rem size)

Source

fn pb_neg_20(self) -> Self

Sets the bottom padding of the element. Docs

5rem (80px at the default rem size)

Source

fn pb_24(self) -> Self

Sets the bottom padding of the element. Docs

6rem (96px at the default rem size)

Source

fn pb_neg_24(self) -> Self

Sets the bottom padding of the element. Docs

6rem (96px at the default rem size)

Source

fn pb_32(self) -> Self

Sets the bottom padding of the element. Docs

8rem (128px at the default rem size)

Source

fn pb_neg_32(self) -> Self

Sets the bottom padding of the element. Docs

8rem (128px at the default rem size)

Source

fn pb_40(self) -> Self

Sets the bottom padding of the element. Docs

10rem (160px at the default rem size)

Source

fn pb_neg_40(self) -> Self

Sets the bottom padding of the element. Docs

10rem (160px at the default rem size)

Source

fn pb_48(self) -> Self

Sets the bottom padding of the element. Docs

12rem (192px at the default rem size)

Source

fn pb_neg_48(self) -> Self

Sets the bottom padding of the element. Docs

12rem (192px at the default rem size)

Source

fn pb_56(self) -> Self

Sets the bottom padding of the element. Docs

14rem (224px at the default rem size)

Source

fn pb_neg_56(self) -> Self

Sets the bottom padding of the element. Docs

14rem (224px at the default rem size)

Source

fn pb_64(self) -> Self

Sets the bottom padding of the element. Docs

16rem (256px at the default rem size)

Source

fn pb_neg_64(self) -> Self

Sets the bottom padding of the element. Docs

16rem (256px at the default rem size)

Source

fn pb_72(self) -> Self

Sets the bottom padding of the element. Docs

18rem (288px at the default rem size)

Source

fn pb_neg_72(self) -> Self

Sets the bottom padding of the element. Docs

18rem (288px at the default rem size)

Source

fn pb_80(self) -> Self

Sets the bottom padding of the element. Docs

20rem (320px at the default rem size)

Source

fn pb_neg_80(self) -> Self

Sets the bottom padding of the element. Docs

20rem (320px at the default rem size)

Source

fn pb_96(self) -> Self

Sets the bottom padding of the element. Docs

24rem (384px at the default rem size)

Source

fn pb_neg_96(self) -> Self

Sets the bottom padding of the element. Docs

24rem (384px at the default rem size)

Source

fn pb_112(self) -> Self

Sets the bottom padding of the element. Docs

28rem (448px at the default rem size)

Source

fn pb_neg_112(self) -> Self

Sets the bottom padding of the element. Docs

28rem (448px at the default rem size)

Source

fn pb_128(self) -> Self

Sets the bottom padding of the element. Docs

32rem (512px at the default rem size)

Source

fn pb_neg_128(self) -> Self

Sets the bottom padding of the element. Docs

32rem (512px at the default rem size)

Source

fn pb_px(self) -> Self

Sets the bottom padding of the element. Docs

1px

Source

fn pb_neg_px(self) -> Self

Sets the bottom padding of the element. Docs

1px

Source

fn pb_full(self) -> Self

Sets the bottom padding of the element. Docs

100%

Source

fn pb_neg_full(self) -> Self

Sets the bottom padding of the element. Docs

100%

Source

fn pb_1_2(self) -> Self

Sets the bottom padding of the element. Docs

50% (1/2)

Source

fn pb_neg_1_2(self) -> Self

Sets the bottom padding of the element. Docs

50% (1/2)

Source

fn pb_1_3(self) -> Self

Sets the bottom padding of the element. Docs

33% (1/3)

Source

fn pb_neg_1_3(self) -> Self

Sets the bottom padding of the element. Docs

33% (1/3)

Source

fn pb_2_3(self) -> Self

Sets the bottom padding of the element. Docs

66% (2/3)

Source

fn pb_neg_2_3(self) -> Self

Sets the bottom padding of the element. Docs

66% (2/3)

Source

fn pb_1_4(self) -> Self

Sets the bottom padding of the element. Docs

25% (1/4)

Source

fn pb_neg_1_4(self) -> Self

Sets the bottom padding of the element. Docs

25% (1/4)

Source

fn pb_2_4(self) -> Self

Sets the bottom padding of the element. Docs

50% (2/4)

Source

fn pb_neg_2_4(self) -> Self

Sets the bottom padding of the element. Docs

50% (2/4)

Source

fn pb_3_4(self) -> Self

Sets the bottom padding of the element. Docs

75% (3/4)

Source

fn pb_neg_3_4(self) -> Self

Sets the bottom padding of the element. Docs

75% (3/4)

Source

fn pb_1_5(self) -> Self

Sets the bottom padding of the element. Docs

20% (1/5)

Source

fn pb_neg_1_5(self) -> Self

Sets the bottom padding of the element. Docs

20% (1/5)

Source

fn pb_2_5(self) -> Self

Sets the bottom padding of the element. Docs

40% (2/5)

Source

fn pb_neg_2_5(self) -> Self

Sets the bottom padding of the element. Docs

40% (2/5)

Source

fn pb_3_5(self) -> Self

Sets the bottom padding of the element. Docs

60% (3/5)

Source

fn pb_neg_3_5(self) -> Self

Sets the bottom padding of the element. Docs

60% (3/5)

Source

fn pb_4_5(self) -> Self

Sets the bottom padding of the element. Docs

80% (4/5)

Source

fn pb_neg_4_5(self) -> Self

Sets the bottom padding of the element. Docs

80% (4/5)

Source

fn pb_1_6(self) -> Self

Sets the bottom padding of the element. Docs

16% (1/6)

Source

fn pb_neg_1_6(self) -> Self

Sets the bottom padding of the element. Docs

16% (1/6)

Source

fn pb_5_6(self) -> Self

Sets the bottom padding of the element. Docs

83% (5/6)

Source

fn pb_neg_5_6(self) -> Self

Sets the bottom padding of the element. Docs

83% (5/6)

Source

fn pb_1_12(self) -> Self

Sets the bottom padding of the element. Docs

8% (1/12)

Source

fn pb_neg_1_12(self) -> Self

Sets the bottom padding of the element. Docs

8% (1/12)

Source

fn px(self, length: impl Clone + Into<DefiniteLength>) -> Self

Sets the horizontal padding of the element. Docs

Source

fn px_0(self) -> Self

Sets the horizontal padding of the element. Docs

0px

Source

fn px_neg_0(self) -> Self

Sets the horizontal padding of the element. Docs

0px

Source

fn px_0p5(self) -> Self

Sets the horizontal padding of the element. Docs

0.125rem (2px at the default rem size)

Source

fn px_neg_0p5(self) -> Self

Sets the horizontal padding of the element. Docs

0.125rem (2px at the default rem size)

Source

fn px_1(self) -> Self

Sets the horizontal padding of the element. Docs

0.25rem (4px at the default rem size)

Source

fn px_neg_1(self) -> Self

Sets the horizontal padding of the element. Docs

0.25rem (4px at the default rem size)

Source

fn px_1p5(self) -> Self

Sets the horizontal padding of the element. Docs

0.375rem (6px at the default rem size)

Source

fn px_neg_1p5(self) -> Self

Sets the horizontal padding of the element. Docs

0.375rem (6px at the default rem size)

Source

fn px_2(self) -> Self

Sets the horizontal padding of the element. Docs

0.5rem (8px at the default rem size)

Source

fn px_neg_2(self) -> Self

Sets the horizontal padding of the element. Docs

0.5rem (8px at the default rem size)

Source

fn px_2p5(self) -> Self

Sets the horizontal padding of the element. Docs

0.625rem (10px at the default rem size)

Source

fn px_neg_2p5(self) -> Self

Sets the horizontal padding of the element. Docs

0.625rem (10px at the default rem size)

Source

fn px_3(self) -> Self

Sets the horizontal padding of the element. Docs

0.75rem (12px at the default rem size)

Source

fn px_neg_3(self) -> Self

Sets the horizontal padding of the element. Docs

0.75rem (12px at the default rem size)

Source

fn px_3p5(self) -> Self

Sets the horizontal padding of the element. Docs

0.875rem (14px at the default rem size)

Source

fn px_neg_3p5(self) -> Self

Sets the horizontal padding of the element. Docs

0.875rem (14px at the default rem size)

Source

fn px_4(self) -> Self

Sets the horizontal padding of the element. Docs

1rem (16px at the default rem size)

Source

fn px_neg_4(self) -> Self

Sets the horizontal padding of the element. Docs

1rem (16px at the default rem size)

Source

fn px_5(self) -> Self

Sets the horizontal padding of the element. Docs

1.25rem (20px at the default rem size)

Source

fn px_neg_5(self) -> Self

Sets the horizontal padding of the element. Docs

1.25rem (20px at the default rem size)

Source

fn px_6(self) -> Self

Sets the horizontal padding of the element. Docs

1.5rem (24px at the default rem size)

Source

fn px_neg_6(self) -> Self

Sets the horizontal padding of the element. Docs

1.5rem (24px at the default rem size)

Source

fn px_7(self) -> Self

Sets the horizontal padding of the element. Docs

1.75rem (28px at the default rem size)

Source

fn px_neg_7(self) -> Self

Sets the horizontal padding of the element. Docs

1.75rem (28px at the default rem size)

Source

fn px_8(self) -> Self

Sets the horizontal padding of the element. Docs

2rem (32px at the default rem size)

Source

fn px_neg_8(self) -> Self

Sets the horizontal padding of the element. Docs

2rem (32px at the default rem size)

Source

fn px_9(self) -> Self

Sets the horizontal padding of the element. Docs

2.25rem (36px at the default rem size)

Source

fn px_neg_9(self) -> Self

Sets the horizontal padding of the element. Docs

2.25rem (36px at the default rem size)

Source

fn px_10(self) -> Self

Sets the horizontal padding of the element. Docs

2.5rem (40px at the default rem size)

Source

fn px_neg_10(self) -> Self

Sets the horizontal padding of the element. Docs

2.5rem (40px at the default rem size)

Source

fn px_11(self) -> Self

Sets the horizontal padding of the element. Docs

2.75rem (44px at the default rem size)

Source

fn px_neg_11(self) -> Self

Sets the horizontal padding of the element. Docs

2.75rem (44px at the default rem size)

Source

fn px_12(self) -> Self

Sets the horizontal padding of the element. Docs

3rem (48px at the default rem size)

Source

fn px_neg_12(self) -> Self

Sets the horizontal padding of the element. Docs

3rem (48px at the default rem size)

Source

fn px_16(self) -> Self

Sets the horizontal padding of the element. Docs

4rem (64px at the default rem size)

Source

fn px_neg_16(self) -> Self

Sets the horizontal padding of the element. Docs

4rem (64px at the default rem size)

Source

fn px_20(self) -> Self

Sets the horizontal padding of the element. Docs

5rem (80px at the default rem size)

Source

fn px_neg_20(self) -> Self

Sets the horizontal padding of the element. Docs

5rem (80px at the default rem size)

Source

fn px_24(self) -> Self

Sets the horizontal padding of the element. Docs

6rem (96px at the default rem size)

Source

fn px_neg_24(self) -> Self

Sets the horizontal padding of the element. Docs

6rem (96px at the default rem size)

Source

fn px_32(self) -> Self

Sets the horizontal padding of the element. Docs

8rem (128px at the default rem size)

Source

fn px_neg_32(self) -> Self

Sets the horizontal padding of the element. Docs

8rem (128px at the default rem size)

Source

fn px_40(self) -> Self

Sets the horizontal padding of the element. Docs

10rem (160px at the default rem size)

Source

fn px_neg_40(self) -> Self

Sets the horizontal padding of the element. Docs

10rem (160px at the default rem size)

Source

fn px_48(self) -> Self

Sets the horizontal padding of the element. Docs

12rem (192px at the default rem size)

Source

fn px_neg_48(self) -> Self

Sets the horizontal padding of the element. Docs

12rem (192px at the default rem size)

Source

fn px_56(self) -> Self

Sets the horizontal padding of the element. Docs

14rem (224px at the default rem size)

Source

fn px_neg_56(self) -> Self

Sets the horizontal padding of the element. Docs

14rem (224px at the default rem size)

Source

fn px_64(self) -> Self

Sets the horizontal padding of the element. Docs

16rem (256px at the default rem size)

Source

fn px_neg_64(self) -> Self

Sets the horizontal padding of the element. Docs

16rem (256px at the default rem size)

Source

fn px_72(self) -> Self

Sets the horizontal padding of the element. Docs

18rem (288px at the default rem size)

Source

fn px_neg_72(self) -> Self

Sets the horizontal padding of the element. Docs

18rem (288px at the default rem size)

Source

fn px_80(self) -> Self

Sets the horizontal padding of the element. Docs

20rem (320px at the default rem size)

Source

fn px_neg_80(self) -> Self

Sets the horizontal padding of the element. Docs

20rem (320px at the default rem size)

Source

fn px_96(self) -> Self

Sets the horizontal padding of the element. Docs

24rem (384px at the default rem size)

Source

fn px_neg_96(self) -> Self

Sets the horizontal padding of the element. Docs

24rem (384px at the default rem size)

Source

fn px_112(self) -> Self

Sets the horizontal padding of the element. Docs

28rem (448px at the default rem size)

Source

fn px_neg_112(self) -> Self

Sets the horizontal padding of the element. Docs

28rem (448px at the default rem size)

Source

fn px_128(self) -> Self

Sets the horizontal padding of the element. Docs

32rem (512px at the default rem size)

Source

fn px_neg_128(self) -> Self

Sets the horizontal padding of the element. Docs

32rem (512px at the default rem size)

Source

fn px_px(self) -> Self

Sets the horizontal padding of the element. Docs

1px

Source

fn px_neg_px(self) -> Self

Sets the horizontal padding of the element. Docs

1px

Source

fn px_full(self) -> Self

Sets the horizontal padding of the element. Docs

100%

Source

fn px_neg_full(self) -> Self

Sets the horizontal padding of the element. Docs

100%

Source

fn px_1_2(self) -> Self

Sets the horizontal padding of the element. Docs

50% (1/2)

Source

fn px_neg_1_2(self) -> Self

Sets the horizontal padding of the element. Docs

50% (1/2)

Source

fn px_1_3(self) -> Self

Sets the horizontal padding of the element. Docs

33% (1/3)

Source

fn px_neg_1_3(self) -> Self

Sets the horizontal padding of the element. Docs

33% (1/3)

Source

fn px_2_3(self) -> Self

Sets the horizontal padding of the element. Docs

66% (2/3)

Source

fn px_neg_2_3(self) -> Self

Sets the horizontal padding of the element. Docs

66% (2/3)

Source

fn px_1_4(self) -> Self

Sets the horizontal padding of the element. Docs

25% (1/4)

Source

fn px_neg_1_4(self) -> Self

Sets the horizontal padding of the element. Docs

25% (1/4)

Source

fn px_2_4(self) -> Self

Sets the horizontal padding of the element. Docs

50% (2/4)

Source

fn px_neg_2_4(self) -> Self

Sets the horizontal padding of the element. Docs

50% (2/4)

Source

fn px_3_4(self) -> Self

Sets the horizontal padding of the element. Docs

75% (3/4)

Source

fn px_neg_3_4(self) -> Self

Sets the horizontal padding of the element. Docs

75% (3/4)

Source

fn px_1_5(self) -> Self

Sets the horizontal padding of the element. Docs

20% (1/5)

Source

fn px_neg_1_5(self) -> Self

Sets the horizontal padding of the element. Docs

20% (1/5)

Source

fn px_2_5(self) -> Self

Sets the horizontal padding of the element. Docs

40% (2/5)

Source

fn px_neg_2_5(self) -> Self

Sets the horizontal padding of the element. Docs

40% (2/5)

Source

fn px_3_5(self) -> Self

Sets the horizontal padding of the element. Docs

60% (3/5)

Source

fn px_neg_3_5(self) -> Self

Sets the horizontal padding of the element. Docs

60% (3/5)

Source

fn px_4_5(self) -> Self

Sets the horizontal padding of the element. Docs

80% (4/5)

Source

fn px_neg_4_5(self) -> Self

Sets the horizontal padding of the element. Docs

80% (4/5)

Source

fn px_1_6(self) -> Self

Sets the horizontal padding of the element. Docs

16% (1/6)

Source

fn px_neg_1_6(self) -> Self

Sets the horizontal padding of the element. Docs

16% (1/6)

Source

fn px_5_6(self) -> Self

Sets the horizontal padding of the element. Docs

83% (5/6)

Source

fn px_neg_5_6(self) -> Self

Sets the horizontal padding of the element. Docs

83% (5/6)

Source

fn px_1_12(self) -> Self

Sets the horizontal padding of the element. Docs

8% (1/12)

Source

fn px_neg_1_12(self) -> Self

Sets the horizontal padding of the element. Docs

8% (1/12)

Source

fn py(self, length: impl Clone + Into<DefiniteLength>) -> Self

Sets the vertical padding of the element. Docs

Source

fn py_0(self) -> Self

Sets the vertical padding of the element. Docs

0px

Source

fn py_neg_0(self) -> Self

Sets the vertical padding of the element. Docs

0px

Source

fn py_0p5(self) -> Self

Sets the vertical padding of the element. Docs

0.125rem (2px at the default rem size)

Source

fn py_neg_0p5(self) -> Self

Sets the vertical padding of the element. Docs

0.125rem (2px at the default rem size)

Source

fn py_1(self) -> Self

Sets the vertical padding of the element. Docs

0.25rem (4px at the default rem size)

Source

fn py_neg_1(self) -> Self

Sets the vertical padding of the element. Docs

0.25rem (4px at the default rem size)

Source

fn py_1p5(self) -> Self

Sets the vertical padding of the element. Docs

0.375rem (6px at the default rem size)

Source

fn py_neg_1p5(self) -> Self

Sets the vertical padding of the element. Docs

0.375rem (6px at the default rem size)

Source

fn py_2(self) -> Self

Sets the vertical padding of the element. Docs

0.5rem (8px at the default rem size)

Source

fn py_neg_2(self) -> Self

Sets the vertical padding of the element. Docs

0.5rem (8px at the default rem size)

Source

fn py_2p5(self) -> Self

Sets the vertical padding of the element. Docs

0.625rem (10px at the default rem size)

Source

fn py_neg_2p5(self) -> Self

Sets the vertical padding of the element. Docs

0.625rem (10px at the default rem size)

Source

fn py_3(self) -> Self

Sets the vertical padding of the element. Docs

0.75rem (12px at the default rem size)

Source

fn py_neg_3(self) -> Self

Sets the vertical padding of the element. Docs

0.75rem (12px at the default rem size)

Source

fn py_3p5(self) -> Self

Sets the vertical padding of the element. Docs

0.875rem (14px at the default rem size)

Source

fn py_neg_3p5(self) -> Self

Sets the vertical padding of the element. Docs

0.875rem (14px at the default rem size)

Source

fn py_4(self) -> Self

Sets the vertical padding of the element. Docs

1rem (16px at the default rem size)

Source

fn py_neg_4(self) -> Self

Sets the vertical padding of the element. Docs

1rem (16px at the default rem size)

Source

fn py_5(self) -> Self

Sets the vertical padding of the element. Docs

1.25rem (20px at the default rem size)

Source

fn py_neg_5(self) -> Self

Sets the vertical padding of the element. Docs

1.25rem (20px at the default rem size)

Source

fn py_6(self) -> Self

Sets the vertical padding of the element. Docs

1.5rem (24px at the default rem size)

Source

fn py_neg_6(self) -> Self

Sets the vertical padding of the element. Docs

1.5rem (24px at the default rem size)

Source

fn py_7(self) -> Self

Sets the vertical padding of the element. Docs

1.75rem (28px at the default rem size)

Source

fn py_neg_7(self) -> Self

Sets the vertical padding of the element. Docs

1.75rem (28px at the default rem size)

Source

fn py_8(self) -> Self

Sets the vertical padding of the element. Docs

2rem (32px at the default rem size)

Source

fn py_neg_8(self) -> Self

Sets the vertical padding of the element. Docs

2rem (32px at the default rem size)

Source

fn py_9(self) -> Self

Sets the vertical padding of the element. Docs

2.25rem (36px at the default rem size)

Source

fn py_neg_9(self) -> Self

Sets the vertical padding of the element. Docs

2.25rem (36px at the default rem size)

Source

fn py_10(self) -> Self

Sets the vertical padding of the element. Docs

2.5rem (40px at the default rem size)

Source

fn py_neg_10(self) -> Self

Sets the vertical padding of the element. Docs

2.5rem (40px at the default rem size)

Source

fn py_11(self) -> Self

Sets the vertical padding of the element. Docs

2.75rem (44px at the default rem size)

Source

fn py_neg_11(self) -> Self

Sets the vertical padding of the element. Docs

2.75rem (44px at the default rem size)

Source

fn py_12(self) -> Self

Sets the vertical padding of the element. Docs

3rem (48px at the default rem size)

Source

fn py_neg_12(self) -> Self

Sets the vertical padding of the element. Docs

3rem (48px at the default rem size)

Source

fn py_16(self) -> Self

Sets the vertical padding of the element. Docs

4rem (64px at the default rem size)

Source

fn py_neg_16(self) -> Self

Sets the vertical padding of the element. Docs

4rem (64px at the default rem size)

Source

fn py_20(self) -> Self

Sets the vertical padding of the element. Docs

5rem (80px at the default rem size)

Source

fn py_neg_20(self) -> Self

Sets the vertical padding of the element. Docs

5rem (80px at the default rem size)

Source

fn py_24(self) -> Self

Sets the vertical padding of the element. Docs

6rem (96px at the default rem size)

Source

fn py_neg_24(self) -> Self

Sets the vertical padding of the element. Docs

6rem (96px at the default rem size)

Source

fn py_32(self) -> Self

Sets the vertical padding of the element. Docs

8rem (128px at the default rem size)

Source

fn py_neg_32(self) -> Self

Sets the vertical padding of the element. Docs

8rem (128px at the default rem size)

Source

fn py_40(self) -> Self

Sets the vertical padding of the element. Docs

10rem (160px at the default rem size)

Source

fn py_neg_40(self) -> Self

Sets the vertical padding of the element. Docs

10rem (160px at the default rem size)

Source

fn py_48(self) -> Self

Sets the vertical padding of the element. Docs

12rem (192px at the default rem size)

Source

fn py_neg_48(self) -> Self

Sets the vertical padding of the element. Docs

12rem (192px at the default rem size)

Source

fn py_56(self) -> Self

Sets the vertical padding of the element. Docs

14rem (224px at the default rem size)

Source

fn py_neg_56(self) -> Self

Sets the vertical padding of the element. Docs

14rem (224px at the default rem size)

Source

fn py_64(self) -> Self

Sets the vertical padding of the element. Docs

16rem (256px at the default rem size)

Source

fn py_neg_64(self) -> Self

Sets the vertical padding of the element. Docs

16rem (256px at the default rem size)

Source

fn py_72(self) -> Self

Sets the vertical padding of the element. Docs

18rem (288px at the default rem size)

Source

fn py_neg_72(self) -> Self

Sets the vertical padding of the element. Docs

18rem (288px at the default rem size)

Source

fn py_80(self) -> Self

Sets the vertical padding of the element. Docs

20rem (320px at the default rem size)

Source

fn py_neg_80(self) -> Self

Sets the vertical padding of the element. Docs

20rem (320px at the default rem size)

Source

fn py_96(self) -> Self

Sets the vertical padding of the element. Docs

24rem (384px at the default rem size)

Source

fn py_neg_96(self) -> Self

Sets the vertical padding of the element. Docs

24rem (384px at the default rem size)

Source

fn py_112(self) -> Self

Sets the vertical padding of the element. Docs

28rem (448px at the default rem size)

Source

fn py_neg_112(self) -> Self

Sets the vertical padding of the element. Docs

28rem (448px at the default rem size)

Source

fn py_128(self) -> Self

Sets the vertical padding of the element. Docs

32rem (512px at the default rem size)

Source

fn py_neg_128(self) -> Self

Sets the vertical padding of the element. Docs

32rem (512px at the default rem size)

Source

fn py_px(self) -> Self

Sets the vertical padding of the element. Docs

1px

Source

fn py_neg_px(self) -> Self

Sets the vertical padding of the element. Docs

1px

Source

fn py_full(self) -> Self

Sets the vertical padding of the element. Docs

100%

Source

fn py_neg_full(self) -> Self

Sets the vertical padding of the element. Docs

100%

Source

fn py_1_2(self) -> Self

Sets the vertical padding of the element. Docs

50% (1/2)

Source

fn py_neg_1_2(self) -> Self

Sets the vertical padding of the element. Docs

50% (1/2)

Source

fn py_1_3(self) -> Self

Sets the vertical padding of the element. Docs

33% (1/3)

Source

fn py_neg_1_3(self) -> Self

Sets the vertical padding of the element. Docs

33% (1/3)

Source

fn py_2_3(self) -> Self

Sets the vertical padding of the element. Docs

66% (2/3)

Source

fn py_neg_2_3(self) -> Self

Sets the vertical padding of the element. Docs

66% (2/3)

Source

fn py_1_4(self) -> Self

Sets the vertical padding of the element. Docs

25% (1/4)

Source

fn py_neg_1_4(self) -> Self

Sets the vertical padding of the element. Docs

25% (1/4)

Source

fn py_2_4(self) -> Self

Sets the vertical padding of the element. Docs

50% (2/4)

Source

fn py_neg_2_4(self) -> Self

Sets the vertical padding of the element. Docs

50% (2/4)

Source

fn py_3_4(self) -> Self

Sets the vertical padding of the element. Docs

75% (3/4)

Source

fn py_neg_3_4(self) -> Self

Sets the vertical padding of the element. Docs

75% (3/4)

Source

fn py_1_5(self) -> Self

Sets the vertical padding of the element. Docs

20% (1/5)

Source

fn py_neg_1_5(self) -> Self

Sets the vertical padding of the element. Docs

20% (1/5)

Source

fn py_2_5(self) -> Self

Sets the vertical padding of the element. Docs

40% (2/5)

Source

fn py_neg_2_5(self) -> Self

Sets the vertical padding of the element. Docs

40% (2/5)

Source

fn py_3_5(self) -> Self

Sets the vertical padding of the element. Docs

60% (3/5)

Source

fn py_neg_3_5(self) -> Self

Sets the vertical padding of the element. Docs

60% (3/5)

Source

fn py_4_5(self) -> Self

Sets the vertical padding of the element. Docs

80% (4/5)

Source

fn py_neg_4_5(self) -> Self

Sets the vertical padding of the element. Docs

80% (4/5)

Source

fn py_1_6(self) -> Self

Sets the vertical padding of the element. Docs

16% (1/6)

Source

fn py_neg_1_6(self) -> Self

Sets the vertical padding of the element. Docs

16% (1/6)

Source

fn py_5_6(self) -> Self

Sets the vertical padding of the element. Docs

83% (5/6)

Source

fn py_neg_5_6(self) -> Self

Sets the vertical padding of the element. Docs

83% (5/6)

Source

fn py_1_12(self) -> Self

Sets the vertical padding of the element. Docs

8% (1/12)

Source

fn py_neg_1_12(self) -> Self

Sets the vertical padding of the element. Docs

8% (1/12)

Source

fn pl(self, length: impl Clone + Into<DefiniteLength>) -> Self

Sets the left padding of the element. Docs

Source

fn pl_0(self) -> Self

Sets the left padding of the element. Docs

0px

Source

fn pl_neg_0(self) -> Self

Sets the left padding of the element. Docs

0px

Source

fn pl_0p5(self) -> Self

Sets the left padding of the element. Docs

0.125rem (2px at the default rem size)

Source

fn pl_neg_0p5(self) -> Self

Sets the left padding of the element. Docs

0.125rem (2px at the default rem size)

Source

fn pl_1(self) -> Self

Sets the left padding of the element. Docs

0.25rem (4px at the default rem size)

Source

fn pl_neg_1(self) -> Self

Sets the left padding of the element. Docs

0.25rem (4px at the default rem size)

Source

fn pl_1p5(self) -> Self

Sets the left padding of the element. Docs

0.375rem (6px at the default rem size)

Source

fn pl_neg_1p5(self) -> Self

Sets the left padding of the element. Docs

0.375rem (6px at the default rem size)

Source

fn pl_2(self) -> Self

Sets the left padding of the element. Docs

0.5rem (8px at the default rem size)

Source

fn pl_neg_2(self) -> Self

Sets the left padding of the element. Docs

0.5rem (8px at the default rem size)

Source

fn pl_2p5(self) -> Self

Sets the left padding of the element. Docs

0.625rem (10px at the default rem size)

Source

fn pl_neg_2p5(self) -> Self

Sets the left padding of the element. Docs

0.625rem (10px at the default rem size)

Source

fn pl_3(self) -> Self

Sets the left padding of the element. Docs

0.75rem (12px at the default rem size)

Source

fn pl_neg_3(self) -> Self

Sets the left padding of the element. Docs

0.75rem (12px at the default rem size)

Source

fn pl_3p5(self) -> Self

Sets the left padding of the element. Docs

0.875rem (14px at the default rem size)

Source

fn pl_neg_3p5(self) -> Self

Sets the left padding of the element. Docs

0.875rem (14px at the default rem size)

Source

fn pl_4(self) -> Self

Sets the left padding of the element. Docs

1rem (16px at the default rem size)

Source

fn pl_neg_4(self) -> Self

Sets the left padding of the element. Docs

1rem (16px at the default rem size)

Source

fn pl_5(self) -> Self

Sets the left padding of the element. Docs

1.25rem (20px at the default rem size)

Source

fn pl_neg_5(self) -> Self

Sets the left padding of the element. Docs

1.25rem (20px at the default rem size)

Source

fn pl_6(self) -> Self

Sets the left padding of the element. Docs

1.5rem (24px at the default rem size)

Source

fn pl_neg_6(self) -> Self

Sets the left padding of the element. Docs

1.5rem (24px at the default rem size)

Source

fn pl_7(self) -> Self

Sets the left padding of the element. Docs

1.75rem (28px at the default rem size)

Source

fn pl_neg_7(self) -> Self

Sets the left padding of the element. Docs

1.75rem (28px at the default rem size)

Source

fn pl_8(self) -> Self

Sets the left padding of the element. Docs

2rem (32px at the default rem size)

Source

fn pl_neg_8(self) -> Self

Sets the left padding of the element. Docs

2rem (32px at the default rem size)

Source

fn pl_9(self) -> Self

Sets the left padding of the element. Docs

2.25rem (36px at the default rem size)

Source

fn pl_neg_9(self) -> Self

Sets the left padding of the element. Docs

2.25rem (36px at the default rem size)

Source

fn pl_10(self) -> Self

Sets the left padding of the element. Docs

2.5rem (40px at the default rem size)

Source

fn pl_neg_10(self) -> Self

Sets the left padding of the element. Docs

2.5rem (40px at the default rem size)

Source

fn pl_11(self) -> Self

Sets the left padding of the element. Docs

2.75rem (44px at the default rem size)

Source

fn pl_neg_11(self) -> Self

Sets the left padding of the element. Docs

2.75rem (44px at the default rem size)

Source

fn pl_12(self) -> Self

Sets the left padding of the element. Docs

3rem (48px at the default rem size)

Source

fn pl_neg_12(self) -> Self

Sets the left padding of the element. Docs

3rem (48px at the default rem size)

Source

fn pl_16(self) -> Self

Sets the left padding of the element. Docs

4rem (64px at the default rem size)

Source

fn pl_neg_16(self) -> Self

Sets the left padding of the element. Docs

4rem (64px at the default rem size)

Source

fn pl_20(self) -> Self

Sets the left padding of the element. Docs

5rem (80px at the default rem size)

Source

fn pl_neg_20(self) -> Self

Sets the left padding of the element. Docs

5rem (80px at the default rem size)

Source

fn pl_24(self) -> Self

Sets the left padding of the element. Docs

6rem (96px at the default rem size)

Source

fn pl_neg_24(self) -> Self

Sets the left padding of the element. Docs

6rem (96px at the default rem size)

Source

fn pl_32(self) -> Self

Sets the left padding of the element. Docs

8rem (128px at the default rem size)

Source

fn pl_neg_32(self) -> Self

Sets the left padding of the element. Docs

8rem (128px at the default rem size)

Source

fn pl_40(self) -> Self

Sets the left padding of the element. Docs

10rem (160px at the default rem size)

Source

fn pl_neg_40(self) -> Self

Sets the left padding of the element. Docs

10rem (160px at the default rem size)

Source

fn pl_48(self) -> Self

Sets the left padding of the element. Docs

12rem (192px at the default rem size)

Source

fn pl_neg_48(self) -> Self

Sets the left padding of the element. Docs

12rem (192px at the default rem size)

Source

fn pl_56(self) -> Self

Sets the left padding of the element. Docs

14rem (224px at the default rem size)

Source

fn pl_neg_56(self) -> Self

Sets the left padding of the element. Docs

14rem (224px at the default rem size)

Source

fn pl_64(self) -> Self

Sets the left padding of the element. Docs

16rem (256px at the default rem size)

Source

fn pl_neg_64(self) -> Self

Sets the left padding of the element. Docs

16rem (256px at the default rem size)

Source

fn pl_72(self) -> Self

Sets the left padding of the element. Docs

18rem (288px at the default rem size)

Source

fn pl_neg_72(self) -> Self

Sets the left padding of the element. Docs

18rem (288px at the default rem size)

Source

fn pl_80(self) -> Self

Sets the left padding of the element. Docs

20rem (320px at the default rem size)

Source

fn pl_neg_80(self) -> Self

Sets the left padding of the element. Docs

20rem (320px at the default rem size)

Source

fn pl_96(self) -> Self

Sets the left padding of the element. Docs

24rem (384px at the default rem size)

Source

fn pl_neg_96(self) -> Self

Sets the left padding of the element. Docs

24rem (384px at the default rem size)

Source

fn pl_112(self) -> Self

Sets the left padding of the element. Docs

28rem (448px at the default rem size)

Source

fn pl_neg_112(self) -> Self

Sets the left padding of the element. Docs

28rem (448px at the default rem size)

Source

fn pl_128(self) -> Self

Sets the left padding of the element. Docs

32rem (512px at the default rem size)

Source

fn pl_neg_128(self) -> Self

Sets the left padding of the element. Docs

32rem (512px at the default rem size)

Source

fn pl_px(self) -> Self

Sets the left padding of the element. Docs

1px

Source

fn pl_neg_px(self) -> Self

Sets the left padding of the element. Docs

1px

Source

fn pl_full(self) -> Self

Sets the left padding of the element. Docs

100%

Source

fn pl_neg_full(self) -> Self

Sets the left padding of the element. Docs

100%

Source

fn pl_1_2(self) -> Self

Sets the left padding of the element. Docs

50% (1/2)

Source

fn pl_neg_1_2(self) -> Self

Sets the left padding of the element. Docs

50% (1/2)

Source

fn pl_1_3(self) -> Self

Sets the left padding of the element. Docs

33% (1/3)

Source

fn pl_neg_1_3(self) -> Self

Sets the left padding of the element. Docs

33% (1/3)

Source

fn pl_2_3(self) -> Self

Sets the left padding of the element. Docs

66% (2/3)

Source

fn pl_neg_2_3(self) -> Self

Sets the left padding of the element. Docs

66% (2/3)

Source

fn pl_1_4(self) -> Self

Sets the left padding of the element. Docs

25% (1/4)

Source

fn pl_neg_1_4(self) -> Self

Sets the left padding of the element. Docs

25% (1/4)

Source

fn pl_2_4(self) -> Self

Sets the left padding of the element. Docs

50% (2/4)

Source

fn pl_neg_2_4(self) -> Self

Sets the left padding of the element. Docs

50% (2/4)

Source

fn pl_3_4(self) -> Self

Sets the left padding of the element. Docs

75% (3/4)

Source

fn pl_neg_3_4(self) -> Self

Sets the left padding of the element. Docs

75% (3/4)

Source

fn pl_1_5(self) -> Self

Sets the left padding of the element. Docs

20% (1/5)

Source

fn pl_neg_1_5(self) -> Self

Sets the left padding of the element. Docs

20% (1/5)

Source

fn pl_2_5(self) -> Self

Sets the left padding of the element. Docs

40% (2/5)

Source

fn pl_neg_2_5(self) -> Self

Sets the left padding of the element. Docs

40% (2/5)

Source

fn pl_3_5(self) -> Self

Sets the left padding of the element. Docs

60% (3/5)

Source

fn pl_neg_3_5(self) -> Self

Sets the left padding of the element. Docs

60% (3/5)

Source

fn pl_4_5(self) -> Self

Sets the left padding of the element. Docs

80% (4/5)

Source

fn pl_neg_4_5(self) -> Self

Sets the left padding of the element. Docs

80% (4/5)

Source

fn pl_1_6(self) -> Self

Sets the left padding of the element. Docs

16% (1/6)

Source

fn pl_neg_1_6(self) -> Self

Sets the left padding of the element. Docs

16% (1/6)

Source

fn pl_5_6(self) -> Self

Sets the left padding of the element. Docs

83% (5/6)

Source

fn pl_neg_5_6(self) -> Self

Sets the left padding of the element. Docs

83% (5/6)

Source

fn pl_1_12(self) -> Self

Sets the left padding of the element. Docs

8% (1/12)

Source

fn pl_neg_1_12(self) -> Self

Sets the left padding of the element. Docs

8% (1/12)

Source

fn pr(self, length: impl Clone + Into<DefiniteLength>) -> Self

Sets the right padding of the element. Docs

Source

fn pr_0(self) -> Self

Sets the right padding of the element. Docs

0px

Source

fn pr_neg_0(self) -> Self

Sets the right padding of the element. Docs

0px

Source

fn pr_0p5(self) -> Self

Sets the right padding of the element. Docs

0.125rem (2px at the default rem size)

Source

fn pr_neg_0p5(self) -> Self

Sets the right padding of the element. Docs

0.125rem (2px at the default rem size)

Source

fn pr_1(self) -> Self

Sets the right padding of the element. Docs

0.25rem (4px at the default rem size)

Source

fn pr_neg_1(self) -> Self

Sets the right padding of the element. Docs

0.25rem (4px at the default rem size)

Source

fn pr_1p5(self) -> Self

Sets the right padding of the element. Docs

0.375rem (6px at the default rem size)

Source

fn pr_neg_1p5(self) -> Self

Sets the right padding of the element. Docs

0.375rem (6px at the default rem size)

Source

fn pr_2(self) -> Self

Sets the right padding of the element. Docs

0.5rem (8px at the default rem size)

Source

fn pr_neg_2(self) -> Self

Sets the right padding of the element. Docs

0.5rem (8px at the default rem size)

Source

fn pr_2p5(self) -> Self

Sets the right padding of the element. Docs

0.625rem (10px at the default rem size)

Source

fn pr_neg_2p5(self) -> Self

Sets the right padding of the element. Docs

0.625rem (10px at the default rem size)

Source

fn pr_3(self) -> Self

Sets the right padding of the element. Docs

0.75rem (12px at the default rem size)

Source

fn pr_neg_3(self) -> Self

Sets the right padding of the element. Docs

0.75rem (12px at the default rem size)

Source

fn pr_3p5(self) -> Self

Sets the right padding of the element. Docs

0.875rem (14px at the default rem size)

Source

fn pr_neg_3p5(self) -> Self

Sets the right padding of the element. Docs

0.875rem (14px at the default rem size)

Source

fn pr_4(self) -> Self

Sets the right padding of the element. Docs

1rem (16px at the default rem size)

Source

fn pr_neg_4(self) -> Self

Sets the right padding of the element. Docs

1rem (16px at the default rem size)

Source

fn pr_5(self) -> Self

Sets the right padding of the element. Docs

1.25rem (20px at the default rem size)

Source

fn pr_neg_5(self) -> Self

Sets the right padding of the element. Docs

1.25rem (20px at the default rem size)

Source

fn pr_6(self) -> Self

Sets the right padding of the element. Docs

1.5rem (24px at the default rem size)

Source

fn pr_neg_6(self) -> Self

Sets the right padding of the element. Docs

1.5rem (24px at the default rem size)

Source

fn pr_7(self) -> Self

Sets the right padding of the element. Docs

1.75rem (28px at the default rem size)

Source

fn pr_neg_7(self) -> Self

Sets the right padding of the element. Docs

1.75rem (28px at the default rem size)

Source

fn pr_8(self) -> Self

Sets the right padding of the element. Docs

2rem (32px at the default rem size)

Source

fn pr_neg_8(self) -> Self

Sets the right padding of the element. Docs

2rem (32px at the default rem size)

Source

fn pr_9(self) -> Self

Sets the right padding of the element. Docs

2.25rem (36px at the default rem size)

Source

fn pr_neg_9(self) -> Self

Sets the right padding of the element. Docs

2.25rem (36px at the default rem size)

Source

fn pr_10(self) -> Self

Sets the right padding of the element. Docs

2.5rem (40px at the default rem size)

Source

fn pr_neg_10(self) -> Self

Sets the right padding of the element. Docs

2.5rem (40px at the default rem size)

Source

fn pr_11(self) -> Self

Sets the right padding of the element. Docs

2.75rem (44px at the default rem size)

Source

fn pr_neg_11(self) -> Self

Sets the right padding of the element. Docs

2.75rem (44px at the default rem size)

Source

fn pr_12(self) -> Self

Sets the right padding of the element. Docs

3rem (48px at the default rem size)

Source

fn pr_neg_12(self) -> Self

Sets the right padding of the element. Docs

3rem (48px at the default rem size)

Source

fn pr_16(self) -> Self

Sets the right padding of the element. Docs

4rem (64px at the default rem size)

Source

fn pr_neg_16(self) -> Self

Sets the right padding of the element. Docs

4rem (64px at the default rem size)

Source

fn pr_20(self) -> Self

Sets the right padding of the element. Docs

5rem (80px at the default rem size)

Source

fn pr_neg_20(self) -> Self

Sets the right padding of the element. Docs

5rem (80px at the default rem size)

Source

fn pr_24(self) -> Self

Sets the right padding of the element. Docs

6rem (96px at the default rem size)

Source

fn pr_neg_24(self) -> Self

Sets the right padding of the element. Docs

6rem (96px at the default rem size)

Source

fn pr_32(self) -> Self

Sets the right padding of the element. Docs

8rem (128px at the default rem size)

Source

fn pr_neg_32(self) -> Self

Sets the right padding of the element. Docs

8rem (128px at the default rem size)

Source

fn pr_40(self) -> Self

Sets the right padding of the element. Docs

10rem (160px at the default rem size)

Source

fn pr_neg_40(self) -> Self

Sets the right padding of the element. Docs

10rem (160px at the default rem size)

Source

fn pr_48(self) -> Self

Sets the right padding of the element. Docs

12rem (192px at the default rem size)

Source

fn pr_neg_48(self) -> Self

Sets the right padding of the element. Docs

12rem (192px at the default rem size)

Source

fn pr_56(self) -> Self

Sets the right padding of the element. Docs

14rem (224px at the default rem size)

Source

fn pr_neg_56(self) -> Self

Sets the right padding of the element. Docs

14rem (224px at the default rem size)

Source

fn pr_64(self) -> Self

Sets the right padding of the element. Docs

16rem (256px at the default rem size)

Source

fn pr_neg_64(self) -> Self

Sets the right padding of the element. Docs

16rem (256px at the default rem size)

Source

fn pr_72(self) -> Self

Sets the right padding of the element. Docs

18rem (288px at the default rem size)

Source

fn pr_neg_72(self) -> Self

Sets the right padding of the element. Docs

18rem (288px at the default rem size)

Source

fn pr_80(self) -> Self

Sets the right padding of the element. Docs

20rem (320px at the default rem size)

Source

fn pr_neg_80(self) -> Self

Sets the right padding of the element. Docs

20rem (320px at the default rem size)

Source

fn pr_96(self) -> Self

Sets the right padding of the element. Docs

24rem (384px at the default rem size)

Source

fn pr_neg_96(self) -> Self

Sets the right padding of the element. Docs

24rem (384px at the default rem size)

Source

fn pr_112(self) -> Self

Sets the right padding of the element. Docs

28rem (448px at the default rem size)

Source

fn pr_neg_112(self) -> Self

Sets the right padding of the element. Docs

28rem (448px at the default rem size)

Source

fn pr_128(self) -> Self

Sets the right padding of the element. Docs

32rem (512px at the default rem size)

Source

fn pr_neg_128(self) -> Self

Sets the right padding of the element. Docs

32rem (512px at the default rem size)

Source

fn pr_px(self) -> Self

Sets the right padding of the element. Docs

1px

Source

fn pr_neg_px(self) -> Self

Sets the right padding of the element. Docs

1px

Source

fn pr_full(self) -> Self

Sets the right padding of the element. Docs

100%

Source

fn pr_neg_full(self) -> Self

Sets the right padding of the element. Docs

100%

Source

fn pr_1_2(self) -> Self

Sets the right padding of the element. Docs

50% (1/2)

Source

fn pr_neg_1_2(self) -> Self

Sets the right padding of the element. Docs

50% (1/2)

Source

fn pr_1_3(self) -> Self

Sets the right padding of the element. Docs

33% (1/3)

Source

fn pr_neg_1_3(self) -> Self

Sets the right padding of the element. Docs

33% (1/3)

Source

fn pr_2_3(self) -> Self

Sets the right padding of the element. Docs

66% (2/3)

Source

fn pr_neg_2_3(self) -> Self

Sets the right padding of the element. Docs

66% (2/3)

Source

fn pr_1_4(self) -> Self

Sets the right padding of the element. Docs

25% (1/4)

Source

fn pr_neg_1_4(self) -> Self

Sets the right padding of the element. Docs

25% (1/4)

Source

fn pr_2_4(self) -> Self

Sets the right padding of the element. Docs

50% (2/4)

Source

fn pr_neg_2_4(self) -> Self

Sets the right padding of the element. Docs

50% (2/4)

Source

fn pr_3_4(self) -> Self

Sets the right padding of the element. Docs

75% (3/4)

Source

fn pr_neg_3_4(self) -> Self

Sets the right padding of the element. Docs

75% (3/4)

Source

fn pr_1_5(self) -> Self

Sets the right padding of the element. Docs

20% (1/5)

Source

fn pr_neg_1_5(self) -> Self

Sets the right padding of the element. Docs

20% (1/5)

Source

fn pr_2_5(self) -> Self

Sets the right padding of the element. Docs

40% (2/5)

Source

fn pr_neg_2_5(self) -> Self

Sets the right padding of the element. Docs

40% (2/5)

Source

fn pr_3_5(self) -> Self

Sets the right padding of the element. Docs

60% (3/5)

Source

fn pr_neg_3_5(self) -> Self

Sets the right padding of the element. Docs

60% (3/5)

Source

fn pr_4_5(self) -> Self

Sets the right padding of the element. Docs

80% (4/5)

Source

fn pr_neg_4_5(self) -> Self

Sets the right padding of the element. Docs

80% (4/5)

Source

fn pr_1_6(self) -> Self

Sets the right padding of the element. Docs

16% (1/6)

Source

fn pr_neg_1_6(self) -> Self

Sets the right padding of the element. Docs

16% (1/6)

Source

fn pr_5_6(self) -> Self

Sets the right padding of the element. Docs

83% (5/6)

Source

fn pr_neg_5_6(self) -> Self

Sets the right padding of the element. Docs

83% (5/6)

Source

fn pr_1_12(self) -> Self

Sets the right padding of the element. Docs

8% (1/12)

Source

fn pr_neg_1_12(self) -> Self

Sets the right padding of the element. Docs

8% (1/12)

Source

fn relative(self) -> Self

Sets the position of the element to relative. Docs

Source

fn absolute(self) -> Self

Sets the position of the element to absolute. Docs

Source

fn inset(self, length: impl Clone + Into<Length>) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

Source

fn inset_0(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

0px

Source

fn inset_neg_0(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

0px

Source

fn inset_0p5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

0.125rem (2px at the default rem size)

Source

fn inset_neg_0p5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

0.125rem (2px at the default rem size)

Source

fn inset_1(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

0.25rem (4px at the default rem size)

Source

fn inset_neg_1(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

0.25rem (4px at the default rem size)

Source

fn inset_1p5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

0.375rem (6px at the default rem size)

Source

fn inset_neg_1p5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

0.375rem (6px at the default rem size)

Source

fn inset_2(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

0.5rem (8px at the default rem size)

Source

fn inset_neg_2(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

0.5rem (8px at the default rem size)

Source

fn inset_2p5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

0.625rem (10px at the default rem size)

Source

fn inset_neg_2p5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

0.625rem (10px at the default rem size)

Source

fn inset_3(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

0.75rem (12px at the default rem size)

Source

fn inset_neg_3(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

0.75rem (12px at the default rem size)

Source

fn inset_3p5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

0.875rem (14px at the default rem size)

Source

fn inset_neg_3p5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

0.875rem (14px at the default rem size)

Source

fn inset_4(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

1rem (16px at the default rem size)

Source

fn inset_neg_4(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

1rem (16px at the default rem size)

Source

fn inset_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

1.25rem (20px at the default rem size)

Source

fn inset_neg_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

1.25rem (20px at the default rem size)

Source

fn inset_6(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

1.5rem (24px at the default rem size)

Source

fn inset_neg_6(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

1.5rem (24px at the default rem size)

Source

fn inset_7(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

1.75rem (28px at the default rem size)

Source

fn inset_neg_7(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

1.75rem (28px at the default rem size)

Source

fn inset_8(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

2rem (32px at the default rem size)

Source

fn inset_neg_8(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

2rem (32px at the default rem size)

Source

fn inset_9(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

2.25rem (36px at the default rem size)

Source

fn inset_neg_9(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

2.25rem (36px at the default rem size)

Source

fn inset_10(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

2.5rem (40px at the default rem size)

Source

fn inset_neg_10(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

2.5rem (40px at the default rem size)

Source

fn inset_11(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

2.75rem (44px at the default rem size)

Source

fn inset_neg_11(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

2.75rem (44px at the default rem size)

Source

fn inset_12(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

3rem (48px at the default rem size)

Source

fn inset_neg_12(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

3rem (48px at the default rem size)

Source

fn inset_16(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

4rem (64px at the default rem size)

Source

fn inset_neg_16(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

4rem (64px at the default rem size)

Source

fn inset_20(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

5rem (80px at the default rem size)

Source

fn inset_neg_20(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

5rem (80px at the default rem size)

Source

fn inset_24(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

6rem (96px at the default rem size)

Source

fn inset_neg_24(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

6rem (96px at the default rem size)

Source

fn inset_32(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

8rem (128px at the default rem size)

Source

fn inset_neg_32(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

8rem (128px at the default rem size)

Source

fn inset_40(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

10rem (160px at the default rem size)

Source

fn inset_neg_40(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

10rem (160px at the default rem size)

Source

fn inset_48(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

12rem (192px at the default rem size)

Source

fn inset_neg_48(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

12rem (192px at the default rem size)

Source

fn inset_56(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

14rem (224px at the default rem size)

Source

fn inset_neg_56(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

14rem (224px at the default rem size)

Source

fn inset_64(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

16rem (256px at the default rem size)

Source

fn inset_neg_64(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

16rem (256px at the default rem size)

Source

fn inset_72(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

18rem (288px at the default rem size)

Source

fn inset_neg_72(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

18rem (288px at the default rem size)

Source

fn inset_80(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

20rem (320px at the default rem size)

Source

fn inset_neg_80(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

20rem (320px at the default rem size)

Source

fn inset_96(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

24rem (384px at the default rem size)

Source

fn inset_neg_96(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

24rem (384px at the default rem size)

Source

fn inset_112(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

28rem (448px at the default rem size)

Source

fn inset_neg_112(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

28rem (448px at the default rem size)

Source

fn inset_128(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

32rem (512px at the default rem size)

Source

fn inset_neg_128(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

32rem (512px at the default rem size)

Source

fn inset_auto(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

Auto

Source

fn inset_px(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

1px

Source

fn inset_neg_px(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

1px

Source

fn inset_full(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

100%

Source

fn inset_neg_full(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

100%

Source

fn inset_1_2(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

50% (1/2)

Source

fn inset_neg_1_2(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

50% (1/2)

Source

fn inset_1_3(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

33% (1/3)

Source

fn inset_neg_1_3(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

33% (1/3)

Source

fn inset_2_3(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

66% (2/3)

Source

fn inset_neg_2_3(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

66% (2/3)

Source

fn inset_1_4(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

25% (1/4)

Source

fn inset_neg_1_4(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

25% (1/4)

Source

fn inset_2_4(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

50% (2/4)

Source

fn inset_neg_2_4(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

50% (2/4)

Source

fn inset_3_4(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

75% (3/4)

Source

fn inset_neg_3_4(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

75% (3/4)

Source

fn inset_1_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

20% (1/5)

Source

fn inset_neg_1_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

20% (1/5)

Source

fn inset_2_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

40% (2/5)

Source

fn inset_neg_2_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

40% (2/5)

Source

fn inset_3_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

60% (3/5)

Source

fn inset_neg_3_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

60% (3/5)

Source

fn inset_4_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

80% (4/5)

Source

fn inset_neg_4_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

80% (4/5)

Source

fn inset_1_6(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

16% (1/6)

Source

fn inset_neg_1_6(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

16% (1/6)

Source

fn inset_5_6(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

83% (5/6)

Source

fn inset_neg_5_6(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

83% (5/6)

Source

fn inset_1_12(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

8% (1/12)

Source

fn inset_neg_1_12(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs

8% (1/12)

Source

fn top(self, length: impl Clone + Into<Length>) -> Self

Sets the top value of a positioned element. Docs

Source

fn top_0(self) -> Self

Sets the top value of a positioned element. Docs

0px

Source

fn top_neg_0(self) -> Self

Sets the top value of a positioned element. Docs

0px

Source

fn top_0p5(self) -> Self

Sets the top value of a positioned element. Docs

0.125rem (2px at the default rem size)

Source

fn top_neg_0p5(self) -> Self

Sets the top value of a positioned element. Docs

0.125rem (2px at the default rem size)

Source

fn top_1(self) -> Self

Sets the top value of a positioned element. Docs

0.25rem (4px at the default rem size)

Source

fn top_neg_1(self) -> Self

Sets the top value of a positioned element. Docs

0.25rem (4px at the default rem size)

Source

fn top_1p5(self) -> Self

Sets the top value of a positioned element. Docs

0.375rem (6px at the default rem size)

Source

fn top_neg_1p5(self) -> Self

Sets the top value of a positioned element. Docs

0.375rem (6px at the default rem size)

Source

fn top_2(self) -> Self

Sets the top value of a positioned element. Docs

0.5rem (8px at the default rem size)

Source

fn top_neg_2(self) -> Self

Sets the top value of a positioned element. Docs

0.5rem (8px at the default rem size)

Source

fn top_2p5(self) -> Self

Sets the top value of a positioned element. Docs

0.625rem (10px at the default rem size)

Source

fn top_neg_2p5(self) -> Self

Sets the top value of a positioned element. Docs

0.625rem (10px at the default rem size)

Source

fn top_3(self) -> Self

Sets the top value of a positioned element. Docs

0.75rem (12px at the default rem size)

Source

fn top_neg_3(self) -> Self

Sets the top value of a positioned element. Docs

0.75rem (12px at the default rem size)

Source

fn top_3p5(self) -> Self

Sets the top value of a positioned element. Docs

0.875rem (14px at the default rem size)

Source

fn top_neg_3p5(self) -> Self

Sets the top value of a positioned element. Docs

0.875rem (14px at the default rem size)

Source

fn top_4(self) -> Self

Sets the top value of a positioned element. Docs

1rem (16px at the default rem size)

Source

fn top_neg_4(self) -> Self

Sets the top value of a positioned element. Docs

1rem (16px at the default rem size)

Source

fn top_5(self) -> Self

Sets the top value of a positioned element. Docs

1.25rem (20px at the default rem size)

Source

fn top_neg_5(self) -> Self

Sets the top value of a positioned element. Docs

1.25rem (20px at the default rem size)

Source

fn top_6(self) -> Self

Sets the top value of a positioned element. Docs

1.5rem (24px at the default rem size)

Source

fn top_neg_6(self) -> Self

Sets the top value of a positioned element. Docs

1.5rem (24px at the default rem size)

Source

fn top_7(self) -> Self

Sets the top value of a positioned element. Docs

1.75rem (28px at the default rem size)

Source

fn top_neg_7(self) -> Self

Sets the top value of a positioned element. Docs

1.75rem (28px at the default rem size)

Source

fn top_8(self) -> Self

Sets the top value of a positioned element. Docs

2rem (32px at the default rem size)

Source

fn top_neg_8(self) -> Self

Sets the top value of a positioned element. Docs

2rem (32px at the default rem size)

Source

fn top_9(self) -> Self

Sets the top value of a positioned element. Docs

2.25rem (36px at the default rem size)

Source

fn top_neg_9(self) -> Self

Sets the top value of a positioned element. Docs

2.25rem (36px at the default rem size)

Source

fn top_10(self) -> Self

Sets the top value of a positioned element. Docs

2.5rem (40px at the default rem size)

Source

fn top_neg_10(self) -> Self

Sets the top value of a positioned element. Docs

2.5rem (40px at the default rem size)

Source

fn top_11(self) -> Self

Sets the top value of a positioned element. Docs

2.75rem (44px at the default rem size)

Source

fn top_neg_11(self) -> Self

Sets the top value of a positioned element. Docs

2.75rem (44px at the default rem size)

Source

fn top_12(self) -> Self

Sets the top value of a positioned element. Docs

3rem (48px at the default rem size)

Source

fn top_neg_12(self) -> Self

Sets the top value of a positioned element. Docs

3rem (48px at the default rem size)

Source

fn top_16(self) -> Self

Sets the top value of a positioned element. Docs

4rem (64px at the default rem size)

Source

fn top_neg_16(self) -> Self

Sets the top value of a positioned element. Docs

4rem (64px at the default rem size)

Source

fn top_20(self) -> Self

Sets the top value of a positioned element. Docs

5rem (80px at the default rem size)

Source

fn top_neg_20(self) -> Self

Sets the top value of a positioned element. Docs

5rem (80px at the default rem size)

Source

fn top_24(self) -> Self

Sets the top value of a positioned element. Docs

6rem (96px at the default rem size)

Source

fn top_neg_24(self) -> Self

Sets the top value of a positioned element. Docs

6rem (96px at the default rem size)

Source

fn top_32(self) -> Self

Sets the top value of a positioned element. Docs

8rem (128px at the default rem size)

Source

fn top_neg_32(self) -> Self

Sets the top value of a positioned element. Docs

8rem (128px at the default rem size)

Source

fn top_40(self) -> Self

Sets the top value of a positioned element. Docs

10rem (160px at the default rem size)

Source

fn top_neg_40(self) -> Self

Sets the top value of a positioned element. Docs

10rem (160px at the default rem size)

Source

fn top_48(self) -> Self

Sets the top value of a positioned element. Docs

12rem (192px at the default rem size)

Source

fn top_neg_48(self) -> Self

Sets the top value of a positioned element. Docs

12rem (192px at the default rem size)

Source

fn top_56(self) -> Self

Sets the top value of a positioned element. Docs

14rem (224px at the default rem size)

Source

fn top_neg_56(self) -> Self

Sets the top value of a positioned element. Docs

14rem (224px at the default rem size)

Source

fn top_64(self) -> Self

Sets the top value of a positioned element. Docs

16rem (256px at the default rem size)

Source

fn top_neg_64(self) -> Self

Sets the top value of a positioned element. Docs

16rem (256px at the default rem size)

Source

fn top_72(self) -> Self

Sets the top value of a positioned element. Docs

18rem (288px at the default rem size)

Source

fn top_neg_72(self) -> Self

Sets the top value of a positioned element. Docs

18rem (288px at the default rem size)

Source

fn top_80(self) -> Self

Sets the top value of a positioned element. Docs

20rem (320px at the default rem size)

Source

fn top_neg_80(self) -> Self

Sets the top value of a positioned element. Docs

20rem (320px at the default rem size)

Source

fn top_96(self) -> Self

Sets the top value of a positioned element. Docs

24rem (384px at the default rem size)

Source

fn top_neg_96(self) -> Self

Sets the top value of a positioned element. Docs

24rem (384px at the default rem size)

Source

fn top_112(self) -> Self

Sets the top value of a positioned element. Docs

28rem (448px at the default rem size)

Source

fn top_neg_112(self) -> Self

Sets the top value of a positioned element. Docs

28rem (448px at the default rem size)

Source

fn top_128(self) -> Self

Sets the top value of a positioned element. Docs

32rem (512px at the default rem size)

Source

fn top_neg_128(self) -> Self

Sets the top value of a positioned element. Docs

32rem (512px at the default rem size)

Source

fn top_auto(self) -> Self

Sets the top value of a positioned element. Docs

Auto

Source

fn top_px(self) -> Self

Sets the top value of a positioned element. Docs

1px

Source

fn top_neg_px(self) -> Self

Sets the top value of a positioned element. Docs

1px

Source

fn top_full(self) -> Self

Sets the top value of a positioned element. Docs

100%

Source

fn top_neg_full(self) -> Self

Sets the top value of a positioned element. Docs

100%

Source

fn top_1_2(self) -> Self

Sets the top value of a positioned element. Docs

50% (1/2)

Source

fn top_neg_1_2(self) -> Self

Sets the top value of a positioned element. Docs

50% (1/2)

Source

fn top_1_3(self) -> Self

Sets the top value of a positioned element. Docs

33% (1/3)

Source

fn top_neg_1_3(self) -> Self

Sets the top value of a positioned element. Docs

33% (1/3)

Source

fn top_2_3(self) -> Self

Sets the top value of a positioned element. Docs

66% (2/3)

Source

fn top_neg_2_3(self) -> Self

Sets the top value of a positioned element. Docs

66% (2/3)

Source

fn top_1_4(self) -> Self

Sets the top value of a positioned element. Docs

25% (1/4)

Source

fn top_neg_1_4(self) -> Self

Sets the top value of a positioned element. Docs

25% (1/4)

Source

fn top_2_4(self) -> Self

Sets the top value of a positioned element. Docs

50% (2/4)

Source

fn top_neg_2_4(self) -> Self

Sets the top value of a positioned element. Docs

50% (2/4)

Source

fn top_3_4(self) -> Self

Sets the top value of a positioned element. Docs

75% (3/4)

Source

fn top_neg_3_4(self) -> Self

Sets the top value of a positioned element. Docs

75% (3/4)

Source

fn top_1_5(self) -> Self

Sets the top value of a positioned element. Docs

20% (1/5)

Source

fn top_neg_1_5(self) -> Self

Sets the top value of a positioned element. Docs

20% (1/5)

Source

fn top_2_5(self) -> Self

Sets the top value of a positioned element. Docs

40% (2/5)

Source

fn top_neg_2_5(self) -> Self

Sets the top value of a positioned element. Docs

40% (2/5)

Source

fn top_3_5(self) -> Self

Sets the top value of a positioned element. Docs

60% (3/5)

Source

fn top_neg_3_5(self) -> Self

Sets the top value of a positioned element. Docs

60% (3/5)

Source

fn top_4_5(self) -> Self

Sets the top value of a positioned element. Docs

80% (4/5)

Source

fn top_neg_4_5(self) -> Self

Sets the top value of a positioned element. Docs

80% (4/5)

Source

fn top_1_6(self) -> Self

Sets the top value of a positioned element. Docs

16% (1/6)

Source

fn top_neg_1_6(self) -> Self

Sets the top value of a positioned element. Docs

16% (1/6)

Source

fn top_5_6(self) -> Self

Sets the top value of a positioned element. Docs

83% (5/6)

Source

fn top_neg_5_6(self) -> Self

Sets the top value of a positioned element. Docs

83% (5/6)

Source

fn top_1_12(self) -> Self

Sets the top value of a positioned element. Docs

8% (1/12)

Source

fn top_neg_1_12(self) -> Self

Sets the top value of a positioned element. Docs

8% (1/12)

Source

fn bottom(self, length: impl Clone + Into<Length>) -> Self

Sets the bottom value of a positioned element. Docs

Source

fn bottom_0(self) -> Self

Sets the bottom value of a positioned element. Docs

0px

Source

fn bottom_neg_0(self) -> Self

Sets the bottom value of a positioned element. Docs

0px

Source

fn bottom_0p5(self) -> Self

Sets the bottom value of a positioned element. Docs

0.125rem (2px at the default rem size)

Source

fn bottom_neg_0p5(self) -> Self

Sets the bottom value of a positioned element. Docs

0.125rem (2px at the default rem size)

Source

fn bottom_1(self) -> Self

Sets the bottom value of a positioned element. Docs

0.25rem (4px at the default rem size)

Source

fn bottom_neg_1(self) -> Self

Sets the bottom value of a positioned element. Docs

0.25rem (4px at the default rem size)

Source

fn bottom_1p5(self) -> Self

Sets the bottom value of a positioned element. Docs

0.375rem (6px at the default rem size)

Source

fn bottom_neg_1p5(self) -> Self

Sets the bottom value of a positioned element. Docs

0.375rem (6px at the default rem size)

Source

fn bottom_2(self) -> Self

Sets the bottom value of a positioned element. Docs

0.5rem (8px at the default rem size)

Source

fn bottom_neg_2(self) -> Self

Sets the bottom value of a positioned element. Docs

0.5rem (8px at the default rem size)

Source

fn bottom_2p5(self) -> Self

Sets the bottom value of a positioned element. Docs

0.625rem (10px at the default rem size)

Source

fn bottom_neg_2p5(self) -> Self

Sets the bottom value of a positioned element. Docs

0.625rem (10px at the default rem size)

Source

fn bottom_3(self) -> Self

Sets the bottom value of a positioned element. Docs

0.75rem (12px at the default rem size)

Source

fn bottom_neg_3(self) -> Self

Sets the bottom value of a positioned element. Docs

0.75rem (12px at the default rem size)

Source

fn bottom_3p5(self) -> Self

Sets the bottom value of a positioned element. Docs

0.875rem (14px at the default rem size)

Source

fn bottom_neg_3p5(self) -> Self

Sets the bottom value of a positioned element. Docs

0.875rem (14px at the default rem size)

Source

fn bottom_4(self) -> Self

Sets the bottom value of a positioned element. Docs

1rem (16px at the default rem size)

Source

fn bottom_neg_4(self) -> Self

Sets the bottom value of a positioned element. Docs

1rem (16px at the default rem size)

Source

fn bottom_5(self) -> Self

Sets the bottom value of a positioned element. Docs

1.25rem (20px at the default rem size)

Source

fn bottom_neg_5(self) -> Self

Sets the bottom value of a positioned element. Docs

1.25rem (20px at the default rem size)

Source

fn bottom_6(self) -> Self

Sets the bottom value of a positioned element. Docs

1.5rem (24px at the default rem size)

Source

fn bottom_neg_6(self) -> Self

Sets the bottom value of a positioned element. Docs

1.5rem (24px at the default rem size)

Source

fn bottom_7(self) -> Self

Sets the bottom value of a positioned element. Docs

1.75rem (28px at the default rem size)

Source

fn bottom_neg_7(self) -> Self

Sets the bottom value of a positioned element. Docs

1.75rem (28px at the default rem size)

Source

fn bottom_8(self) -> Self

Sets the bottom value of a positioned element. Docs

2rem (32px at the default rem size)

Source

fn bottom_neg_8(self) -> Self

Sets the bottom value of a positioned element. Docs

2rem (32px at the default rem size)

Source

fn bottom_9(self) -> Self

Sets the bottom value of a positioned element. Docs

2.25rem (36px at the default rem size)

Source

fn bottom_neg_9(self) -> Self

Sets the bottom value of a positioned element. Docs

2.25rem (36px at the default rem size)

Source

fn bottom_10(self) -> Self

Sets the bottom value of a positioned element. Docs

2.5rem (40px at the default rem size)

Source

fn bottom_neg_10(self) -> Self

Sets the bottom value of a positioned element. Docs

2.5rem (40px at the default rem size)

Source

fn bottom_11(self) -> Self

Sets the bottom value of a positioned element. Docs

2.75rem (44px at the default rem size)

Source

fn bottom_neg_11(self) -> Self

Sets the bottom value of a positioned element. Docs

2.75rem (44px at the default rem size)

Source

fn bottom_12(self) -> Self

Sets the bottom value of a positioned element. Docs

3rem (48px at the default rem size)

Source

fn bottom_neg_12(self) -> Self

Sets the bottom value of a positioned element. Docs

3rem (48px at the default rem size)

Source

fn bottom_16(self) -> Self

Sets the bottom value of a positioned element. Docs

4rem (64px at the default rem size)

Source

fn bottom_neg_16(self) -> Self

Sets the bottom value of a positioned element. Docs

4rem (64px at the default rem size)

Source

fn bottom_20(self) -> Self

Sets the bottom value of a positioned element. Docs

5rem (80px at the default rem size)

Source

fn bottom_neg_20(self) -> Self

Sets the bottom value of a positioned element. Docs

5rem (80px at the default rem size)

Source

fn bottom_24(self) -> Self

Sets the bottom value of a positioned element. Docs

6rem (96px at the default rem size)

Source

fn bottom_neg_24(self) -> Self

Sets the bottom value of a positioned element. Docs

6rem (96px at the default rem size)

Source

fn bottom_32(self) -> Self

Sets the bottom value of a positioned element. Docs

8rem (128px at the default rem size)

Source

fn bottom_neg_32(self) -> Self

Sets the bottom value of a positioned element. Docs

8rem (128px at the default rem size)

Source

fn bottom_40(self) -> Self

Sets the bottom value of a positioned element. Docs

10rem (160px at the default rem size)

Source

fn bottom_neg_40(self) -> Self

Sets the bottom value of a positioned element. Docs

10rem (160px at the default rem size)

Source

fn bottom_48(self) -> Self

Sets the bottom value of a positioned element. Docs

12rem (192px at the default rem size)

Source

fn bottom_neg_48(self) -> Self

Sets the bottom value of a positioned element. Docs

12rem (192px at the default rem size)

Source

fn bottom_56(self) -> Self

Sets the bottom value of a positioned element. Docs

14rem (224px at the default rem size)

Source

fn bottom_neg_56(self) -> Self

Sets the bottom value of a positioned element. Docs

14rem (224px at the default rem size)

Source

fn bottom_64(self) -> Self

Sets the bottom value of a positioned element. Docs

16rem (256px at the default rem size)

Source

fn bottom_neg_64(self) -> Self

Sets the bottom value of a positioned element. Docs

16rem (256px at the default rem size)

Source

fn bottom_72(self) -> Self

Sets the bottom value of a positioned element. Docs

18rem (288px at the default rem size)

Source

fn bottom_neg_72(self) -> Self

Sets the bottom value of a positioned element. Docs

18rem (288px at the default rem size)

Source

fn bottom_80(self) -> Self

Sets the bottom value of a positioned element. Docs

20rem (320px at the default rem size)

Source

fn bottom_neg_80(self) -> Self

Sets the bottom value of a positioned element. Docs

20rem (320px at the default rem size)

Source

fn bottom_96(self) -> Self

Sets the bottom value of a positioned element. Docs

24rem (384px at the default rem size)

Source

fn bottom_neg_96(self) -> Self

Sets the bottom value of a positioned element. Docs

24rem (384px at the default rem size)

Source

fn bottom_112(self) -> Self

Sets the bottom value of a positioned element. Docs

28rem (448px at the default rem size)

Source

fn bottom_neg_112(self) -> Self

Sets the bottom value of a positioned element. Docs

28rem (448px at the default rem size)

Source

fn bottom_128(self) -> Self

Sets the bottom value of a positioned element. Docs

32rem (512px at the default rem size)

Source

fn bottom_neg_128(self) -> Self

Sets the bottom value of a positioned element. Docs

32rem (512px at the default rem size)

Source

fn bottom_auto(self) -> Self

Sets the bottom value of a positioned element. Docs

Auto

Source

fn bottom_px(self) -> Self

Sets the bottom value of a positioned element. Docs

1px

Source

fn bottom_neg_px(self) -> Self

Sets the bottom value of a positioned element. Docs

1px

Source

fn bottom_full(self) -> Self

Sets the bottom value of a positioned element. Docs

100%

Source

fn bottom_neg_full(self) -> Self

Sets the bottom value of a positioned element. Docs

100%

Source

fn bottom_1_2(self) -> Self

Sets the bottom value of a positioned element. Docs

50% (1/2)

Source

fn bottom_neg_1_2(self) -> Self

Sets the bottom value of a positioned element. Docs

50% (1/2)

Source

fn bottom_1_3(self) -> Self

Sets the bottom value of a positioned element. Docs

33% (1/3)

Source

fn bottom_neg_1_3(self) -> Self

Sets the bottom value of a positioned element. Docs

33% (1/3)

Source

fn bottom_2_3(self) -> Self

Sets the bottom value of a positioned element. Docs

66% (2/3)

Source

fn bottom_neg_2_3(self) -> Self

Sets the bottom value of a positioned element. Docs

66% (2/3)

Source

fn bottom_1_4(self) -> Self

Sets the bottom value of a positioned element. Docs

25% (1/4)

Source

fn bottom_neg_1_4(self) -> Self

Sets the bottom value of a positioned element. Docs

25% (1/4)

Source

fn bottom_2_4(self) -> Self

Sets the bottom value of a positioned element. Docs

50% (2/4)

Source

fn bottom_neg_2_4(self) -> Self

Sets the bottom value of a positioned element. Docs

50% (2/4)

Source

fn bottom_3_4(self) -> Self

Sets the bottom value of a positioned element. Docs

75% (3/4)

Source

fn bottom_neg_3_4(self) -> Self

Sets the bottom value of a positioned element. Docs

75% (3/4)

Source

fn bottom_1_5(self) -> Self

Sets the bottom value of a positioned element. Docs

20% (1/5)

Source

fn bottom_neg_1_5(self) -> Self

Sets the bottom value of a positioned element. Docs

20% (1/5)

Source

fn bottom_2_5(self) -> Self

Sets the bottom value of a positioned element. Docs

40% (2/5)

Source

fn bottom_neg_2_5(self) -> Self

Sets the bottom value of a positioned element. Docs

40% (2/5)

Source

fn bottom_3_5(self) -> Self

Sets the bottom value of a positioned element. Docs

60% (3/5)

Source

fn bottom_neg_3_5(self) -> Self

Sets the bottom value of a positioned element. Docs

60% (3/5)

Source

fn bottom_4_5(self) -> Self

Sets the bottom value of a positioned element. Docs

80% (4/5)

Source

fn bottom_neg_4_5(self) -> Self

Sets the bottom value of a positioned element. Docs

80% (4/5)

Source

fn bottom_1_6(self) -> Self

Sets the bottom value of a positioned element. Docs

16% (1/6)

Source

fn bottom_neg_1_6(self) -> Self

Sets the bottom value of a positioned element. Docs

16% (1/6)

Source

fn bottom_5_6(self) -> Self

Sets the bottom value of a positioned element. Docs

83% (5/6)

Source

fn bottom_neg_5_6(self) -> Self

Sets the bottom value of a positioned element. Docs

83% (5/6)

Source

fn bottom_1_12(self) -> Self

Sets the bottom value of a positioned element. Docs

8% (1/12)

Source

fn bottom_neg_1_12(self) -> Self

Sets the bottom value of a positioned element. Docs

8% (1/12)

Source

fn left(self, length: impl Clone + Into<Length>) -> Self

Sets the left value of a positioned element. Docs

Source

fn left_0(self) -> Self

Sets the left value of a positioned element. Docs

0px

Source

fn left_neg_0(self) -> Self

Sets the left value of a positioned element. Docs

0px

Source

fn left_0p5(self) -> Self

Sets the left value of a positioned element. Docs

0.125rem (2px at the default rem size)

Source

fn left_neg_0p5(self) -> Self

Sets the left value of a positioned element. Docs

0.125rem (2px at the default rem size)

Source

fn left_1(self) -> Self

Sets the left value of a positioned element. Docs

0.25rem (4px at the default rem size)

Source

fn left_neg_1(self) -> Self

Sets the left value of a positioned element. Docs

0.25rem (4px at the default rem size)

Source

fn left_1p5(self) -> Self

Sets the left value of a positioned element. Docs

0.375rem (6px at the default rem size)

Source

fn left_neg_1p5(self) -> Self

Sets the left value of a positioned element. Docs

0.375rem (6px at the default rem size)

Source

fn left_2(self) -> Self

Sets the left value of a positioned element. Docs

0.5rem (8px at the default rem size)

Source

fn left_neg_2(self) -> Self

Sets the left value of a positioned element. Docs

0.5rem (8px at the default rem size)

Source

fn left_2p5(self) -> Self

Sets the left value of a positioned element. Docs

0.625rem (10px at the default rem size)

Source

fn left_neg_2p5(self) -> Self

Sets the left value of a positioned element. Docs

0.625rem (10px at the default rem size)

Source

fn left_3(self) -> Self

Sets the left value of a positioned element. Docs

0.75rem (12px at the default rem size)

Source

fn left_neg_3(self) -> Self

Sets the left value of a positioned element. Docs

0.75rem (12px at the default rem size)

Source

fn left_3p5(self) -> Self

Sets the left value of a positioned element. Docs

0.875rem (14px at the default rem size)

Source

fn left_neg_3p5(self) -> Self

Sets the left value of a positioned element. Docs

0.875rem (14px at the default rem size)

Source

fn left_4(self) -> Self

Sets the left value of a positioned element. Docs

1rem (16px at the default rem size)

Source

fn left_neg_4(self) -> Self

Sets the left value of a positioned element. Docs

1rem (16px at the default rem size)

Source

fn left_5(self) -> Self

Sets the left value of a positioned element. Docs

1.25rem (20px at the default rem size)

Source

fn left_neg_5(self) -> Self

Sets the left value of a positioned element. Docs

1.25rem (20px at the default rem size)

Source

fn left_6(self) -> Self

Sets the left value of a positioned element. Docs

1.5rem (24px at the default rem size)

Source

fn left_neg_6(self) -> Self

Sets the left value of a positioned element. Docs

1.5rem (24px at the default rem size)

Source

fn left_7(self) -> Self

Sets the left value of a positioned element. Docs

1.75rem (28px at the default rem size)

Source

fn left_neg_7(self) -> Self

Sets the left value of a positioned element. Docs

1.75rem (28px at the default rem size)

Source

fn left_8(self) -> Self

Sets the left value of a positioned element. Docs

2rem (32px at the default rem size)

Source

fn left_neg_8(self) -> Self

Sets the left value of a positioned element. Docs

2rem (32px at the default rem size)

Source

fn left_9(self) -> Self

Sets the left value of a positioned element. Docs

2.25rem (36px at the default rem size)

Source

fn left_neg_9(self) -> Self

Sets the left value of a positioned element. Docs

2.25rem (36px at the default rem size)

Source

fn left_10(self) -> Self

Sets the left value of a positioned element. Docs

2.5rem (40px at the default rem size)

Source

fn left_neg_10(self) -> Self

Sets the left value of a positioned element. Docs

2.5rem (40px at the default rem size)

Source

fn left_11(self) -> Self

Sets the left value of a positioned element. Docs

2.75rem (44px at the default rem size)

Source

fn left_neg_11(self) -> Self

Sets the left value of a positioned element. Docs

2.75rem (44px at the default rem size)

Source

fn left_12(self) -> Self

Sets the left value of a positioned element. Docs

3rem (48px at the default rem size)

Source

fn left_neg_12(self) -> Self

Sets the left value of a positioned element. Docs

3rem (48px at the default rem size)

Source

fn left_16(self) -> Self

Sets the left value of a positioned element. Docs

4rem (64px at the default rem size)

Source

fn left_neg_16(self) -> Self

Sets the left value of a positioned element. Docs

4rem (64px at the default rem size)

Source

fn left_20(self) -> Self

Sets the left value of a positioned element. Docs

5rem (80px at the default rem size)

Source

fn left_neg_20(self) -> Self

Sets the left value of a positioned element. Docs

5rem (80px at the default rem size)

Source

fn left_24(self) -> Self

Sets the left value of a positioned element. Docs

6rem (96px at the default rem size)

Source

fn left_neg_24(self) -> Self

Sets the left value of a positioned element. Docs

6rem (96px at the default rem size)

Source

fn left_32(self) -> Self

Sets the left value of a positioned element. Docs

8rem (128px at the default rem size)

Source

fn left_neg_32(self) -> Self

Sets the left value of a positioned element. Docs

8rem (128px at the default rem size)

Source

fn left_40(self) -> Self

Sets the left value of a positioned element. Docs

10rem (160px at the default rem size)

Source

fn left_neg_40(self) -> Self

Sets the left value of a positioned element. Docs

10rem (160px at the default rem size)

Source

fn left_48(self) -> Self

Sets the left value of a positioned element. Docs

12rem (192px at the default rem size)

Source

fn left_neg_48(self) -> Self

Sets the left value of a positioned element. Docs

12rem (192px at the default rem size)

Source

fn left_56(self) -> Self

Sets the left value of a positioned element. Docs

14rem (224px at the default rem size)

Source

fn left_neg_56(self) -> Self

Sets the left value of a positioned element. Docs

14rem (224px at the default rem size)

Source

fn left_64(self) -> Self

Sets the left value of a positioned element. Docs

16rem (256px at the default rem size)

Source

fn left_neg_64(self) -> Self

Sets the left value of a positioned element. Docs

16rem (256px at the default rem size)

Source

fn left_72(self) -> Self

Sets the left value of a positioned element. Docs

18rem (288px at the default rem size)

Source

fn left_neg_72(self) -> Self

Sets the left value of a positioned element. Docs

18rem (288px at the default rem size)

Source

fn left_80(self) -> Self

Sets the left value of a positioned element. Docs

20rem (320px at the default rem size)

Source

fn left_neg_80(self) -> Self

Sets the left value of a positioned element. Docs

20rem (320px at the default rem size)

Source

fn left_96(self) -> Self

Sets the left value of a positioned element. Docs

24rem (384px at the default rem size)

Source

fn left_neg_96(self) -> Self

Sets the left value of a positioned element. Docs

24rem (384px at the default rem size)

Source

fn left_112(self) -> Self

Sets the left value of a positioned element. Docs

28rem (448px at the default rem size)

Source

fn left_neg_112(self) -> Self

Sets the left value of a positioned element. Docs

28rem (448px at the default rem size)

Source

fn left_128(self) -> Self

Sets the left value of a positioned element. Docs

32rem (512px at the default rem size)

Source

fn left_neg_128(self) -> Self

Sets the left value of a positioned element. Docs

32rem (512px at the default rem size)

Source

fn left_auto(self) -> Self

Sets the left value of a positioned element. Docs

Auto

Source

fn left_px(self) -> Self

Sets the left value of a positioned element. Docs

1px

Source

fn left_neg_px(self) -> Self

Sets the left value of a positioned element. Docs

1px

Source

fn left_full(self) -> Self

Sets the left value of a positioned element. Docs

100%

Source

fn left_neg_full(self) -> Self

Sets the left value of a positioned element. Docs

100%

Source

fn left_1_2(self) -> Self

Sets the left value of a positioned element. Docs

50% (1/2)

Source

fn left_neg_1_2(self) -> Self

Sets the left value of a positioned element. Docs

50% (1/2)

Source

fn left_1_3(self) -> Self

Sets the left value of a positioned element. Docs

33% (1/3)

Source

fn left_neg_1_3(self) -> Self

Sets the left value of a positioned element. Docs

33% (1/3)

Source

fn left_2_3(self) -> Self

Sets the left value of a positioned element. Docs

66% (2/3)

Source

fn left_neg_2_3(self) -> Self

Sets the left value of a positioned element. Docs

66% (2/3)

Source

fn left_1_4(self) -> Self

Sets the left value of a positioned element. Docs

25% (1/4)

Source

fn left_neg_1_4(self) -> Self

Sets the left value of a positioned element. Docs

25% (1/4)

Source

fn left_2_4(self) -> Self

Sets the left value of a positioned element. Docs

50% (2/4)

Source

fn left_neg_2_4(self) -> Self

Sets the left value of a positioned element. Docs

50% (2/4)

Source

fn left_3_4(self) -> Self

Sets the left value of a positioned element. Docs

75% (3/4)

Source

fn left_neg_3_4(self) -> Self

Sets the left value of a positioned element. Docs

75% (3/4)

Source

fn left_1_5(self) -> Self

Sets the left value of a positioned element. Docs

20% (1/5)

Source

fn left_neg_1_5(self) -> Self

Sets the left value of a positioned element. Docs

20% (1/5)

Source

fn left_2_5(self) -> Self

Sets the left value of a positioned element. Docs

40% (2/5)

Source

fn left_neg_2_5(self) -> Self

Sets the left value of a positioned element. Docs

40% (2/5)

Source

fn left_3_5(self) -> Self

Sets the left value of a positioned element. Docs

60% (3/5)

Source

fn left_neg_3_5(self) -> Self

Sets the left value of a positioned element. Docs

60% (3/5)

Source

fn left_4_5(self) -> Self

Sets the left value of a positioned element. Docs

80% (4/5)

Source

fn left_neg_4_5(self) -> Self

Sets the left value of a positioned element. Docs

80% (4/5)

Source

fn left_1_6(self) -> Self

Sets the left value of a positioned element. Docs

16% (1/6)

Source

fn left_neg_1_6(self) -> Self

Sets the left value of a positioned element. Docs

16% (1/6)

Source

fn left_5_6(self) -> Self

Sets the left value of a positioned element. Docs

83% (5/6)

Source

fn left_neg_5_6(self) -> Self

Sets the left value of a positioned element. Docs

83% (5/6)

Source

fn left_1_12(self) -> Self

Sets the left value of a positioned element. Docs

8% (1/12)

Source

fn left_neg_1_12(self) -> Self

Sets the left value of a positioned element. Docs

8% (1/12)

Source

fn right(self, length: impl Clone + Into<Length>) -> Self

Sets the right value of a positioned element. Docs

Source

fn right_0(self) -> Self

Sets the right value of a positioned element. Docs

0px

Source

fn right_neg_0(self) -> Self

Sets the right value of a positioned element. Docs

0px

Source

fn right_0p5(self) -> Self

Sets the right value of a positioned element. Docs

0.125rem (2px at the default rem size)

Source

fn right_neg_0p5(self) -> Self

Sets the right value of a positioned element. Docs

0.125rem (2px at the default rem size)

Source

fn right_1(self) -> Self

Sets the right value of a positioned element. Docs

0.25rem (4px at the default rem size)

Source

fn right_neg_1(self) -> Self

Sets the right value of a positioned element. Docs

0.25rem (4px at the default rem size)

Source

fn right_1p5(self) -> Self

Sets the right value of a positioned element. Docs

0.375rem (6px at the default rem size)

Source

fn right_neg_1p5(self) -> Self

Sets the right value of a positioned element. Docs

0.375rem (6px at the default rem size)

Source

fn right_2(self) -> Self

Sets the right value of a positioned element. Docs

0.5rem (8px at the default rem size)

Source

fn right_neg_2(self) -> Self

Sets the right value of a positioned element. Docs

0.5rem (8px at the default rem size)

Source

fn right_2p5(self) -> Self

Sets the right value of a positioned element. Docs

0.625rem (10px at the default rem size)

Source

fn right_neg_2p5(self) -> Self

Sets the right value of a positioned element. Docs

0.625rem (10px at the default rem size)

Source

fn right_3(self) -> Self

Sets the right value of a positioned element. Docs

0.75rem (12px at the default rem size)

Source

fn right_neg_3(self) -> Self

Sets the right value of a positioned element. Docs

0.75rem (12px at the default rem size)

Source

fn right_3p5(self) -> Self

Sets the right value of a positioned element. Docs

0.875rem (14px at the default rem size)

Source

fn right_neg_3p5(self) -> Self

Sets the right value of a positioned element. Docs

0.875rem (14px at the default rem size)

Source

fn right_4(self) -> Self

Sets the right value of a positioned element. Docs

1rem (16px at the default rem size)

Source

fn right_neg_4(self) -> Self

Sets the right value of a positioned element. Docs

1rem (16px at the default rem size)

Source

fn right_5(self) -> Self

Sets the right value of a positioned element. Docs

1.25rem (20px at the default rem size)

Source

fn right_neg_5(self) -> Self

Sets the right value of a positioned element. Docs

1.25rem (20px at the default rem size)

Source

fn right_6(self) -> Self

Sets the right value of a positioned element. Docs

1.5rem (24px at the default rem size)

Source

fn right_neg_6(self) -> Self

Sets the right value of a positioned element. Docs

1.5rem (24px at the default rem size)

Source

fn right_7(self) -> Self

Sets the right value of a positioned element. Docs

1.75rem (28px at the default rem size)

Source

fn right_neg_7(self) -> Self

Sets the right value of a positioned element. Docs

1.75rem (28px at the default rem size)

Source

fn right_8(self) -> Self

Sets the right value of a positioned element. Docs

2rem (32px at the default rem size)

Source

fn right_neg_8(self) -> Self

Sets the right value of a positioned element. Docs

2rem (32px at the default rem size)

Source

fn right_9(self) -> Self

Sets the right value of a positioned element. Docs

2.25rem (36px at the default rem size)

Source

fn right_neg_9(self) -> Self

Sets the right value of a positioned element. Docs

2.25rem (36px at the default rem size)

Source

fn right_10(self) -> Self

Sets the right value of a positioned element. Docs

2.5rem (40px at the default rem size)

Source

fn right_neg_10(self) -> Self

Sets the right value of a positioned element. Docs

2.5rem (40px at the default rem size)

Source

fn right_11(self) -> Self

Sets the right value of a positioned element. Docs

2.75rem (44px at the default rem size)

Source

fn right_neg_11(self) -> Self

Sets the right value of a positioned element. Docs

2.75rem (44px at the default rem size)

Source

fn right_12(self) -> Self

Sets the right value of a positioned element. Docs

3rem (48px at the default rem size)

Source

fn right_neg_12(self) -> Self

Sets the right value of a positioned element. Docs

3rem (48px at the default rem size)

Source

fn right_16(self) -> Self

Sets the right value of a positioned element. Docs

4rem (64px at the default rem size)

Source

fn right_neg_16(self) -> Self

Sets the right value of a positioned element. Docs

4rem (64px at the default rem size)

Source

fn right_20(self) -> Self

Sets the right value of a positioned element. Docs

5rem (80px at the default rem size)

Source

fn right_neg_20(self) -> Self

Sets the right value of a positioned element. Docs

5rem (80px at the default rem size)

Source

fn right_24(self) -> Self

Sets the right value of a positioned element. Docs

6rem (96px at the default rem size)

Source

fn right_neg_24(self) -> Self

Sets the right value of a positioned element. Docs

6rem (96px at the default rem size)

Source

fn right_32(self) -> Self

Sets the right value of a positioned element. Docs

8rem (128px at the default rem size)

Source

fn right_neg_32(self) -> Self

Sets the right value of a positioned element. Docs

8rem (128px at the default rem size)

Source

fn right_40(self) -> Self

Sets the right value of a positioned element. Docs

10rem (160px at the default rem size)

Source

fn right_neg_40(self) -> Self

Sets the right value of a positioned element. Docs

10rem (160px at the default rem size)

Source

fn right_48(self) -> Self

Sets the right value of a positioned element. Docs

12rem (192px at the default rem size)

Source

fn right_neg_48(self) -> Self

Sets the right value of a positioned element. Docs

12rem (192px at the default rem size)

Source

fn right_56(self) -> Self

Sets the right value of a positioned element. Docs

14rem (224px at the default rem size)

Source

fn right_neg_56(self) -> Self

Sets the right value of a positioned element. Docs

14rem (224px at the default rem size)

Source

fn right_64(self) -> Self

Sets the right value of a positioned element. Docs

16rem (256px at the default rem size)

Source

fn right_neg_64(self) -> Self

Sets the right value of a positioned element. Docs

16rem (256px at the default rem size)

Source

fn right_72(self) -> Self

Sets the right value of a positioned element. Docs

18rem (288px at the default rem size)

Source

fn right_neg_72(self) -> Self

Sets the right value of a positioned element. Docs

18rem (288px at the default rem size)

Source

fn right_80(self) -> Self

Sets the right value of a positioned element. Docs

20rem (320px at the default rem size)

Source

fn right_neg_80(self) -> Self

Sets the right value of a positioned element. Docs

20rem (320px at the default rem size)

Source

fn right_96(self) -> Self

Sets the right value of a positioned element. Docs

24rem (384px at the default rem size)

Source

fn right_neg_96(self) -> Self

Sets the right value of a positioned element. Docs

24rem (384px at the default rem size)

Source

fn right_112(self) -> Self

Sets the right value of a positioned element. Docs

28rem (448px at the default rem size)

Source

fn right_neg_112(self) -> Self

Sets the right value of a positioned element. Docs

28rem (448px at the default rem size)

Source

fn right_128(self) -> Self

Sets the right value of a positioned element. Docs

32rem (512px at the default rem size)

Source

fn right_neg_128(self) -> Self

Sets the right value of a positioned element. Docs

32rem (512px at the default rem size)

Source

fn right_auto(self) -> Self

Sets the right value of a positioned element. Docs

Auto

Source

fn right_px(self) -> Self

Sets the right value of a positioned element. Docs

1px

Source

fn right_neg_px(self) -> Self

Sets the right value of a positioned element. Docs

1px

Source

fn right_full(self) -> Self

Sets the right value of a positioned element. Docs

100%

Source

fn right_neg_full(self) -> Self

Sets the right value of a positioned element. Docs

100%

Source

fn right_1_2(self) -> Self

Sets the right value of a positioned element. Docs

50% (1/2)

Source

fn right_neg_1_2(self) -> Self

Sets the right value of a positioned element. Docs

50% (1/2)

Source

fn right_1_3(self) -> Self

Sets the right value of a positioned element. Docs

33% (1/3)

Source

fn right_neg_1_3(self) -> Self

Sets the right value of a positioned element. Docs

33% (1/3)

Source

fn right_2_3(self) -> Self

Sets the right value of a positioned element. Docs

66% (2/3)

Source

fn right_neg_2_3(self) -> Self

Sets the right value of a positioned element. Docs

66% (2/3)

Source

fn right_1_4(self) -> Self

Sets the right value of a positioned element. Docs

25% (1/4)

Source

fn right_neg_1_4(self) -> Self

Sets the right value of a positioned element. Docs

25% (1/4)

Source

fn right_2_4(self) -> Self

Sets the right value of a positioned element. Docs

50% (2/4)

Source

fn right_neg_2_4(self) -> Self

Sets the right value of a positioned element. Docs

50% (2/4)

Source

fn right_3_4(self) -> Self

Sets the right value of a positioned element. Docs

75% (3/4)

Source

fn right_neg_3_4(self) -> Self

Sets the right value of a positioned element. Docs

75% (3/4)

Source

fn right_1_5(self) -> Self

Sets the right value of a positioned element. Docs

20% (1/5)

Source

fn right_neg_1_5(self) -> Self

Sets the right value of a positioned element. Docs

20% (1/5)

Source

fn right_2_5(self) -> Self

Sets the right value of a positioned element. Docs

40% (2/5)

Source

fn right_neg_2_5(self) -> Self

Sets the right value of a positioned element. Docs

40% (2/5)

Source

fn right_3_5(self) -> Self

Sets the right value of a positioned element. Docs

60% (3/5)

Source

fn right_neg_3_5(self) -> Self

Sets the right value of a positioned element. Docs

60% (3/5)

Source

fn right_4_5(self) -> Self

Sets the right value of a positioned element. Docs

80% (4/5)

Source

fn right_neg_4_5(self) -> Self

Sets the right value of a positioned element. Docs

80% (4/5)

Source

fn right_1_6(self) -> Self

Sets the right value of a positioned element. Docs

16% (1/6)

Source

fn right_neg_1_6(self) -> Self

Sets the right value of a positioned element. Docs

16% (1/6)

Source

fn right_5_6(self) -> Self

Sets the right value of a positioned element. Docs

83% (5/6)

Source

fn right_neg_5_6(self) -> Self

Sets the right value of a positioned element. Docs

83% (5/6)

Source

fn right_1_12(self) -> Self

Sets the right value of a positioned element. Docs

8% (1/12)

Source

fn right_neg_1_12(self) -> Self

Sets the right value of a positioned element. Docs

8% (1/12)

Source

fn overflow_hidden(self) -> Self

Sets the behavior of content that overflows the container to be hidden. Docs

Source

fn overflow_x_hidden(self) -> Self

Sets the behavior of content that overflows the container on the X axis to be hidden. Docs

Source

fn overflow_y_hidden(self) -> Self

Sets the behavior of content that overflows the container on the Y axis to be hidden. Docs

Source

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

Sets the cursor style when hovering over this element.

Source

fn cursor_default(self) -> Self

Sets the cursor style when hovering an element to default. Docs

Source

fn cursor_pointer(self) -> Self

Sets the cursor style when hovering an element to pointer. Docs

Source

fn cursor_text(self) -> Self

Sets cursor style when hovering over an element to text. Docs

Source

fn cursor_move(self) -> Self

Sets cursor style when hovering over an element to move. Docs

Source

fn cursor_not_allowed(self) -> Self

Sets cursor style when hovering over an element to not-allowed. Docs

Source

fn cursor_context_menu(self) -> Self

Sets cursor style when hovering over an element to context-menu. Docs

Source

fn cursor_crosshair(self) -> Self

Sets cursor style when hovering over an element to crosshair. Docs

Source

fn cursor_vertical_text(self) -> Self

Sets cursor style when hovering over an element to vertical-text. Docs

Source

fn cursor_alias(self) -> Self

Sets cursor style when hovering over an element to alias. Docs

Source

fn cursor_copy(self) -> Self

Sets cursor style when hovering over an element to copy. Docs

Source

fn cursor_no_drop(self) -> Self

Sets cursor style when hovering over an element to no-drop. Docs

Source

fn cursor_grab(self) -> Self

Sets cursor style when hovering over an element to grab. Docs

Source

fn cursor_grabbing(self) -> Self

Sets cursor style when hovering over an element to grabbing. Docs

Source

fn cursor_ew_resize(self) -> Self

Sets cursor style when hovering over an element to ew-resize. Docs

Source

fn cursor_ns_resize(self) -> Self

Sets cursor style when hovering over an element to ns-resize. Docs

Source

fn cursor_nesw_resize(self) -> Self

Sets cursor style when hovering over an element to nesw-resize. Docs

Source

fn cursor_nwse_resize(self) -> Self

Sets cursor style when hovering over an element to nwse-resize. Docs

Source

fn cursor_col_resize(self) -> Self

Sets cursor style when hovering over an element to col-resize. Docs

Source

fn cursor_row_resize(self) -> Self

Sets cursor style when hovering over an element to row-resize. Docs

Source

fn cursor_n_resize(self) -> Self

Sets cursor style when hovering over an element to n-resize. Docs

Source

fn cursor_e_resize(self) -> Self

Sets cursor style when hovering over an element to e-resize. Docs

Source

fn cursor_s_resize(self) -> Self

Sets cursor style when hovering over an element to s-resize. Docs

Source

fn cursor_w_resize(self) -> Self

Sets cursor style when hovering over an element to w-resize. Docs

Source

fn cursor_nw_resize(self) -> Self

Sets the upper-left resize cursor.

Source

fn cursor_ne_resize(self) -> Self

Sets the upper-right resize cursor.

Source

fn cursor_sw_resize(self) -> Self

Sets the lower-left resize cursor.

Source

fn cursor_se_resize(self) -> Self

Sets the lower-right resize cursor.

Source

fn border_color<C>(self, border_color: C) -> Self
where C: Into<Background>, Self: Sized,

Sets the background painted into the border of the element.

Source

fn border(self, length: impl Clone + Into<AbsoluteLength>) -> Self

Sets the border width of the element. Docs

Source

fn border_0(self) -> Self

Sets the border width of the element. Docs

0px

Source

fn border_1(self) -> Self

Sets the border width of the element. Docs

1px

Source

fn border_2(self) -> Self

Sets the border width of the element. Docs

2px

Source

fn border_3(self) -> Self

Sets the border width of the element. Docs

3px

Source

fn border_4(self) -> Self

Sets the border width of the element. Docs

4px

Source

fn border_5(self) -> Self

Sets the border width of the element. Docs

5px

Source

fn border_6(self) -> Self

Sets the border width of the element. Docs

6px

Source

fn border_7(self) -> Self

Sets the border width of the element. Docs

7px

Source

fn border_8(self) -> Self

Sets the border width of the element. Docs

8px

Source

fn border_9(self) -> Self

Sets the border width of the element. Docs

9px

Source

fn border_10(self) -> Self

Sets the border width of the element. Docs

10px

Source

fn border_11(self) -> Self

Sets the border width of the element. Docs

11px

Source

fn border_12(self) -> Self

Sets the border width of the element. Docs

12px

Source

fn border_16(self) -> Self

Sets the border width of the element. Docs

16px

Source

fn border_20(self) -> Self

Sets the border width of the element. Docs

20px

Source

fn border_24(self) -> Self

Sets the border width of the element. Docs

24px

Source

fn border_32(self) -> Self

Sets the border width of the element. Docs

32px

Source

fn border_t(self, length: impl Clone + Into<AbsoluteLength>) -> Self

Sets the border width of the top side of the element. Docs

Source

fn border_t_0(self) -> Self

Sets the border width of the top side of the element. Docs

0px

Source

fn border_t_1(self) -> Self

Sets the border width of the top side of the element. Docs

1px

Source

fn border_t_2(self) -> Self

Sets the border width of the top side of the element. Docs

2px

Source

fn border_t_3(self) -> Self

Sets the border width of the top side of the element. Docs

3px

Source

fn border_t_4(self) -> Self

Sets the border width of the top side of the element. Docs

4px

Source

fn border_t_5(self) -> Self

Sets the border width of the top side of the element. Docs

5px

Source

fn border_t_6(self) -> Self

Sets the border width of the top side of the element. Docs

6px

Source

fn border_t_7(self) -> Self

Sets the border width of the top side of the element. Docs

7px

Source

fn border_t_8(self) -> Self

Sets the border width of the top side of the element. Docs

8px

Source

fn border_t_9(self) -> Self

Sets the border width of the top side of the element. Docs

9px

Source

fn border_t_10(self) -> Self

Sets the border width of the top side of the element. Docs

10px

Source

fn border_t_11(self) -> Self

Sets the border width of the top side of the element. Docs

11px

Source

fn border_t_12(self) -> Self

Sets the border width of the top side of the element. Docs

12px

Source

fn border_t_16(self) -> Self

Sets the border width of the top side of the element. Docs

16px

Source

fn border_t_20(self) -> Self

Sets the border width of the top side of the element. Docs

20px

Source

fn border_t_24(self) -> Self

Sets the border width of the top side of the element. Docs

24px

Source

fn border_t_32(self) -> Self

Sets the border width of the top side of the element. Docs

32px

Source

fn border_b(self, length: impl Clone + Into<AbsoluteLength>) -> Self

Sets the border width of the bottom side of the element. Docs

Source

fn border_b_0(self) -> Self

Sets the border width of the bottom side of the element. Docs

0px

Source

fn border_b_1(self) -> Self

Sets the border width of the bottom side of the element. Docs

1px

Source

fn border_b_2(self) -> Self

Sets the border width of the bottom side of the element. Docs

2px

Source

fn border_b_3(self) -> Self

Sets the border width of the bottom side of the element. Docs

3px

Source

fn border_b_4(self) -> Self

Sets the border width of the bottom side of the element. Docs

4px

Source

fn border_b_5(self) -> Self

Sets the border width of the bottom side of the element. Docs

5px

Source

fn border_b_6(self) -> Self

Sets the border width of the bottom side of the element. Docs

6px

Source

fn border_b_7(self) -> Self

Sets the border width of the bottom side of the element. Docs

7px

Source

fn border_b_8(self) -> Self

Sets the border width of the bottom side of the element. Docs

8px

Source

fn border_b_9(self) -> Self

Sets the border width of the bottom side of the element. Docs

9px

Source

fn border_b_10(self) -> Self

Sets the border width of the bottom side of the element. Docs

10px

Source

fn border_b_11(self) -> Self

Sets the border width of the bottom side of the element. Docs

11px

Source

fn border_b_12(self) -> Self

Sets the border width of the bottom side of the element. Docs

12px

Source

fn border_b_16(self) -> Self

Sets the border width of the bottom side of the element. Docs

16px

Source

fn border_b_20(self) -> Self

Sets the border width of the bottom side of the element. Docs

20px

Source

fn border_b_24(self) -> Self

Sets the border width of the bottom side of the element. Docs

24px

Source

fn border_b_32(self) -> Self

Sets the border width of the bottom side of the element. Docs

32px

Source

fn border_r(self, length: impl Clone + Into<AbsoluteLength>) -> Self

Sets the border width of the right side of the element. Docs

Source

fn border_r_0(self) -> Self

Sets the border width of the right side of the element. Docs

0px

Source

fn border_r_1(self) -> Self

Sets the border width of the right side of the element. Docs

1px

Source

fn border_r_2(self) -> Self

Sets the border width of the right side of the element. Docs

2px

Source

fn border_r_3(self) -> Self

Sets the border width of the right side of the element. Docs

3px

Source

fn border_r_4(self) -> Self

Sets the border width of the right side of the element. Docs

4px

Source

fn border_r_5(self) -> Self

Sets the border width of the right side of the element. Docs

5px

Source

fn border_r_6(self) -> Self

Sets the border width of the right side of the element. Docs

6px

Source

fn border_r_7(self) -> Self

Sets the border width of the right side of the element. Docs

7px

Source

fn border_r_8(self) -> Self

Sets the border width of the right side of the element. Docs

8px

Source

fn border_r_9(self) -> Self

Sets the border width of the right side of the element. Docs

9px

Source

fn border_r_10(self) -> Self

Sets the border width of the right side of the element. Docs

10px

Source

fn border_r_11(self) -> Self

Sets the border width of the right side of the element. Docs

11px

Source

fn border_r_12(self) -> Self

Sets the border width of the right side of the element. Docs

12px

Source

fn border_r_16(self) -> Self

Sets the border width of the right side of the element. Docs

16px

Source

fn border_r_20(self) -> Self

Sets the border width of the right side of the element. Docs

20px

Source

fn border_r_24(self) -> Self

Sets the border width of the right side of the element. Docs

24px

Source

fn border_r_32(self) -> Self

Sets the border width of the right side of the element. Docs

32px

Source

fn border_l(self, length: impl Clone + Into<AbsoluteLength>) -> Self

Sets the border width of the left side of the element. Docs

Source

fn border_l_0(self) -> Self

Sets the border width of the left side of the element. Docs

0px

Source

fn border_l_1(self) -> Self

Sets the border width of the left side of the element. Docs

1px

Source

fn border_l_2(self) -> Self

Sets the border width of the left side of the element. Docs

2px

Source

fn border_l_3(self) -> Self

Sets the border width of the left side of the element. Docs

3px

Source

fn border_l_4(self) -> Self

Sets the border width of the left side of the element. Docs

4px

Source

fn border_l_5(self) -> Self

Sets the border width of the left side of the element. Docs

5px

Source

fn border_l_6(self) -> Self

Sets the border width of the left side of the element. Docs

6px

Source

fn border_l_7(self) -> Self

Sets the border width of the left side of the element. Docs

7px

Source

fn border_l_8(self) -> Self

Sets the border width of the left side of the element. Docs

8px

Source

fn border_l_9(self) -> Self

Sets the border width of the left side of the element. Docs

9px

Source

fn border_l_10(self) -> Self

Sets the border width of the left side of the element. Docs

10px

Source

fn border_l_11(self) -> Self

Sets the border width of the left side of the element. Docs

11px

Source

fn border_l_12(self) -> Self

Sets the border width of the left side of the element. Docs

12px

Source

fn border_l_16(self) -> Self

Sets the border width of the left side of the element. Docs

16px

Source

fn border_l_20(self) -> Self

Sets the border width of the left side of the element. Docs

20px

Source

fn border_l_24(self) -> Self

Sets the border width of the left side of the element. Docs

24px

Source

fn border_l_32(self) -> Self

Sets the border width of the left side of the element. Docs

32px

Source

fn border_x(self, length: impl Clone + Into<AbsoluteLength>) -> Self

Sets the border width of the vertical sides of the element. Docs

Source

fn border_x_0(self) -> Self

Sets the border width of the vertical sides of the element. Docs

0px

Source

fn border_x_1(self) -> Self

Sets the border width of the vertical sides of the element. Docs

1px

Source

fn border_x_2(self) -> Self

Sets the border width of the vertical sides of the element. Docs

2px

Source

fn border_x_3(self) -> Self

Sets the border width of the vertical sides of the element. Docs

3px

Source

fn border_x_4(self) -> Self

Sets the border width of the vertical sides of the element. Docs

4px

Source

fn border_x_5(self) -> Self

Sets the border width of the vertical sides of the element. Docs

5px

Source

fn border_x_6(self) -> Self

Sets the border width of the vertical sides of the element. Docs

6px

Source

fn border_x_7(self) -> Self

Sets the border width of the vertical sides of the element. Docs

7px

Source

fn border_x_8(self) -> Self

Sets the border width of the vertical sides of the element. Docs

8px

Source

fn border_x_9(self) -> Self

Sets the border width of the vertical sides of the element. Docs

9px

Source

fn border_x_10(self) -> Self

Sets the border width of the vertical sides of the element. Docs

10px

Source

fn border_x_11(self) -> Self

Sets the border width of the vertical sides of the element. Docs

11px

Source

fn border_x_12(self) -> Self

Sets the border width of the vertical sides of the element. Docs

12px

Source

fn border_x_16(self) -> Self

Sets the border width of the vertical sides of the element. Docs

16px

Source

fn border_x_20(self) -> Self

Sets the border width of the vertical sides of the element. Docs

20px

Source

fn border_x_24(self) -> Self

Sets the border width of the vertical sides of the element. Docs

24px

Source

fn border_x_32(self) -> Self

Sets the border width of the vertical sides of the element. Docs

32px

Source

fn border_y(self, length: impl Clone + Into<AbsoluteLength>) -> Self

Sets the border width of the horizontal sides of the element. Docs

Source

fn border_y_0(self) -> Self

Sets the border width of the horizontal sides of the element. Docs

0px

Source

fn border_y_1(self) -> Self

Sets the border width of the horizontal sides of the element. Docs

1px

Source

fn border_y_2(self) -> Self

Sets the border width of the horizontal sides of the element. Docs

2px

Source

fn border_y_3(self) -> Self

Sets the border width of the horizontal sides of the element. Docs

3px

Source

fn border_y_4(self) -> Self

Sets the border width of the horizontal sides of the element. Docs

4px

Source

fn border_y_5(self) -> Self

Sets the border width of the horizontal sides of the element. Docs

5px

Source

fn border_y_6(self) -> Self

Sets the border width of the horizontal sides of the element. Docs

6px

Source

fn border_y_7(self) -> Self

Sets the border width of the horizontal sides of the element. Docs

7px

Source

fn border_y_8(self) -> Self

Sets the border width of the horizontal sides of the element. Docs

8px

Source

fn border_y_9(self) -> Self

Sets the border width of the horizontal sides of the element. Docs

9px

Source

fn border_y_10(self) -> Self

Sets the border width of the horizontal sides of the element. Docs

10px

Source

fn border_y_11(self) -> Self

Sets the border width of the horizontal sides of the element. Docs

11px

Source

fn border_y_12(self) -> Self

Sets the border width of the horizontal sides of the element. Docs

12px

Source

fn border_y_16(self) -> Self

Sets the border width of the horizontal sides of the element. Docs

16px

Source

fn border_y_20(self) -> Self

Sets the border width of the horizontal sides of the element. Docs

20px

Source

fn border_y_24(self) -> Self

Sets the border width of the horizontal sides of the element. Docs

24px

Source

fn border_y_32(self) -> Self

Sets the border width of the horizontal sides of the element. Docs

32px

Source

fn shadow(self, shadows: Vec<BoxShadow>) -> Self

Sets the element’s box shadows, replacing any set before. Shadows draw in order, so the first is drawn below the others. Docs

Source

fn shadow_none(self) -> Self

Clears the box shadow of the element. Docs

Source

fn ring(self, width: impl Into<Pixels>) -> Self

Sets the outer ring width. Docs

Source

fn ring_color<C>(self, color: C) -> Self
where C: Into<Background>, Self: Sized,

Sets the outer ring color or gradient. Docs

Source

fn inset_ring(self, width: impl Into<Pixels>) -> Self

Sets the inset ring width. Docs

Source

fn inset_ring_color<C>(self, color: C) -> Self
where C: Into<Background>, Self: Sized,

Sets the inset ring color or gradient. Docs

Source

fn ring_0(self) -> Self

Sets the ring width to px(0.). Docs

Source

fn inset_ring_0(self) -> Self

Sets the inset_ring width to px(0.). Docs

Source

fn ring_1(self) -> Self

Sets the ring width to px(1.). Docs

Source

fn inset_ring_1(self) -> Self

Sets the inset_ring width to px(1.). Docs

Source

fn ring_2(self) -> Self

Sets the ring width to px(2.). Docs

Source

fn inset_ring_2(self) -> Self

Sets the inset_ring width to px(2.). Docs

Source

fn ring_4(self) -> Self

Sets the ring width to px(4.). Docs

Source

fn inset_ring_4(self) -> Self

Sets the inset_ring width to px(4.). Docs

Source

fn ring_8(self) -> Self

Sets the ring width to px(8.). Docs

Source

fn inset_ring_8(self) -> Self

Sets the inset_ring width to px(8.). Docs

Source

fn shadow_2xs(self) -> Self

Sets a very faint shadow: 1px down, no blur, 5% black. Docs

Source

fn shadow_xs(self) -> Self

Sets a faint shadow: 1px down, 2px blur, 5% black. Docs

Source

fn shadow_sm(self) -> Self

Sets a small shadow made of two layers, each 10% black. Docs

Source

fn shadow_md(self) -> Self

Sets a medium shadow made of two layers, each 10% black. Docs

Source

fn shadow_lg(self) -> Self

Sets a large shadow made of two layers, each 10% black. Docs

Source

fn shadow_xl(self) -> Self

Sets an extra large shadow made of two layers, each 10% black. Docs

Source

fn shadow_2xl(self) -> Self

Sets the largest preset shadow: 25px down, 50px blur, 25% black. Docs

Source

fn refine_style(self, refinement: &StyleRefinement) -> Self

Applies every property set in refinement to this element’s style.

Unset properties keep their current values. Nested refinements merge field by field too: setting a text color does not clear the font weight. Apply shared styles first and specific overrides afterward so the latter values win.

Source

fn direction(self, direction: LayoutDirection) -> Self

Sets the inline direction of this element and its logical descendants.

The direction is inherited by descendants and is used by logical inline-start/end layout. It does not rewrite physical left and right properties. Prefer Styled::rtl or Styled::ltr unless you need to pass a runtime LayoutDirection.

Source

fn rtl(self) -> Self

Lays out this element and its logical descendants right to left.

Use it for right-to-left languages such as Arabic and Hebrew. Descendants inherit this direction until they set another one; physical left/right properties keep their physical meaning. See the layout and style page.

Source

fn ltr(self) -> Self

Lays out this element and its logical descendants left to right.

Use it to restore left-to-right layout inside an element that is set to Styled::rtl. Elements otherwise inherit their direction, whose resolved default is left to right.

Source

fn unicode_bidi(self, unicode_bidi: UnicodeBidi) -> Self

Sets how this element’s text takes part in the Unicode bidirectional algorithm.

Setting a value marks the property as explicit, so it overrides the default behavior that GPUI applies otherwise.

Source

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

Blurs this element’s own content and children, like CSS filter: blur(<radius>).

The radius is in logical pixels. This isolates the element’s subtree, blurs it as a group, and composites the result back. To blur the content behind the element instead, use Styled::backdrop_blur.

This adds to the element’s filter chain, so .blur(8.) composes with the other filter setters. A later Styled::filter call replaces the chain accumulated so far; call filter first if you want to append a blur afterward.

Source

fn filter(self, filters: impl Into<Vec<Filter>>) -> Self

Replaces the list of filters applied to this element’s own content, like CSS filter.

Any filters set before this call are discarded. To add one filter to the chain, use a convenience setter such as Styled::blur.

Source

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

Blurs the content behind this element, like CSS backdrop-filter: blur(<radius>).

The radius is in logical pixels. Pair it with a translucent Styled::bg so the background tints the blurred content and the result looks like frosted glass.

This adds to the element’s backdrop filter chain. A later Styled::backdrop_filter call replaces the chain accumulated so far; call backdrop_filter first if you want to append a blur afterward.

Source

fn backdrop_filter(self, filters: impl Into<Vec<Filter>>) -> Self

Replaces the list of filters applied to the content behind this element, like CSS backdrop-filter.

Any backdrop filters set before this call are discarded. To add one filter to the chain, use a convenience setter such as Styled::backdrop_blur.

Source

fn display(self, display: Display) -> Self

Sets the display type of this element.

The display type chooses the layout algorithm for the element’s children. See Display for the values.

Source

fn block(self) -> Self

Sets the display type of this element to block.

Docs

Source

fn flex(self) -> Self

Sets the display type of this element to flex.

Its children lay out in a row by default. Use Styled::flex_col for a column.

Docs

Source

fn grid(self) -> Self

Sets the display type of this element to grid.

Children are placed in rows and columns. Choose the column count with Styled::grid_cols.

Docs

Source

fn inline(self) -> Self

Places this element in its parent’s inline formatting context as an inline box.

Its content participates in the surrounding line layout instead of creating a block box; whitespace and line breaks still come from the content and its surrounding layout.

Source

fn inline_flex(self) -> Self

Places this element in its parent’s paragraph as one atomic box with flex layout inside.

Source

fn vertical_align(self, align: VerticalAlign) -> Self

Sets how this element aligns when it is placed in an inline layout.

Use it for elements that take part in text flow, such as inline boxes inside a paragraph. For flex and grid alignment, use Styled::items_center or Styled::self_center.

Source

fn align_baseline(self) -> Self

Aligns this inline box with the surrounding text baseline.

Source

fn align_middle(self) -> Self

Aligns this inline box’s midpoint with the parent baseline plus half its font’s x-height.

This is CSS vertical-align: middle. For flex or grid centering, use Styled::self_center on the item or Styled::items_center on its container.

Source

fn align_top(self) -> Self

Aligns this inline box with the top of its line.

Source

fn align_bottom(self) -> Self

Aligns this inline box with the bottom of its line.

Source

fn hidden(self) -> Self

Sets the display type of this element to none, which removes it from layout and painting.

Its children are removed too. Use Styled::invisible to keep the space the element would take.

Docs

Source

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

Sets the space reserved for the scrollbar, in logical pixels or rems.

The space affects layout only when the element’s overflow is Overflow::Scroll.

Source

fn overflow_fade(self, fade: impl Into<Edges<AbsoluteLength>>) -> Self

Fades the content clipped by this element’s overflow to transparent at each edge.

Each value is the distance over which the content fades as it approaches the corresponding clipped edge, similar to CSS mask-image: linear-gradient(...). Use Edges to set the four edges separately.

Source

fn overflow_fade_x(self, fade: impl Into<AbsoluteLength>) -> Self

Fades content at the left and right overflow edges by the same distance.

This clears any fade set on the top and bottom edges.

Source

fn overflow_fade_y(self, fade: impl Into<AbsoluteLength>) -> Self

Fades content at the top and bottom overflow edges by the same distance.

This clears any fade set on the left and right edges.

Source

fn whitespace(self, white_space: WhiteSpace) -> Self

Sets how this element’s text handles whitespace and wrapping.

Source

fn whitespace_normal(self) -> Self

Sets the whitespace of this element’s text to normal, so text wraps at the available width.

Docs

Source

fn whitespace_nowrap(self) -> Self

Sets the whitespace of this element’s text to nowrap, so text stays on one line.

Docs

Source

fn text_ellipsis(self) -> Self

Truncates overflowing text with an ellipsis (…) at the end.

This sets the overflow mode; pair it with Styled::overflow_hidden and Styled::whitespace_nowrap when you want a single clipped line. Styled::truncate applies all three settings.

Docs

Source

fn text_ellipsis_start(self) -> Self

Truncates overflowing text with an ellipsis (…) at the start.

This sets the overflow mode; pair it with Styled::overflow_hidden and Styled::whitespace_nowrap when you want a single clipped line. Use it for file paths, where the end matters more than the beginning. This doesn’t exist in Tailwind CSS.

Source

fn text_ellipsis_middle(self) -> Self

Truncates overflowing text with an ellipsis (…) in the middle.

The beginning and end of the text stay visible. Pair it with Styled::overflow_hidden and Styled::whitespace_nowrap for a single clipped line. It is useful for file names. This doesn’t exist in Tailwind CSS.

Source

fn text_overflow(self, overflow: TextOverflow) -> Self

Sets how this element’s text is truncated when it overflows.

See TextOverflow for the values.

Source

fn text_align(self, align: TextAlign) -> Self

Sets the horizontal alignment of this element’s text.

Source

fn text_start(self) -> Self

Aligns text to the start edge of each line, which is the left edge in left-to-right text.

Source

fn text_end(self) -> Self

Aligns text to the end edge of each line, which is the right edge in left-to-right text.

Source

fn text_left(self) -> Self

Aligns text to the left edge.

Source

fn text_center(self) -> Self

Centers text horizontally.

Source

fn text_right(self) -> Self

Aligns text to the right edge.

Source

fn letter_spacing(self, spacing: impl Into<Pixels>) -> Self

Sets the space between letters in this element and its children, in logical pixels.

Source

fn text_transform(self, transform: TextTransform) -> Self

Sets the case transformation for text in this element and its children.

Source

fn truncate(self) -> Self

Prevents text from wrapping and truncates overflowing text with an ellipsis (…) at the end.

This sets Styled::overflow_hidden, Styled::whitespace_nowrap and Styled::text_ellipsis.

Docs

Source

fn line_clamp(self, lines: usize) -> Self

Shows at most lines lines of text, then truncates the rest.

This also sets Styled::overflow_hidden.

Docs

Source

fn flex_direction(self, direction: FlexDirection) -> Self

Sets the direction in which flex children are placed.

See FlexDirection for the values. Docs

Source

fn flex_col(self) -> Self

Sets the flex direction to column, so children stack from top to bottom.

Docs

Source

fn flex_col_reverse(self) -> Self

Sets the flex direction to column-reverse, so children stack from bottom to top.

Docs

Source

fn flex_row(self) -> Self

Sets the flex direction to row, so children sit left to right.

Docs

Source

fn flex_row_reverse(self) -> Self

Sets the flex direction to row-reverse, so children sit right to left.

Docs

Source

fn flex_1(self) -> Self

Lets a flex child grow and shrink to fill the space, ignoring its initial size.

This sets flex: 1 1 0%: grow 1, shrink 1, basis 0. Use it on the child that should take up the remaining space.

Docs

Source

fn flex_auto(self) -> Self

Lets a flex child grow and shrink, starting from its natural size.

This sets flex: 1 1 auto.

Docs

Source

fn flex_initial(self) -> Self

Lets a flex child shrink but not grow, starting from its natural size.

This sets flex: 0 1 auto.

Docs

Source

fn flex_none(self) -> Self

Stops a flex child from growing or shrinking.

This sets flex: none, which keeps the child at its natural size.

Docs

Source

fn flex_basis(self, basis: impl Into<Length>) -> Self

Sets the starting size of a flex child before it grows or shrinks.

Docs

Source

fn flex_grow(self, grow: f32) -> Self

Sets the factor by which a flex child grows to fill spare space.

A child with a factor of 2 takes twice the spare space of a child with 1.

Docs

Source

fn flex_grow_0(self) -> Self

Stops a flex child from growing.

Docs

Source

fn flex_grow_1(self) -> Self

Lets a flex child grow with a factor of 1.

Docs

Source

fn flex_shrink(self, shrink: f32) -> Self

Sets the factor by which a flex child shrinks when space is short.

Docs

Source

fn flex_shrink_0(self) -> Self

Prevents this flex child from participating in shrinkage when space is short.

Other constraints, including the child’s minimum size, still affect its final size. This is the usual fix for a sidebar that gets squeezed by its content area.

Docs

Source

fn flex_shrink_1(self) -> Self

Lets a flex child shrink with a factor of 1.

Docs

Source

fn flex_wrap(self) -> Self

Lets flex children wrap onto new lines in the normal direction.

Docs

Source

fn flex_wrap_reverse(self) -> Self

Lets flex children wrap onto new lines in the reverse direction.

Docs

Source

fn flex_nowrap(self) -> Self

Stops flex children from wrapping. Inflexible children overflow the container instead.

Docs

Source

fn items_start(self) -> Self

Aligns flex or grid children to the start of the cross axis.

Docs

Source

fn items_end(self) -> Self

Aligns flex or grid children to the end of the cross axis.

Docs

Source

fn items_center(self) -> Self

Centers flex or grid children along the cross axis.

Docs

Source

fn items_baseline(self) -> Self

Aligns flex or grid children on their text baselines along the cross axis.

Docs

Source

fn items_stretch(self) -> Self

Stretches flex or grid children to fill the cross axis.

Docs

Source

fn self_start(self) -> Self

Aligns this flex or grid child to the start of the container’s cross axis.

Docs

Source

fn self_end(self) -> Self

Aligns this flex or grid child to the end of the container’s cross axis.

Docs

Source

fn self_flex_start(self) -> Self

Aligns this flex child to the flex-relative start of the cross axis.

Docs

Source

fn self_flex_end(self) -> Self

Aligns this flex child to the flex-relative end of the cross axis.

Docs

Source

fn self_center(self) -> Self

Centers this flex or grid child along the container’s cross axis.

Docs

Source

fn self_baseline(self) -> Self

Aligns this flex or grid child on the container’s baseline along the cross axis.

Docs

Source

fn self_stretch(self) -> Self

Stretches this flex or grid child to fill the container’s cross axis.

Docs

Source

fn justify_start(self) -> Self

Packs flex or grid children against the start of the main axis.

Docs

Source

fn justify_end(self) -> Self

Packs flex or grid children against the end of the main axis.

Docs

Source

fn justify_flex_start(self) -> Self

Packs flex children against the flex-relative start of the main axis.

Source

fn justify_flex_end(self) -> Self

Packs flex children against the flex-relative end of the main axis.

Source

fn justify_center(self) -> Self

Centers flex or grid children along the main axis.

Docs

Source

fn justify_between(self) -> Self

Spreads children along the main axis with equal space between them.

The first and last children touch the edges.

Docs

Source

fn justify_around(self) -> Self

Spreads children along the main axis with equal space on each side of each child.

The space at the edges is half the space between children.

Docs

Source

fn justify_evenly(self) -> Self

Spreads children along the main axis with equal space between every child and at both edges.

Docs

Source

fn content_normal(self) -> Self

Clears align-content, so lines of children use their default packing.

Docs

Source

fn content_center(self) -> Self

Packs lines of children in the center of the cross axis.

Docs

Source

fn content_start(self) -> Self

Packs lines of children against the start of the cross axis.

Docs

Source

fn content_end(self) -> Self

Packs lines of children against the end of the cross axis.

Docs

Source

fn content_between(self) -> Self

Spreads lines of children along the cross axis with equal space between them.

Docs

Source

fn content_around(self) -> Self

Spreads lines of children along the cross axis with equal space on each side of each line.

Docs

Source

fn content_evenly(self) -> Self

Spreads lines of children along the cross axis with equal space between every line and at both edges.

Docs

Source

fn content_stretch(self) -> Self

Stretches lines of children to fill the cross axis.

Docs

Source

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

Sets the width-to-height ratio of this element.

A ratio of 2.0 makes the element twice as wide as it is tall. The ratio is used only when one dimension is not set explicitly.

Docs

Source

fn aspect_square(self) -> Self

Sets the aspect ratio to 1.0, so the element’s width and height are equal.

Docs

Source

fn bg<F>(self, fill: F) -> Self
where F: Into<Fill>, Self: Sized,

Sets the background of this element.

Accepts any color, such as Hsla or Rgba, or a gradient or pattern as a Background. See Fill for the full set of accepted values.

Source

fn border_dashed(self) -> Self

Sets the border style to dashed.

Use Styled::border_dashed_length and Styled::border_dashed_gap to tune the dashes.

Source

fn border_dashed_length(self, length_per_border_width: f32) -> Self

Sets the length of each border dash as a multiple of the border width.

Negative values are clamped to 0.0. For a 2px border, 3.0 gives 6px dashes.

Source

fn border_dashed_gap(self, gap_per_border_width: f32) -> Self

Sets the gap between border dashes as a multiple of the border width.

Negative values are clamped to 0.0. For a 2px border, 2.0 gives 4px gaps.

Source

fn text_style(&mut self) -> &mut TextStyleRefinement

Returns the text style refinement configured on this element.

Use it to set a text property that has no dedicated method. The refinement is inherited by text descendants when GPUI resolves their styles; a descendant’s own value takes precedence.

Source

fn text_color(self, color: impl IntoColor<Hsla>) -> Self

Sets the text color of this element.

This value cascades to its children, unless a child sets its own color.

Source

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

Sets the font weight of this element and its children.

This value cascades to its children.

Source

fn font_width(self, width: impl Into<FontWidth>) -> Self

Sets the font width of this element and its children.

Accepts a percentage or a FontWidth preset.

Source

fn text_bg(self, bg: impl IntoColor<Hsla>) -> Self

Sets the background color behind the text of this element.

This value cascades to its children.

Source

fn text_size(self, size: impl Into<AbsoluteLength>) -> Self

Sets the font size of this element and its children.

The size is an absolute length: pass px for logical pixels or rems to scale with the window’s root font size. This value cascades to its children.

Source

fn text_xs(self) -> Self

Sets the font size to 0.75rem (12px with the default 16px root size).

Docs

Source

fn text_sm(self) -> Self

Sets the font size to 0.875rem (14px with the default 16px root size).

Docs

Source

fn text_base(self) -> Self

Sets the font size to 1rem (16px with the default 16px root size).

Docs

Source

fn text_lg(self) -> Self

Sets the font size to 1.125rem (18px with the default 16px root size).

Docs

Source

fn text_xl(self) -> Self

Sets the font size to 1.25rem (20px with the default 16px root size).

Docs

Source

fn text_2xl(self) -> Self

Sets the font size to 1.5rem (24px with the default 16px root size).

Docs

Source

fn text_3xl(self) -> Self

Sets the font size to 1.875rem (30px with the default 16px root size).

Docs

Source

fn italic(self) -> Self

Sets the font style to italic.

Docs

Source

fn not_italic(self) -> Self

Sets the font style to normal, which is not italic.

Docs

Source

fn underline(self) -> Self

Underlines the text of this element with a 1px line.

This replaces any underline style set earlier on this element, including its color, so call Styled::text_decoration_color after this method. An underline set here can cascade to text descendants; Styled::text_decoration_none only clears one set on the current element.

Docs

Source

fn line_through(self) -> Self

Draws a line through the text of this element with a 1px line.

This replaces any strikethrough set earlier on this element. It doesn’t change the underline.

Docs

Source

fn text_decoration_none(self) -> Self

Removes an underline set earlier on this element. It can’t remove an underline inherited from a parent, and it leaves any strikethrough alone.

Source

fn text_decoration_color(self, color: impl IntoColor<Hsla>) -> Self

Sets the color of the text decoration line.

This sets the underline color, not the strikethrough color. If no underline is set, it creates one with 0px thickness, which draws nothing until you set a thickness. Call this after Styled::underline, because underline replaces the whole underline record, including its color.

Source

fn text_decoration_solid(self) -> Self

Sets the text decoration style to a solid line.

If no underline exists yet, this creates one with zero thickness; pair it with Styled::underline or a thickness method to make the line visible.

Docs

Source

fn text_decoration_wavy(self) -> Self

Sets the text decoration style to a wavy line.

If no underline exists yet, this creates one with zero thickness; pair it with Styled::underline or a thickness method to make the line visible.

Docs

Source

fn text_decoration_0(self) -> Self

Sets the text decoration thickness to 0px, which hides the line.

Docs

Source

fn text_decoration_1(self) -> Self

Sets the text decoration thickness to 1px.

Docs

Source

fn text_decoration_2(self) -> Self

Sets the text decoration thickness to 2px.

Docs

Source

fn text_decoration_4(self) -> Self

Sets the text decoration thickness to 4px.

Docs

Source

fn text_decoration_8(self) -> Self

Sets the text decoration thickness to 8px.

Docs

Source

fn font_family(self, family_name: impl Into<SharedString>) -> Self

Sets the font family of this element and its children.

Pass a font family name, such as "Menlo". This value cascades to its children.

Source

fn font_features(self, features: FontFeatures) -> Self

Sets the OpenType font features of this element and its children.

Source

fn font(self, font: Font) -> Self

Sets the font family, features, fallbacks, weight, width, and style of this element and its children.

Use Styled::font_family to change only the family.

Source

fn line_height(self, line_height: impl Into<DefiniteLength>) -> Self

Sets the line height of this element and its children.

Pass an absolute length such as px or rems, or a relative length such as relative(1.5) to make each line 1.5 times the element’s font size. Relative values are resolved against the font size, not the parent’s layout size.

Source

fn opacity(self, opacity: f32) -> Self

Sets the opacity of this element and its children, composited together as one group.

0.0 is fully transparent and 1.0 is fully opaque.

Source

fn grid_cols(self, cols: u16) -> Self

Sets the number of equal-width columns in this grid element.

Columns share the remaining width equally, with a zero minimum track size. A long child can therefore overflow or be compressed below its min-content width. Use Styled::grid_cols_min_content when each column must accommodate its min-content size.

Source

fn grid_cols_min_content(self, cols: u16) -> Self

Sets the number of columns, each at least as wide as its content.

Each track has a min-content minimum and then shares remaining space equally. This keeps unbreakable or otherwise intrinsic content from being compressed below that minimum.

Source

fn grid_cols_max_content(self, cols: u16) -> Self

Sets the number of columns with max-content sizing as the upper track size.

Each track can grow to its max-content width instead of sharing all remaining space as a flexible 1fr track. The minimum remains zero, so a narrow grid can compress or overflow content, and unused space need not be distributed across the tracks.

Source

fn grid_rows(self, rows: u16) -> Self

Sets the number of equal-height rows in this grid element.

Rows share the remaining height equally, with a zero minimum track size. A tall child can therefore overflow or be compressed below its min-content height. Use Styled::grid_rows_min_content when each row must accommodate that minimum.

Source

fn grid_rows_min_content(self, rows: u16) -> Self

Sets the number of rows, each at least as tall as its content.

Each track has a min-content minimum and then shares remaining space equally. This keeps content from being compressed below its intrinsic minimum height.

Source

fn grid_rows_max_content(self, rows: u16) -> Self

Sets the number of rows with max-content sizing as the upper track size.

Each track can grow to its max-content height instead of sharing all remaining space as a flexible 1fr track. The minimum remains zero, so a short grid can compress or overflow content, and unused space need not be distributed across the tracks.

Source

fn col_start(self, start: i16) -> Self

Sets the grid column line where this element starts. Lines are numbered from 1; negative values count backward from the end of the explicit grid.

Source

fn col_start_auto(self) -> Self

Lets the grid place this element’s start column automatically.

Source

fn col_end(self, end: i16) -> Self

Sets the grid column line where this element ends. Lines are numbered from 1; negative values count from the end.

Source

fn col_end_auto(self) -> Self

Lets the grid place this element’s end column automatically.

Source

fn col_span(self, span: u16) -> Self

Makes this element span span grid columns.

Source

fn col_span_full(self) -> Self

Makes this element span all grid columns.

Source

fn row_start(self, start: i16) -> Self

Sets the grid row line where this element starts. Lines are numbered from 1; negative values count backward from the end of the explicit grid.

Source

fn row_start_auto(self) -> Self

Lets the grid place this element’s start row automatically.

Source

fn row_end(self, end: i16) -> Self

Sets the grid row line where this element ends. Lines are numbered from 1; negative values count from the end.

Source

fn row_end_auto(self) -> Self

Lets the grid place this element’s end row automatically.

Source

fn row_span(self, span: u16) -> Self

Makes this element span span grid rows.

Source

fn row_span_full(self) -> Self

Makes this element span all grid rows.

Source

fn debug(self) -> Self

Draws a debug border around this element.

This method exists only in debug builds (debug_assertions).

Source

fn debug_below(self) -> Self

Draws a debug border around this element and every element below it in the tree.

This method exists only in debug builds (debug_assertions).

Source

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

Sets how smooth the rounded corners are, from 0.0 for circular corners to 1.0 for maximum smoothing. In debug builds, values outside this range trigger an assertion.

Source

fn rounded_smoothing_ios(self) -> Self

Sets corner smoothing to 0.6, which matches iOS-style corners.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§