pub struct Canvas<T> { /* private fields */ }Expand description
Trait Implementations§
Source§impl<T: 'static> Element for Canvas<T>
impl<T: 'static> Element for Canvas<T>
Source§type RequestLayoutState = Style
type RequestLayoutState = Style
The state that
Element::request_layout returns for the later phases. Read moreSource§type PrepaintState = Option<T>
type PrepaintState = Option<T>
Source§fn id(&self) -> Option<ElementId>
fn id(&self) -> Option<ElementId>
Returns the element’s identity, or
None if it has none. Read moreSource§fn source_location(&self) -> Option<&'static Location<'static>>
fn source_location(&self) -> Option<&'static Location<'static>>
Returns where this element was created, for the inspector and debug output. Read more
Source§fn request_layout(
&mut self,
_id: Option<&GlobalElementId>,
_inspector_id: Option<&InspectorElementId>,
window: &mut Window,
cx: &mut App,
) -> (LayoutId, Self::RequestLayoutState)
fn request_layout( &mut self, _id: Option<&GlobalElementId>, _inspector_id: Option<&InspectorElementId>, window: &mut Window, cx: &mut App, ) -> (LayoutId, Self::RequestLayoutState)
Requests a layout node from Taffy, and returns it with the state the later phases need. Read more
Source§fn prepaint(
&mut self,
_id: Option<&GlobalElementId>,
_inspector_id: Option<&InspectorElementId>,
bounds: Bounds<Pixels>,
_request_layout: &mut Style,
window: &mut Window,
cx: &mut App,
) -> Option<T>
fn prepaint( &mut self, _id: Option<&GlobalElementId>, _inspector_id: Option<&InspectorElementId>, bounds: Bounds<Pixels>, _request_layout: &mut Style, window: &mut Window, cx: &mut App, ) -> Option<T>
Runs once the element’s bounds are known, and returns the state that
paint needs. Read moreSource§fn paint(
&mut self,
_id: Option<&GlobalElementId>,
_inspector_id: Option<&InspectorElementId>,
bounds: Bounds<Pixels>,
style: &mut Style,
prepaint: &mut Self::PrepaintState,
window: &mut Window,
cx: &mut App,
)
fn paint( &mut self, _id: Option<&GlobalElementId>, _inspector_id: Option<&InspectorElementId>, bounds: Bounds<Pixels>, style: &mut Style, prepaint: &mut Self::PrepaintState, window: &mut Window, cx: &mut App, )
Draws the element. Runs after
prepaint, once per frame. Read moreSource§fn a11y_role(&self) -> Option<Role>
fn a11y_role(&self) -> Option<Role>
Returns the accessible role for this element, if any.
Elements that return
None have no accessibility node unless
Element::is_a11y_hidden returns true. Read moreWhether assistive technology should ignore this element and its
descendants. Read more
Source§fn write_a11y_info(&self, _node: &mut Node)
fn write_a11y_info(&self, _node: &mut Node)
Write accessibility properties to the given node.
GPUI calls this only when
Element::a11y_role returns Some or
Element::is_a11y_hidden returns true. Read moreSource§fn a11y_synthetic_children(
&mut self,
_prepaint: &mut Self::PrepaintState,
_builder: &mut A11ySubtreeBuilder<'_>,
)
fn a11y_synthetic_children( &mut self, _prepaint: &mut Self::PrepaintState, _builder: &mut A11ySubtreeBuilder<'_>, )
Add synthetic child nodes to an
Element. The element must have an
.id(). It must also have a
.role() or return true from
Element::is_a11y_hidden. Read moreSource§fn into_any(self) -> AnyElement
fn into_any(self) -> AnyElement
Convert this element into a dynamically-typed
AnyElement.Source§impl<T: 'static> IntoElement for Canvas<T>
impl<T: 'static> IntoElement for Canvas<T>
Source§fn into_any_element(self) -> AnyElement
fn into_any_element(self) -> AnyElement
Source§impl<T> Styled for Canvas<T>
impl<T> Styled for Canvas<T>
Source§fn style(&mut self) -> &mut StyleRefinement
fn style(&mut self) -> &mut StyleRefinement
Returns the
StyleRefinement that the methods on this trait write into. Read moreSource§fn w_neg_full(self) -> Self
fn w_neg_full(self) -> Self
Source§fn w_neg_1_12(self) -> Self
fn w_neg_1_12(self) -> Self
Source§fn h_neg_full(self) -> Self
fn h_neg_full(self) -> Self
Source§fn h_neg_1_12(self) -> Self
fn h_neg_1_12(self) -> Self
Source§fn size(self, length: impl Clone + Into<Length>) -> Self
fn size(self, length: impl Clone + Into<Length>) -> Self
Sets the width and height of the element.
Source§fn size_neg_0(self) -> Self
fn size_neg_0(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_0p5(self) -> Self
fn size_neg_0p5(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_1(self) -> Self
fn size_neg_1(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_1p5(self) -> Self
fn size_neg_1p5(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_2(self) -> Self
fn size_neg_2(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_2p5(self) -> Self
fn size_neg_2p5(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_3(self) -> Self
fn size_neg_3(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_3p5(self) -> Self
fn size_neg_3p5(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_4(self) -> Self
fn size_neg_4(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_5(self) -> Self
fn size_neg_5(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_6(self) -> Self
fn size_neg_6(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_7(self) -> Self
fn size_neg_7(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_8(self) -> Self
fn size_neg_8(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_9(self) -> Self
fn size_neg_9(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_10(self) -> Self
fn size_neg_10(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_11(self) -> Self
fn size_neg_11(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_12(self) -> Self
fn size_neg_12(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_16(self) -> Self
fn size_neg_16(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_20(self) -> Self
fn size_neg_20(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_24(self) -> Self
fn size_neg_24(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_32(self) -> Self
fn size_neg_32(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_40(self) -> Self
fn size_neg_40(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_48(self) -> Self
fn size_neg_48(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_56(self) -> Self
fn size_neg_56(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_64(self) -> Self
fn size_neg_64(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_72(self) -> Self
fn size_neg_72(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_80(self) -> Self
fn size_neg_80(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_96(self) -> Self
fn size_neg_96(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_112(self) -> Self
fn size_neg_112(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_128(self) -> Self
fn size_neg_128(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_px(self) -> Self
fn size_neg_px(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_full(self) -> Self
fn size_neg_full(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_1_2(self) -> Self
fn size_neg_1_2(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_1_3(self) -> Self
fn size_neg_1_3(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_2_3(self) -> Self
fn size_neg_2_3(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_1_4(self) -> Self
fn size_neg_1_4(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_2_4(self) -> Self
fn size_neg_2_4(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_3_4(self) -> Self
fn size_neg_3_4(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_1_5(self) -> Self
fn size_neg_1_5(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_2_5(self) -> Self
fn size_neg_2_5(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_3_5(self) -> Self
fn size_neg_3_5(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_4_5(self) -> Self
fn size_neg_4_5(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_1_6(self) -> Self
fn size_neg_1_6(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_5_6(self) -> Self
fn size_neg_5_6(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_1_12(self) -> Self
fn size_neg_1_12(self) -> Self
Sets the width and height of the element. Read more
Source§fn min_size(self, length: impl Clone + Into<Length>) -> Self
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
fn min_size_0(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_0(self) -> Self
fn min_size_neg_0(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_0p5(self) -> Self
fn min_size_0p5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_0p5(self) -> Self
fn min_size_neg_0p5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_1(self) -> Self
fn min_size_1(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_1(self) -> Self
fn min_size_neg_1(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_1p5(self) -> Self
fn min_size_1p5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_1p5(self) -> Self
fn min_size_neg_1p5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_2(self) -> Self
fn min_size_2(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_2(self) -> Self
fn min_size_neg_2(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_2p5(self) -> Self
fn min_size_2p5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_2p5(self) -> Self
fn min_size_neg_2p5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_3(self) -> Self
fn min_size_3(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_3(self) -> Self
fn min_size_neg_3(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_3p5(self) -> Self
fn min_size_3p5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_3p5(self) -> Self
fn min_size_neg_3p5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_4(self) -> Self
fn min_size_4(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_4(self) -> Self
fn min_size_neg_4(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_5(self) -> Self
fn min_size_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_5(self) -> Self
fn min_size_neg_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_6(self) -> Self
fn min_size_6(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_6(self) -> Self
fn min_size_neg_6(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_7(self) -> Self
fn min_size_7(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_7(self) -> Self
fn min_size_neg_7(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_8(self) -> Self
fn min_size_8(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_8(self) -> Self
fn min_size_neg_8(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_9(self) -> Self
fn min_size_9(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_9(self) -> Self
fn min_size_neg_9(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_10(self) -> Self
fn min_size_10(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_10(self) -> Self
fn min_size_neg_10(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_11(self) -> Self
fn min_size_11(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_11(self) -> Self
fn min_size_neg_11(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_12(self) -> Self
fn min_size_12(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_12(self) -> Self
fn min_size_neg_12(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_16(self) -> Self
fn min_size_16(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_16(self) -> Self
fn min_size_neg_16(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_20(self) -> Self
fn min_size_20(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_20(self) -> Self
fn min_size_neg_20(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_24(self) -> Self
fn min_size_24(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_24(self) -> Self
fn min_size_neg_24(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_32(self) -> Self
fn min_size_32(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_32(self) -> Self
fn min_size_neg_32(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_40(self) -> Self
fn min_size_40(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_40(self) -> Self
fn min_size_neg_40(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_48(self) -> Self
fn min_size_48(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_48(self) -> Self
fn min_size_neg_48(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_56(self) -> Self
fn min_size_56(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_56(self) -> Self
fn min_size_neg_56(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_64(self) -> Self
fn min_size_64(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_64(self) -> Self
fn min_size_neg_64(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_72(self) -> Self
fn min_size_72(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_72(self) -> Self
fn min_size_neg_72(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_80(self) -> Self
fn min_size_80(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_80(self) -> Self
fn min_size_neg_80(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_96(self) -> Self
fn min_size_96(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_96(self) -> Self
fn min_size_neg_96(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_112(self) -> Self
fn min_size_112(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_112(self) -> Self
fn min_size_neg_112(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_128(self) -> Self
fn min_size_128(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_128(self) -> Self
fn min_size_neg_128(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_auto(self) -> Self
fn min_size_auto(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_px(self) -> Self
fn min_size_px(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_px(self) -> Self
fn min_size_neg_px(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_full(self) -> Self
fn min_size_full(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_full(self) -> Self
fn min_size_neg_full(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_1_2(self) -> Self
fn min_size_1_2(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_1_2(self) -> Self
fn min_size_neg_1_2(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_1_3(self) -> Self
fn min_size_1_3(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_1_3(self) -> Self
fn min_size_neg_1_3(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_2_3(self) -> Self
fn min_size_2_3(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_2_3(self) -> Self
fn min_size_neg_2_3(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_1_4(self) -> Self
fn min_size_1_4(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_1_4(self) -> Self
fn min_size_neg_1_4(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_2_4(self) -> Self
fn min_size_2_4(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_2_4(self) -> Self
fn min_size_neg_2_4(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_3_4(self) -> Self
fn min_size_3_4(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_3_4(self) -> Self
fn min_size_neg_3_4(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_1_5(self) -> Self
fn min_size_1_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_1_5(self) -> Self
fn min_size_neg_1_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_2_5(self) -> Self
fn min_size_2_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_2_5(self) -> Self
fn min_size_neg_2_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_3_5(self) -> Self
fn min_size_3_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_3_5(self) -> Self
fn min_size_neg_3_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_4_5(self) -> Self
fn min_size_4_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_4_5(self) -> Self
fn min_size_neg_4_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_1_6(self) -> Self
fn min_size_1_6(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_1_6(self) -> Self
fn min_size_neg_1_6(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_5_6(self) -> Self
fn min_size_5_6(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_5_6(self) -> Self
fn min_size_neg_5_6(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_1_12(self) -> Self
fn min_size_1_12(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_1_12(self) -> Self
fn min_size_neg_1_12(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_w(self, length: impl Clone + Into<Length>) -> Self
fn min_w(self, length: impl Clone + Into<Length>) -> Self
Sets the minimum width of the element. Docs
Source§fn min_w_neg_0(self) -> Self
fn min_w_neg_0(self) -> Self
Source§fn min_w_neg_0p5(self) -> Self
fn min_w_neg_0p5(self) -> Self
Source§fn min_w_neg_1(self) -> Self
fn min_w_neg_1(self) -> Self
Source§fn min_w_neg_1p5(self) -> Self
fn min_w_neg_1p5(self) -> Self
Source§fn min_w_neg_2(self) -> Self
fn min_w_neg_2(self) -> Self
Source§fn min_w_neg_2p5(self) -> Self
fn min_w_neg_2p5(self) -> Self
Source§fn min_w_neg_3(self) -> Self
fn min_w_neg_3(self) -> Self
Source§fn min_w_neg_3p5(self) -> Self
fn min_w_neg_3p5(self) -> Self
Source§fn min_w_neg_4(self) -> Self
fn min_w_neg_4(self) -> Self
Source§fn min_w_neg_5(self) -> Self
fn min_w_neg_5(self) -> Self
Source§fn min_w_neg_6(self) -> Self
fn min_w_neg_6(self) -> Self
Source§fn min_w_neg_7(self) -> Self
fn min_w_neg_7(self) -> Self
Source§fn min_w_neg_8(self) -> Self
fn min_w_neg_8(self) -> Self
Source§fn min_w_neg_9(self) -> Self
fn min_w_neg_9(self) -> Self
Source§fn min_w_neg_10(self) -> Self
fn min_w_neg_10(self) -> Self
Source§fn min_w_neg_11(self) -> Self
fn min_w_neg_11(self) -> Self
Source§fn min_w_neg_12(self) -> Self
fn min_w_neg_12(self) -> Self
Source§fn min_w_neg_16(self) -> Self
fn min_w_neg_16(self) -> Self
Source§fn min_w_neg_20(self) -> Self
fn min_w_neg_20(self) -> Self
Source§fn min_w_neg_24(self) -> Self
fn min_w_neg_24(self) -> Self
Source§fn min_w_neg_32(self) -> Self
fn min_w_neg_32(self) -> Self
Source§fn min_w_neg_40(self) -> Self
fn min_w_neg_40(self) -> Self
Source§fn min_w_neg_48(self) -> Self
fn min_w_neg_48(self) -> Self
Source§fn min_w_neg_56(self) -> Self
fn min_w_neg_56(self) -> Self
Source§fn min_w_neg_64(self) -> Self
fn min_w_neg_64(self) -> Self
Source§fn min_w_neg_72(self) -> Self
fn min_w_neg_72(self) -> Self
Source§fn min_w_neg_80(self) -> Self
fn min_w_neg_80(self) -> Self
Source§fn min_w_neg_96(self) -> Self
fn min_w_neg_96(self) -> Self
Source§fn min_w_neg_112(self) -> Self
fn min_w_neg_112(self) -> Self
Source§fn min_w_neg_128(self) -> Self
fn min_w_neg_128(self) -> Self
Source§fn min_w_auto(self) -> Self
fn min_w_auto(self) -> Self
Source§fn min_w_neg_px(self) -> Self
fn min_w_neg_px(self) -> Self
Source§fn min_w_full(self) -> Self
fn min_w_full(self) -> Self
Source§fn min_w_neg_full(self) -> Self
fn min_w_neg_full(self) -> Self
Source§fn min_w_neg_1_2(self) -> Self
fn min_w_neg_1_2(self) -> Self
Source§fn min_w_neg_1_3(self) -> Self
fn min_w_neg_1_3(self) -> Self
Source§fn min_w_neg_2_3(self) -> Self
fn min_w_neg_2_3(self) -> Self
Source§fn min_w_neg_1_4(self) -> Self
fn min_w_neg_1_4(self) -> Self
Source§fn min_w_neg_2_4(self) -> Self
fn min_w_neg_2_4(self) -> Self
Source§fn min_w_neg_3_4(self) -> Self
fn min_w_neg_3_4(self) -> Self
Source§fn min_w_neg_1_5(self) -> Self
fn min_w_neg_1_5(self) -> Self
Source§fn min_w_neg_2_5(self) -> Self
fn min_w_neg_2_5(self) -> Self
Source§fn min_w_neg_3_5(self) -> Self
fn min_w_neg_3_5(self) -> Self
Source§fn min_w_neg_4_5(self) -> Self
fn min_w_neg_4_5(self) -> Self
Source§fn min_w_neg_1_6(self) -> Self
fn min_w_neg_1_6(self) -> Self
Source§fn min_w_neg_5_6(self) -> Self
fn min_w_neg_5_6(self) -> Self
Source§fn min_w_1_12(self) -> Self
fn min_w_1_12(self) -> Self
Source§fn min_w_neg_1_12(self) -> Self
fn min_w_neg_1_12(self) -> Self
Source§fn min_h(self, length: impl Clone + Into<Length>) -> Self
fn min_h(self, length: impl Clone + Into<Length>) -> Self
Sets the minimum height of the element. Docs
Source§fn min_h_neg_0(self) -> Self
fn min_h_neg_0(self) -> Self
Source§fn min_h_neg_0p5(self) -> Self
fn min_h_neg_0p5(self) -> Self
Source§fn min_h_neg_1(self) -> Self
fn min_h_neg_1(self) -> Self
Source§fn min_h_neg_1p5(self) -> Self
fn min_h_neg_1p5(self) -> Self
Source§fn min_h_neg_2(self) -> Self
fn min_h_neg_2(self) -> Self
Source§fn min_h_neg_2p5(self) -> Self
fn min_h_neg_2p5(self) -> Self
Source§fn min_h_neg_3(self) -> Self
fn min_h_neg_3(self) -> Self
Source§fn min_h_neg_3p5(self) -> Self
fn min_h_neg_3p5(self) -> Self
Source§fn min_h_neg_4(self) -> Self
fn min_h_neg_4(self) -> Self
Source§fn min_h_neg_5(self) -> Self
fn min_h_neg_5(self) -> Self
Source§fn min_h_neg_6(self) -> Self
fn min_h_neg_6(self) -> Self
Source§fn min_h_neg_7(self) -> Self
fn min_h_neg_7(self) -> Self
Source§fn min_h_neg_8(self) -> Self
fn min_h_neg_8(self) -> Self
Source§fn min_h_neg_9(self) -> Self
fn min_h_neg_9(self) -> Self
Source§fn min_h_neg_10(self) -> Self
fn min_h_neg_10(self) -> Self
Source§fn min_h_neg_11(self) -> Self
fn min_h_neg_11(self) -> Self
Source§fn min_h_neg_12(self) -> Self
fn min_h_neg_12(self) -> Self
Source§fn min_h_neg_16(self) -> Self
fn min_h_neg_16(self) -> Self
Source§fn min_h_neg_20(self) -> Self
fn min_h_neg_20(self) -> Self
Source§fn min_h_neg_24(self) -> Self
fn min_h_neg_24(self) -> Self
Source§fn min_h_neg_32(self) -> Self
fn min_h_neg_32(self) -> Self
Source§fn min_h_neg_40(self) -> Self
fn min_h_neg_40(self) -> Self
Source§fn min_h_neg_48(self) -> Self
fn min_h_neg_48(self) -> Self
Source§fn min_h_neg_56(self) -> Self
fn min_h_neg_56(self) -> Self
Source§fn min_h_neg_64(self) -> Self
fn min_h_neg_64(self) -> Self
Source§fn min_h_neg_72(self) -> Self
fn min_h_neg_72(self) -> Self
Source§fn min_h_neg_80(self) -> Self
fn min_h_neg_80(self) -> Self
Source§fn min_h_neg_96(self) -> Self
fn min_h_neg_96(self) -> Self
Source§fn min_h_neg_112(self) -> Self
fn min_h_neg_112(self) -> Self
Source§fn min_h_neg_128(self) -> Self
fn min_h_neg_128(self) -> Self
Source§fn min_h_auto(self) -> Self
fn min_h_auto(self) -> Self
Source§fn min_h_neg_px(self) -> Self
fn min_h_neg_px(self) -> Self
Source§fn min_h_full(self) -> Self
fn min_h_full(self) -> Self
Source§fn min_h_neg_full(self) -> Self
fn min_h_neg_full(self) -> Self
Source§fn min_h_neg_1_2(self) -> Self
fn min_h_neg_1_2(self) -> Self
Source§fn min_h_neg_1_3(self) -> Self
fn min_h_neg_1_3(self) -> Self
Source§fn min_h_neg_2_3(self) -> Self
fn min_h_neg_2_3(self) -> Self
Source§fn min_h_neg_1_4(self) -> Self
fn min_h_neg_1_4(self) -> Self
Source§fn min_h_neg_2_4(self) -> Self
fn min_h_neg_2_4(self) -> Self
Source§fn min_h_neg_3_4(self) -> Self
fn min_h_neg_3_4(self) -> Self
Source§fn min_h_neg_1_5(self) -> Self
fn min_h_neg_1_5(self) -> Self
Source§fn min_h_neg_2_5(self) -> Self
fn min_h_neg_2_5(self) -> Self
Source§fn min_h_neg_3_5(self) -> Self
fn min_h_neg_3_5(self) -> Self
Source§fn min_h_neg_4_5(self) -> Self
fn min_h_neg_4_5(self) -> Self
Source§fn min_h_neg_1_6(self) -> Self
fn min_h_neg_1_6(self) -> Self
Source§fn min_h_neg_5_6(self) -> Self
fn min_h_neg_5_6(self) -> Self
Source§fn min_h_1_12(self) -> Self
fn min_h_1_12(self) -> Self
Source§fn min_h_neg_1_12(self) -> Self
fn min_h_neg_1_12(self) -> Self
Source§fn max_size(self, length: impl Clone + Into<Length>) -> Self
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
fn max_size_0(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_0(self) -> Self
fn max_size_neg_0(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_0p5(self) -> Self
fn max_size_0p5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_0p5(self) -> Self
fn max_size_neg_0p5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_1(self) -> Self
fn max_size_1(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_1(self) -> Self
fn max_size_neg_1(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_1p5(self) -> Self
fn max_size_1p5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_1p5(self) -> Self
fn max_size_neg_1p5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_2(self) -> Self
fn max_size_2(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_2(self) -> Self
fn max_size_neg_2(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_2p5(self) -> Self
fn max_size_2p5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_2p5(self) -> Self
fn max_size_neg_2p5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_3(self) -> Self
fn max_size_3(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_3(self) -> Self
fn max_size_neg_3(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_3p5(self) -> Self
fn max_size_3p5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_3p5(self) -> Self
fn max_size_neg_3p5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_4(self) -> Self
fn max_size_4(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_4(self) -> Self
fn max_size_neg_4(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_5(self) -> Self
fn max_size_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_5(self) -> Self
fn max_size_neg_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_6(self) -> Self
fn max_size_6(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_6(self) -> Self
fn max_size_neg_6(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_7(self) -> Self
fn max_size_7(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_7(self) -> Self
fn max_size_neg_7(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_8(self) -> Self
fn max_size_8(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_8(self) -> Self
fn max_size_neg_8(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_9(self) -> Self
fn max_size_9(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_9(self) -> Self
fn max_size_neg_9(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_10(self) -> Self
fn max_size_10(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_10(self) -> Self
fn max_size_neg_10(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_11(self) -> Self
fn max_size_11(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_11(self) -> Self
fn max_size_neg_11(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_12(self) -> Self
fn max_size_12(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_12(self) -> Self
fn max_size_neg_12(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_16(self) -> Self
fn max_size_16(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_16(self) -> Self
fn max_size_neg_16(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_20(self) -> Self
fn max_size_20(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_20(self) -> Self
fn max_size_neg_20(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_24(self) -> Self
fn max_size_24(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_24(self) -> Self
fn max_size_neg_24(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_32(self) -> Self
fn max_size_32(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_32(self) -> Self
fn max_size_neg_32(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_40(self) -> Self
fn max_size_40(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_40(self) -> Self
fn max_size_neg_40(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_48(self) -> Self
fn max_size_48(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_48(self) -> Self
fn max_size_neg_48(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_56(self) -> Self
fn max_size_56(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_56(self) -> Self
fn max_size_neg_56(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_64(self) -> Self
fn max_size_64(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_64(self) -> Self
fn max_size_neg_64(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_72(self) -> Self
fn max_size_72(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_72(self) -> Self
fn max_size_neg_72(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_80(self) -> Self
fn max_size_80(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_80(self) -> Self
fn max_size_neg_80(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_96(self) -> Self
fn max_size_96(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_96(self) -> Self
fn max_size_neg_96(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_112(self) -> Self
fn max_size_112(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_112(self) -> Self
fn max_size_neg_112(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_128(self) -> Self
fn max_size_128(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_128(self) -> Self
fn max_size_neg_128(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_auto(self) -> Self
fn max_size_auto(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_px(self) -> Self
fn max_size_px(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_px(self) -> Self
fn max_size_neg_px(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_full(self) -> Self
fn max_size_full(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_full(self) -> Self
fn max_size_neg_full(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_1_2(self) -> Self
fn max_size_1_2(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_1_2(self) -> Self
fn max_size_neg_1_2(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_1_3(self) -> Self
fn max_size_1_3(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_1_3(self) -> Self
fn max_size_neg_1_3(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_2_3(self) -> Self
fn max_size_2_3(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_2_3(self) -> Self
fn max_size_neg_2_3(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_1_4(self) -> Self
fn max_size_1_4(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_1_4(self) -> Self
fn max_size_neg_1_4(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_2_4(self) -> Self
fn max_size_2_4(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_2_4(self) -> Self
fn max_size_neg_2_4(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_3_4(self) -> Self
fn max_size_3_4(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_3_4(self) -> Self
fn max_size_neg_3_4(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_1_5(self) -> Self
fn max_size_1_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_1_5(self) -> Self
fn max_size_neg_1_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_2_5(self) -> Self
fn max_size_2_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_2_5(self) -> Self
fn max_size_neg_2_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_3_5(self) -> Self
fn max_size_3_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_3_5(self) -> Self
fn max_size_neg_3_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_4_5(self) -> Self
fn max_size_4_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_4_5(self) -> Self
fn max_size_neg_4_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_1_6(self) -> Self
fn max_size_1_6(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_1_6(self) -> Self
fn max_size_neg_1_6(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_5_6(self) -> Self
fn max_size_5_6(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_5_6(self) -> Self
fn max_size_neg_5_6(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_1_12(self) -> Self
fn max_size_1_12(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_1_12(self) -> Self
fn max_size_neg_1_12(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_w(self, length: impl Clone + Into<Length>) -> Self
fn max_w(self, length: impl Clone + Into<Length>) -> Self
Sets the maximum width of the element. Docs
Source§fn max_w_neg_0(self) -> Self
fn max_w_neg_0(self) -> Self
Source§fn max_w_neg_0p5(self) -> Self
fn max_w_neg_0p5(self) -> Self
Source§fn max_w_neg_1(self) -> Self
fn max_w_neg_1(self) -> Self
Source§fn max_w_neg_1p5(self) -> Self
fn max_w_neg_1p5(self) -> Self
Source§fn max_w_neg_2(self) -> Self
fn max_w_neg_2(self) -> Self
Source§fn max_w_neg_2p5(self) -> Self
fn max_w_neg_2p5(self) -> Self
Source§fn max_w_neg_3(self) -> Self
fn max_w_neg_3(self) -> Self
Source§fn max_w_neg_3p5(self) -> Self
fn max_w_neg_3p5(self) -> Self
Source§fn max_w_neg_4(self) -> Self
fn max_w_neg_4(self) -> Self
Source§fn max_w_neg_5(self) -> Self
fn max_w_neg_5(self) -> Self
Source§fn max_w_neg_6(self) -> Self
fn max_w_neg_6(self) -> Self
Source§fn max_w_neg_7(self) -> Self
fn max_w_neg_7(self) -> Self
Source§fn max_w_neg_8(self) -> Self
fn max_w_neg_8(self) -> Self
Source§fn max_w_neg_9(self) -> Self
fn max_w_neg_9(self) -> Self
Source§fn max_w_neg_10(self) -> Self
fn max_w_neg_10(self) -> Self
Source§fn max_w_neg_11(self) -> Self
fn max_w_neg_11(self) -> Self
Source§fn max_w_neg_12(self) -> Self
fn max_w_neg_12(self) -> Self
Source§fn max_w_neg_16(self) -> Self
fn max_w_neg_16(self) -> Self
Source§fn max_w_neg_20(self) -> Self
fn max_w_neg_20(self) -> Self
Source§fn max_w_neg_24(self) -> Self
fn max_w_neg_24(self) -> Self
Source§fn max_w_neg_32(self) -> Self
fn max_w_neg_32(self) -> Self
Source§fn max_w_neg_40(self) -> Self
fn max_w_neg_40(self) -> Self
Source§fn max_w_neg_48(self) -> Self
fn max_w_neg_48(self) -> Self
Source§fn max_w_neg_56(self) -> Self
fn max_w_neg_56(self) -> Self
Source§fn max_w_neg_64(self) -> Self
fn max_w_neg_64(self) -> Self
Source§fn max_w_neg_72(self) -> Self
fn max_w_neg_72(self) -> Self
Source§fn max_w_neg_80(self) -> Self
fn max_w_neg_80(self) -> Self
Source§fn max_w_neg_96(self) -> Self
fn max_w_neg_96(self) -> Self
Source§fn max_w_neg_112(self) -> Self
fn max_w_neg_112(self) -> Self
Source§fn max_w_neg_128(self) -> Self
fn max_w_neg_128(self) -> Self
Source§fn max_w_auto(self) -> Self
fn max_w_auto(self) -> Self
Source§fn max_w_neg_px(self) -> Self
fn max_w_neg_px(self) -> Self
Source§fn max_w_full(self) -> Self
fn max_w_full(self) -> Self
Source§fn max_w_neg_full(self) -> Self
fn max_w_neg_full(self) -> Self
Source§fn max_w_neg_1_2(self) -> Self
fn max_w_neg_1_2(self) -> Self
Source§fn max_w_neg_1_3(self) -> Self
fn max_w_neg_1_3(self) -> Self
Source§fn max_w_neg_2_3(self) -> Self
fn max_w_neg_2_3(self) -> Self
Source§fn max_w_neg_1_4(self) -> Self
fn max_w_neg_1_4(self) -> Self
Source§fn max_w_neg_2_4(self) -> Self
fn max_w_neg_2_4(self) -> Self
Source§fn max_w_neg_3_4(self) -> Self
fn max_w_neg_3_4(self) -> Self
Source§fn max_w_neg_1_5(self) -> Self
fn max_w_neg_1_5(self) -> Self
Source§fn max_w_neg_2_5(self) -> Self
fn max_w_neg_2_5(self) -> Self
Source§fn max_w_neg_3_5(self) -> Self
fn max_w_neg_3_5(self) -> Self
Source§fn max_w_neg_4_5(self) -> Self
fn max_w_neg_4_5(self) -> Self
Source§fn max_w_neg_1_6(self) -> Self
fn max_w_neg_1_6(self) -> Self
Source§fn max_w_neg_5_6(self) -> Self
fn max_w_neg_5_6(self) -> Self
Source§fn max_w_1_12(self) -> Self
fn max_w_1_12(self) -> Self
Source§fn max_w_neg_1_12(self) -> Self
fn max_w_neg_1_12(self) -> Self
Source§fn max_h(self, length: impl Clone + Into<Length>) -> Self
fn max_h(self, length: impl Clone + Into<Length>) -> Self
Sets the maximum height of the element. Docs
Source§fn max_h_neg_0(self) -> Self
fn max_h_neg_0(self) -> Self
Source§fn max_h_neg_0p5(self) -> Self
fn max_h_neg_0p5(self) -> Self
Source§fn max_h_neg_1(self) -> Self
fn max_h_neg_1(self) -> Self
Source§fn max_h_neg_1p5(self) -> Self
fn max_h_neg_1p5(self) -> Self
Source§fn max_h_neg_2(self) -> Self
fn max_h_neg_2(self) -> Self
Source§fn max_h_neg_2p5(self) -> Self
fn max_h_neg_2p5(self) -> Self
Source§fn max_h_neg_3(self) -> Self
fn max_h_neg_3(self) -> Self
Source§fn max_h_neg_3p5(self) -> Self
fn max_h_neg_3p5(self) -> Self
Source§fn max_h_neg_4(self) -> Self
fn max_h_neg_4(self) -> Self
Source§fn max_h_neg_5(self) -> Self
fn max_h_neg_5(self) -> Self
Source§fn max_h_neg_6(self) -> Self
fn max_h_neg_6(self) -> Self
Source§fn max_h_neg_7(self) -> Self
fn max_h_neg_7(self) -> Self
Source§fn max_h_neg_8(self) -> Self
fn max_h_neg_8(self) -> Self
Source§fn max_h_neg_9(self) -> Self
fn max_h_neg_9(self) -> Self
Source§fn max_h_neg_10(self) -> Self
fn max_h_neg_10(self) -> Self
Source§fn max_h_neg_11(self) -> Self
fn max_h_neg_11(self) -> Self
Source§fn max_h_neg_12(self) -> Self
fn max_h_neg_12(self) -> Self
Source§fn max_h_neg_16(self) -> Self
fn max_h_neg_16(self) -> Self
Source§fn max_h_neg_20(self) -> Self
fn max_h_neg_20(self) -> Self
Source§fn max_h_neg_24(self) -> Self
fn max_h_neg_24(self) -> Self
Source§fn max_h_neg_32(self) -> Self
fn max_h_neg_32(self) -> Self
Source§fn max_h_neg_40(self) -> Self
fn max_h_neg_40(self) -> Self
Source§fn max_h_neg_48(self) -> Self
fn max_h_neg_48(self) -> Self
Source§fn max_h_neg_56(self) -> Self
fn max_h_neg_56(self) -> Self
Source§fn max_h_neg_64(self) -> Self
fn max_h_neg_64(self) -> Self
Source§fn max_h_neg_72(self) -> Self
fn max_h_neg_72(self) -> Self
Source§fn max_h_neg_80(self) -> Self
fn max_h_neg_80(self) -> Self
Source§fn max_h_neg_96(self) -> Self
fn max_h_neg_96(self) -> Self
Source§fn max_h_neg_112(self) -> Self
fn max_h_neg_112(self) -> Self
Source§fn max_h_neg_128(self) -> Self
fn max_h_neg_128(self) -> Self
Source§fn max_h_auto(self) -> Self
fn max_h_auto(self) -> Self
Source§fn max_h_neg_px(self) -> Self
fn max_h_neg_px(self) -> Self
Source§fn max_h_full(self) -> Self
fn max_h_full(self) -> Self
Source§fn max_h_neg_full(self) -> Self
fn max_h_neg_full(self) -> Self
Source§fn max_h_neg_1_2(self) -> Self
fn max_h_neg_1_2(self) -> Self
Source§fn max_h_neg_1_3(self) -> Self
fn max_h_neg_1_3(self) -> Self
Source§fn max_h_neg_2_3(self) -> Self
fn max_h_neg_2_3(self) -> Self
Source§fn max_h_neg_1_4(self) -> Self
fn max_h_neg_1_4(self) -> Self
Source§fn max_h_neg_2_4(self) -> Self
fn max_h_neg_2_4(self) -> Self
Source§fn max_h_neg_3_4(self) -> Self
fn max_h_neg_3_4(self) -> Self
Source§fn max_h_neg_1_5(self) -> Self
fn max_h_neg_1_5(self) -> Self
Source§fn max_h_neg_2_5(self) -> Self
fn max_h_neg_2_5(self) -> Self
Source§fn max_h_neg_3_5(self) -> Self
fn max_h_neg_3_5(self) -> Self
Source§fn max_h_neg_4_5(self) -> Self
fn max_h_neg_4_5(self) -> Self
Source§fn max_h_neg_1_6(self) -> Self
fn max_h_neg_1_6(self) -> Self
Source§fn max_h_neg_5_6(self) -> Self
fn max_h_neg_5_6(self) -> Self
Source§fn max_h_1_12(self) -> Self
fn max_h_1_12(self) -> Self
Source§fn max_h_neg_1_12(self) -> Self
fn max_h_neg_1_12(self) -> Self
Source§fn gap(self, length: impl Clone + Into<DefiniteLength>) -> Self
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_neg_0p5(self) -> Self
fn gap_neg_0p5(self) -> Self
Source§fn gap_neg_1p5(self) -> Self
fn gap_neg_1p5(self) -> Self
Source§fn gap_neg_2p5(self) -> Self
fn gap_neg_2p5(self) -> Self
Source§fn gap_neg_3p5(self) -> Self
fn gap_neg_3p5(self) -> Self
Source§fn gap_neg_10(self) -> Self
fn gap_neg_10(self) -> Self
Source§fn gap_neg_11(self) -> Self
fn gap_neg_11(self) -> Self
Source§fn gap_neg_12(self) -> Self
fn gap_neg_12(self) -> Self
Source§fn gap_neg_16(self) -> Self
fn gap_neg_16(self) -> Self
Source§fn gap_neg_20(self) -> Self
fn gap_neg_20(self) -> Self
Source§fn gap_neg_24(self) -> Self
fn gap_neg_24(self) -> Self
Source§fn gap_neg_32(self) -> Self
fn gap_neg_32(self) -> Self
Source§fn gap_neg_40(self) -> Self
fn gap_neg_40(self) -> Self
Source§fn gap_neg_48(self) -> Self
fn gap_neg_48(self) -> Self
Source§fn gap_neg_56(self) -> Self
fn gap_neg_56(self) -> Self
Source§fn gap_neg_64(self) -> Self
fn gap_neg_64(self) -> Self
Source§fn gap_neg_72(self) -> Self
fn gap_neg_72(self) -> Self
Source§fn gap_neg_80(self) -> Self
fn gap_neg_80(self) -> Self
Source§fn gap_neg_96(self) -> Self
fn gap_neg_96(self) -> Self
Source§fn gap_neg_112(self) -> Self
fn gap_neg_112(self) -> Self
Source§fn gap_neg_128(self) -> Self
fn gap_neg_128(self) -> Self
Source§fn gap_neg_px(self) -> Self
fn gap_neg_px(self) -> Self
Source§fn gap_neg_full(self) -> Self
fn gap_neg_full(self) -> Self
Source§fn gap_neg_1_2(self) -> Self
fn gap_neg_1_2(self) -> Self
Source§fn gap_neg_1_3(self) -> Self
fn gap_neg_1_3(self) -> Self
Source§fn gap_neg_2_3(self) -> Self
fn gap_neg_2_3(self) -> Self
Source§fn gap_neg_1_4(self) -> Self
fn gap_neg_1_4(self) -> Self
Source§fn gap_neg_2_4(self) -> Self
fn gap_neg_2_4(self) -> Self
Source§fn gap_neg_3_4(self) -> Self
fn gap_neg_3_4(self) -> Self
Source§fn gap_neg_1_5(self) -> Self
fn gap_neg_1_5(self) -> Self
Source§fn gap_neg_2_5(self) -> Self
fn gap_neg_2_5(self) -> Self
Source§fn gap_neg_3_5(self) -> Self
fn gap_neg_3_5(self) -> Self
Source§fn gap_neg_4_5(self) -> Self
fn gap_neg_4_5(self) -> Self
Source§fn gap_neg_1_6(self) -> Self
fn gap_neg_1_6(self) -> Self
Source§fn gap_neg_5_6(self) -> Self
fn gap_neg_5_6(self) -> Self
Source§fn gap_neg_1_12(self) -> Self
fn gap_neg_1_12(self) -> Self
Source§fn gap_x(self, length: impl Clone + Into<DefiniteLength>) -> Self
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_neg_0(self) -> Self
fn gap_x_neg_0(self) -> Self
Source§fn gap_x_neg_0p5(self) -> Self
fn gap_x_neg_0p5(self) -> Self
Source§fn gap_x_neg_1(self) -> Self
fn gap_x_neg_1(self) -> Self
Source§fn gap_x_neg_1p5(self) -> Self
fn gap_x_neg_1p5(self) -> Self
Source§fn gap_x_neg_2(self) -> Self
fn gap_x_neg_2(self) -> Self
Source§fn gap_x_neg_2p5(self) -> Self
fn gap_x_neg_2p5(self) -> Self
Source§fn gap_x_neg_3(self) -> Self
fn gap_x_neg_3(self) -> Self
Source§fn gap_x_neg_3p5(self) -> Self
fn gap_x_neg_3p5(self) -> Self
Source§fn gap_x_neg_4(self) -> Self
fn gap_x_neg_4(self) -> Self
Source§fn gap_x_neg_5(self) -> Self
fn gap_x_neg_5(self) -> Self
Source§fn gap_x_neg_6(self) -> Self
fn gap_x_neg_6(self) -> Self
Source§fn gap_x_neg_7(self) -> Self
fn gap_x_neg_7(self) -> Self
Source§fn gap_x_neg_8(self) -> Self
fn gap_x_neg_8(self) -> Self
Source§fn gap_x_neg_9(self) -> Self
fn gap_x_neg_9(self) -> Self
Source§fn gap_x_neg_10(self) -> Self
fn gap_x_neg_10(self) -> Self
Source§fn gap_x_neg_11(self) -> Self
fn gap_x_neg_11(self) -> Self
Source§fn gap_x_neg_12(self) -> Self
fn gap_x_neg_12(self) -> Self
Source§fn gap_x_neg_16(self) -> Self
fn gap_x_neg_16(self) -> Self
Source§fn gap_x_neg_20(self) -> Self
fn gap_x_neg_20(self) -> Self
Source§fn gap_x_neg_24(self) -> Self
fn gap_x_neg_24(self) -> Self
Source§fn gap_x_neg_32(self) -> Self
fn gap_x_neg_32(self) -> Self
Source§fn gap_x_neg_40(self) -> Self
fn gap_x_neg_40(self) -> Self
Source§fn gap_x_neg_48(self) -> Self
fn gap_x_neg_48(self) -> Self
Source§fn gap_x_neg_56(self) -> Self
fn gap_x_neg_56(self) -> Self
Source§fn gap_x_neg_64(self) -> Self
fn gap_x_neg_64(self) -> Self
Source§fn gap_x_neg_72(self) -> Self
fn gap_x_neg_72(self) -> Self
Source§fn gap_x_neg_80(self) -> Self
fn gap_x_neg_80(self) -> Self
Source§fn gap_x_neg_96(self) -> Self
fn gap_x_neg_96(self) -> Self
Source§fn gap_x_neg_112(self) -> Self
fn gap_x_neg_112(self) -> Self
Source§fn gap_x_neg_128(self) -> Self
fn gap_x_neg_128(self) -> Self
Source§fn gap_x_neg_px(self) -> Self
fn gap_x_neg_px(self) -> Self
Source§fn gap_x_full(self) -> Self
fn gap_x_full(self) -> Self
Source§fn gap_x_neg_full(self) -> Self
fn gap_x_neg_full(self) -> Self
Source§fn gap_x_neg_1_2(self) -> Self
fn gap_x_neg_1_2(self) -> Self
Source§fn gap_x_neg_1_3(self) -> Self
fn gap_x_neg_1_3(self) -> Self
Source§fn gap_x_neg_2_3(self) -> Self
fn gap_x_neg_2_3(self) -> Self
Source§fn gap_x_neg_1_4(self) -> Self
fn gap_x_neg_1_4(self) -> Self
Source§fn gap_x_neg_2_4(self) -> Self
fn gap_x_neg_2_4(self) -> Self
Source§fn gap_x_neg_3_4(self) -> Self
fn gap_x_neg_3_4(self) -> Self
Source§fn gap_x_neg_1_5(self) -> Self
fn gap_x_neg_1_5(self) -> Self
Source§fn gap_x_neg_2_5(self) -> Self
fn gap_x_neg_2_5(self) -> Self
Source§fn gap_x_neg_3_5(self) -> Self
fn gap_x_neg_3_5(self) -> Self
Source§fn gap_x_neg_4_5(self) -> Self
fn gap_x_neg_4_5(self) -> Self
Source§fn gap_x_neg_1_6(self) -> Self
fn gap_x_neg_1_6(self) -> Self
Source§fn gap_x_neg_5_6(self) -> Self
fn gap_x_neg_5_6(self) -> Self
Source§fn gap_x_1_12(self) -> Self
fn gap_x_1_12(self) -> Self
Source§fn gap_x_neg_1_12(self) -> Self
fn gap_x_neg_1_12(self) -> Self
Source§fn gap_y(self, length: impl Clone + Into<DefiniteLength>) -> Self
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_neg_0(self) -> Self
fn gap_y_neg_0(self) -> Self
Source§fn gap_y_neg_0p5(self) -> Self
fn gap_y_neg_0p5(self) -> Self
Source§fn gap_y_neg_1(self) -> Self
fn gap_y_neg_1(self) -> Self
Source§fn gap_y_neg_1p5(self) -> Self
fn gap_y_neg_1p5(self) -> Self
Source§fn gap_y_neg_2(self) -> Self
fn gap_y_neg_2(self) -> Self
Source§fn gap_y_neg_2p5(self) -> Self
fn gap_y_neg_2p5(self) -> Self
Source§fn gap_y_neg_3(self) -> Self
fn gap_y_neg_3(self) -> Self
Source§fn gap_y_neg_3p5(self) -> Self
fn gap_y_neg_3p5(self) -> Self
Source§fn gap_y_neg_4(self) -> Self
fn gap_y_neg_4(self) -> Self
Source§fn gap_y_neg_5(self) -> Self
fn gap_y_neg_5(self) -> Self
Source§fn gap_y_neg_6(self) -> Self
fn gap_y_neg_6(self) -> Self
Source§fn gap_y_neg_7(self) -> Self
fn gap_y_neg_7(self) -> Self
Source§fn gap_y_neg_8(self) -> Self
fn gap_y_neg_8(self) -> Self
Source§fn gap_y_neg_9(self) -> Self
fn gap_y_neg_9(self) -> Self
Source§fn gap_y_neg_10(self) -> Self
fn gap_y_neg_10(self) -> Self
Source§fn gap_y_neg_11(self) -> Self
fn gap_y_neg_11(self) -> Self
Source§fn gap_y_neg_12(self) -> Self
fn gap_y_neg_12(self) -> Self
Source§fn gap_y_neg_16(self) -> Self
fn gap_y_neg_16(self) -> Self
Source§fn gap_y_neg_20(self) -> Self
fn gap_y_neg_20(self) -> Self
Source§fn gap_y_neg_24(self) -> Self
fn gap_y_neg_24(self) -> Self
Source§fn gap_y_neg_32(self) -> Self
fn gap_y_neg_32(self) -> Self
Source§fn gap_y_neg_40(self) -> Self
fn gap_y_neg_40(self) -> Self
Source§fn gap_y_neg_48(self) -> Self
fn gap_y_neg_48(self) -> Self
Source§fn gap_y_neg_56(self) -> Self
fn gap_y_neg_56(self) -> Self
Source§fn gap_y_neg_64(self) -> Self
fn gap_y_neg_64(self) -> Self
Source§fn gap_y_neg_72(self) -> Self
fn gap_y_neg_72(self) -> Self
Source§fn gap_y_neg_80(self) -> Self
fn gap_y_neg_80(self) -> Self
Source§fn gap_y_neg_96(self) -> Self
fn gap_y_neg_96(self) -> Self
Source§fn gap_y_neg_112(self) -> Self
fn gap_y_neg_112(self) -> Self
Source§fn gap_y_neg_128(self) -> Self
fn gap_y_neg_128(self) -> Self
Source§fn gap_y_neg_px(self) -> Self
fn gap_y_neg_px(self) -> Self
Source§fn gap_y_full(self) -> Self
fn gap_y_full(self) -> Self
Source§fn gap_y_neg_full(self) -> Self
fn gap_y_neg_full(self) -> Self
Source§fn gap_y_neg_1_2(self) -> Self
fn gap_y_neg_1_2(self) -> Self
Source§fn gap_y_neg_1_3(self) -> Self
fn gap_y_neg_1_3(self) -> Self
Source§fn gap_y_neg_2_3(self) -> Self
fn gap_y_neg_2_3(self) -> Self
Source§fn gap_y_neg_1_4(self) -> Self
fn gap_y_neg_1_4(self) -> Self
Source§fn gap_y_neg_2_4(self) -> Self
fn gap_y_neg_2_4(self) -> Self
Source§fn gap_y_neg_3_4(self) -> Self
fn gap_y_neg_3_4(self) -> Self
Source§fn gap_y_neg_1_5(self) -> Self
fn gap_y_neg_1_5(self) -> Self
Source§fn gap_y_neg_2_5(self) -> Self
fn gap_y_neg_2_5(self) -> Self
Source§fn gap_y_neg_3_5(self) -> Self
fn gap_y_neg_3_5(self) -> Self
Source§fn gap_y_neg_4_5(self) -> Self
fn gap_y_neg_4_5(self) -> Self
Source§fn gap_y_neg_1_6(self) -> Self
fn gap_y_neg_1_6(self) -> Self
Source§fn gap_y_neg_5_6(self) -> Self
fn gap_y_neg_5_6(self) -> Self
Source§fn gap_y_1_12(self) -> Self
fn gap_y_1_12(self) -> Self
Source§fn gap_y_neg_1_12(self) -> Self
fn gap_y_neg_1_12(self) -> Self
Source§fn rounded(self, length: impl Clone + Into<AbsoluteLength>) -> Self
fn rounded(self, length: impl Clone + Into<AbsoluteLength>) -> Self
Sets the border radius of the element. Docs
Source§fn rounded_none(self) -> Self
fn rounded_none(self) -> Self
Source§fn rounded_xs(self) -> Self
fn rounded_xs(self) -> Self
Source§fn rounded_sm(self) -> Self
fn rounded_sm(self) -> Self
Source§fn rounded_md(self) -> Self
fn rounded_md(self) -> Self
Source§fn rounded_lg(self) -> Self
fn rounded_lg(self) -> Self
Source§fn rounded_xl(self) -> Self
fn rounded_xl(self) -> Self
Source§fn rounded_2xl(self) -> Self
fn rounded_2xl(self) -> Self
Source§fn rounded_3xl(self) -> Self
fn rounded_3xl(self) -> Self
Source§fn rounded_full(self) -> Self
fn rounded_full(self) -> Self
Source§fn rounded_t(self, length: impl Clone + Into<AbsoluteLength>) -> Self
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
fn rounded_t_none(self) -> Self
Source§fn rounded_t_xs(self) -> Self
fn rounded_t_xs(self) -> Self
Source§fn rounded_t_sm(self) -> Self
fn rounded_t_sm(self) -> Self
Source§fn rounded_t_md(self) -> Self
fn rounded_t_md(self) -> Self
Source§fn rounded_t_lg(self) -> Self
fn rounded_t_lg(self) -> Self
Source§fn rounded_t_xl(self) -> Self
fn rounded_t_xl(self) -> Self
Source§fn rounded_t_2xl(self) -> Self
fn rounded_t_2xl(self) -> Self
Source§fn rounded_t_3xl(self) -> Self
fn rounded_t_3xl(self) -> Self
Source§fn rounded_t_full(self) -> Self
fn rounded_t_full(self) -> Self
Source§fn rounded_b(self, length: impl Clone + Into<AbsoluteLength>) -> Self
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
fn rounded_b_none(self) -> Self
Source§fn rounded_b_xs(self) -> Self
fn rounded_b_xs(self) -> Self
Source§fn rounded_b_sm(self) -> Self
fn rounded_b_sm(self) -> Self
Source§fn rounded_b_md(self) -> Self
fn rounded_b_md(self) -> Self
Source§fn rounded_b_lg(self) -> Self
fn rounded_b_lg(self) -> Self
Source§fn rounded_b_xl(self) -> Self
fn rounded_b_xl(self) -> Self
Source§fn rounded_b_2xl(self) -> Self
fn rounded_b_2xl(self) -> Self
Source§fn rounded_b_3xl(self) -> Self
fn rounded_b_3xl(self) -> Self
Source§fn rounded_b_full(self) -> Self
fn rounded_b_full(self) -> Self
Source§fn rounded_r(self, length: impl Clone + Into<AbsoluteLength>) -> Self
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
fn rounded_r_none(self) -> Self
Source§fn rounded_r_xs(self) -> Self
fn rounded_r_xs(self) -> Self
Source§fn rounded_r_sm(self) -> Self
fn rounded_r_sm(self) -> Self
Source§fn rounded_r_md(self) -> Self
fn rounded_r_md(self) -> Self
Source§fn rounded_r_lg(self) -> Self
fn rounded_r_lg(self) -> Self
Source§fn rounded_r_xl(self) -> Self
fn rounded_r_xl(self) -> Self
Source§fn rounded_r_2xl(self) -> Self
fn rounded_r_2xl(self) -> Self
Source§fn rounded_r_3xl(self) -> Self
fn rounded_r_3xl(self) -> Self
Source§fn rounded_r_full(self) -> Self
fn rounded_r_full(self) -> Self
Source§fn rounded_l(self, length: impl Clone + Into<AbsoluteLength>) -> Self
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
fn rounded_l_none(self) -> Self
Source§fn rounded_l_xs(self) -> Self
fn rounded_l_xs(self) -> Self
Source§fn rounded_l_sm(self) -> Self
fn rounded_l_sm(self) -> Self
Source§fn rounded_l_md(self) -> Self
fn rounded_l_md(self) -> Self
Source§fn rounded_l_lg(self) -> Self
fn rounded_l_lg(self) -> Self
Source§fn rounded_l_xl(self) -> Self
fn rounded_l_xl(self) -> Self
Source§fn rounded_l_2xl(self) -> Self
fn rounded_l_2xl(self) -> Self
Source§fn rounded_l_3xl(self) -> Self
fn rounded_l_3xl(self) -> Self
Source§fn rounded_l_full(self) -> Self
fn rounded_l_full(self) -> Self
Source§fn rounded_tl(self, length: impl Clone + Into<AbsoluteLength>) -> Self
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
fn rounded_tl_none(self) -> Self
Source§fn rounded_tl_xs(self) -> Self
fn rounded_tl_xs(self) -> Self
Source§fn rounded_tl_sm(self) -> Self
fn rounded_tl_sm(self) -> Self
Source§fn rounded_tl_md(self) -> Self
fn rounded_tl_md(self) -> Self
Source§fn rounded_tl_lg(self) -> Self
fn rounded_tl_lg(self) -> Self
Source§fn rounded_tl_xl(self) -> Self
fn rounded_tl_xl(self) -> Self
Source§fn rounded_tl_2xl(self) -> Self
fn rounded_tl_2xl(self) -> Self
Source§fn rounded_tl_3xl(self) -> Self
fn rounded_tl_3xl(self) -> Self
Source§fn rounded_tl_full(self) -> Self
fn rounded_tl_full(self) -> Self
Source§fn rounded_tr(self, length: impl Clone + Into<AbsoluteLength>) -> Self
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
fn rounded_tr_none(self) -> Self
Source§fn rounded_tr_xs(self) -> Self
fn rounded_tr_xs(self) -> Self
Source§fn rounded_tr_sm(self) -> Self
fn rounded_tr_sm(self) -> Self
Source§fn rounded_tr_md(self) -> Self
fn rounded_tr_md(self) -> Self
Source§fn rounded_tr_lg(self) -> Self
fn rounded_tr_lg(self) -> Self
Source§fn rounded_tr_xl(self) -> Self
fn rounded_tr_xl(self) -> Self
Source§fn rounded_tr_2xl(self) -> Self
fn rounded_tr_2xl(self) -> Self
Source§fn rounded_tr_3xl(self) -> Self
fn rounded_tr_3xl(self) -> Self
Source§fn rounded_tr_full(self) -> Self
fn rounded_tr_full(self) -> Self
Source§fn rounded_bl(self, length: impl Clone + Into<AbsoluteLength>) -> Self
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
fn rounded_bl_none(self) -> Self
Source§fn rounded_bl_xs(self) -> Self
fn rounded_bl_xs(self) -> Self
Source§fn rounded_bl_sm(self) -> Self
fn rounded_bl_sm(self) -> Self
Source§fn rounded_bl_md(self) -> Self
fn rounded_bl_md(self) -> Self
Source§fn rounded_bl_lg(self) -> Self
fn rounded_bl_lg(self) -> Self
Source§fn rounded_bl_xl(self) -> Self
fn rounded_bl_xl(self) -> Self
Source§fn rounded_bl_2xl(self) -> Self
fn rounded_bl_2xl(self) -> Self
Source§fn rounded_bl_3xl(self) -> Self
fn rounded_bl_3xl(self) -> Self
Source§fn rounded_bl_full(self) -> Self
fn rounded_bl_full(self) -> Self
Source§fn rounded_br(self, length: impl Clone + Into<AbsoluteLength>) -> Self
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
fn rounded_br_none(self) -> Self
Source§fn rounded_br_xs(self) -> Self
fn rounded_br_xs(self) -> Self
Source§fn rounded_br_sm(self) -> Self
fn rounded_br_sm(self) -> Self
Source§fn rounded_br_md(self) -> Self
fn rounded_br_md(self) -> Self
Source§fn rounded_br_lg(self) -> Self
fn rounded_br_lg(self) -> Self
Source§fn rounded_br_xl(self) -> Self
fn rounded_br_xl(self) -> Self
Source§fn rounded_br_2xl(self) -> Self
fn rounded_br_2xl(self) -> Self
Source§fn rounded_br_3xl(self) -> Self
fn rounded_br_3xl(self) -> Self
Source§fn rounded_br_full(self) -> Self
fn rounded_br_full(self) -> Self
Source§fn rounded_smoothing_0(self) -> Self
fn rounded_smoothing_0(self) -> Self
Keeps circular corners by setting rounded corner smoothing to
0.0.Source§fn rounded_smoothing_0p1(self) -> Self
fn rounded_smoothing_0p1(self) -> Self
Sets rounded corner smoothing to
0.1.Source§fn rounded_smoothing_0p2(self) -> Self
fn rounded_smoothing_0p2(self) -> Self
Sets rounded corner smoothing to
0.2.Source§fn rounded_smoothing_0p3(self) -> Self
fn rounded_smoothing_0p3(self) -> Self
Sets rounded corner smoothing to
0.3.Source§fn rounded_smoothing_0p4(self) -> Self
fn rounded_smoothing_0p4(self) -> Self
Sets rounded corner smoothing to
0.4.Source§fn rounded_smoothing_0p5(self) -> Self
fn rounded_smoothing_0p5(self) -> Self
Sets rounded corner smoothing to
0.5.Source§fn rounded_smoothing_0p6(self) -> Self
fn rounded_smoothing_0p6(self) -> Self
Sets rounded corner smoothing to
0.6.Source§fn rounded_smoothing_0p7(self) -> Self
fn rounded_smoothing_0p7(self) -> Self
Sets rounded corner smoothing to
0.7.Source§fn rounded_smoothing_0p8(self) -> Self
fn rounded_smoothing_0p8(self) -> Self
Sets rounded corner smoothing to
0.8.Source§fn rounded_smoothing_0p9(self) -> Self
fn rounded_smoothing_0p9(self) -> Self
Sets rounded corner smoothing to
0.9.Source§fn rounded_smoothing_1(self) -> Self
fn rounded_smoothing_1(self) -> Self
Requests maximum rounded corner smoothing by setting it to
1.0.Source§fn m_neg_full(self) -> Self
fn m_neg_full(self) -> Self
Source§fn m_neg_1_12(self) -> Self
fn m_neg_1_12(self) -> Self
Source§fn mt(self, length: impl Clone + Into<Length>) -> Self
fn mt(self, length: impl Clone + Into<Length>) -> Self
Sets the top margin of the element. Docs
Source§fn mt_neg_0p5(self) -> Self
fn mt_neg_0p5(self) -> Self
Source§fn mt_neg_1p5(self) -> Self
fn mt_neg_1p5(self) -> Self
Source§fn mt_neg_2p5(self) -> Self
fn mt_neg_2p5(self) -> Self
Source§fn mt_neg_3p5(self) -> Self
fn mt_neg_3p5(self) -> Self
Source§fn mt_neg_112(self) -> Self
fn mt_neg_112(self) -> Self
Source§fn mt_neg_128(self) -> Self
fn mt_neg_128(self) -> Self
Source§fn mt_neg_full(self) -> Self
fn mt_neg_full(self) -> Self
Source§fn mt_neg_1_2(self) -> Self
fn mt_neg_1_2(self) -> Self
Source§fn mt_neg_1_3(self) -> Self
fn mt_neg_1_3(self) -> Self
Source§fn mt_neg_2_3(self) -> Self
fn mt_neg_2_3(self) -> Self
Source§fn mt_neg_1_4(self) -> Self
fn mt_neg_1_4(self) -> Self
Source§fn mt_neg_2_4(self) -> Self
fn mt_neg_2_4(self) -> Self
Source§fn mt_neg_3_4(self) -> Self
fn mt_neg_3_4(self) -> Self
Source§fn mt_neg_1_5(self) -> Self
fn mt_neg_1_5(self) -> Self
Source§fn mt_neg_2_5(self) -> Self
fn mt_neg_2_5(self) -> Self
Source§fn mt_neg_3_5(self) -> Self
fn mt_neg_3_5(self) -> Self
Source§fn mt_neg_4_5(self) -> Self
fn mt_neg_4_5(self) -> Self
Source§fn mt_neg_1_6(self) -> Self
fn mt_neg_1_6(self) -> Self
Source§fn mt_neg_5_6(self) -> Self
fn mt_neg_5_6(self) -> Self
Source§fn mt_neg_1_12(self) -> Self
fn mt_neg_1_12(self) -> Self
Source§fn mb(self, length: impl Clone + Into<Length>) -> Self
fn mb(self, length: impl Clone + Into<Length>) -> Self
Sets the bottom margin of the element. Docs
Source§fn mb_neg_0p5(self) -> Self
fn mb_neg_0p5(self) -> Self
Source§fn mb_neg_1p5(self) -> Self
fn mb_neg_1p5(self) -> Self
Source§fn mb_neg_2p5(self) -> Self
fn mb_neg_2p5(self) -> Self
Source§fn mb_neg_3p5(self) -> Self
fn mb_neg_3p5(self) -> Self
Source§fn mb_neg_112(self) -> Self
fn mb_neg_112(self) -> Self
Source§fn mb_neg_128(self) -> Self
fn mb_neg_128(self) -> Self
Source§fn mb_neg_full(self) -> Self
fn mb_neg_full(self) -> Self
Source§fn mb_neg_1_2(self) -> Self
fn mb_neg_1_2(self) -> Self
Source§fn mb_neg_1_3(self) -> Self
fn mb_neg_1_3(self) -> Self
Source§fn mb_neg_2_3(self) -> Self
fn mb_neg_2_3(self) -> Self
Source§fn mb_neg_1_4(self) -> Self
fn mb_neg_1_4(self) -> Self
Source§fn mb_neg_2_4(self) -> Self
fn mb_neg_2_4(self) -> Self
Source§fn mb_neg_3_4(self) -> Self
fn mb_neg_3_4(self) -> Self
Source§fn mb_neg_1_5(self) -> Self
fn mb_neg_1_5(self) -> Self
Source§fn mb_neg_2_5(self) -> Self
fn mb_neg_2_5(self) -> Self
Source§fn mb_neg_3_5(self) -> Self
fn mb_neg_3_5(self) -> Self
Source§fn mb_neg_4_5(self) -> Self
fn mb_neg_4_5(self) -> Self
Source§fn mb_neg_1_6(self) -> Self
fn mb_neg_1_6(self) -> Self
Source§fn mb_neg_5_6(self) -> Self
fn mb_neg_5_6(self) -> Self
Source§fn mb_neg_1_12(self) -> Self
fn mb_neg_1_12(self) -> Self
Source§fn my(self, length: impl Clone + Into<Length>) -> Self
fn my(self, length: impl Clone + Into<Length>) -> Self
Sets the vertical margin of the element. Docs
Source§fn my_neg_0p5(self) -> Self
fn my_neg_0p5(self) -> Self
Source§fn my_neg_1p5(self) -> Self
fn my_neg_1p5(self) -> Self
Source§fn my_neg_2p5(self) -> Self
fn my_neg_2p5(self) -> Self
Source§fn my_neg_3p5(self) -> Self
fn my_neg_3p5(self) -> Self
Source§fn my_neg_112(self) -> Self
fn my_neg_112(self) -> Self
Source§fn my_neg_128(self) -> Self
fn my_neg_128(self) -> Self
Source§fn my_neg_full(self) -> Self
fn my_neg_full(self) -> Self
Source§fn my_neg_1_2(self) -> Self
fn my_neg_1_2(self) -> Self
Source§fn my_neg_1_3(self) -> Self
fn my_neg_1_3(self) -> Self
Source§fn my_neg_2_3(self) -> Self
fn my_neg_2_3(self) -> Self
Source§fn my_neg_1_4(self) -> Self
fn my_neg_1_4(self) -> Self
Source§fn my_neg_2_4(self) -> Self
fn my_neg_2_4(self) -> Self
Source§fn my_neg_3_4(self) -> Self
fn my_neg_3_4(self) -> Self
Source§fn my_neg_1_5(self) -> Self
fn my_neg_1_5(self) -> Self
Source§fn my_neg_2_5(self) -> Self
fn my_neg_2_5(self) -> Self
Source§fn my_neg_3_5(self) -> Self
fn my_neg_3_5(self) -> Self
Source§fn my_neg_4_5(self) -> Self
fn my_neg_4_5(self) -> Self
Source§fn my_neg_1_6(self) -> Self
fn my_neg_1_6(self) -> Self
Source§fn my_neg_5_6(self) -> Self
fn my_neg_5_6(self) -> Self
Source§fn my_neg_1_12(self) -> Self
fn my_neg_1_12(self) -> Self
Source§fn mx(self, length: impl Clone + Into<Length>) -> Self
fn mx(self, length: impl Clone + Into<Length>) -> Self
Sets the horizontal margin of the element. Docs
Source§fn mx_neg_0p5(self) -> Self
fn mx_neg_0p5(self) -> Self
Source§fn mx_neg_1p5(self) -> Self
fn mx_neg_1p5(self) -> Self
Source§fn mx_neg_2p5(self) -> Self
fn mx_neg_2p5(self) -> Self
Source§fn mx_neg_3p5(self) -> Self
fn mx_neg_3p5(self) -> Self
Source§fn mx_neg_112(self) -> Self
fn mx_neg_112(self) -> Self
Source§fn mx_neg_128(self) -> Self
fn mx_neg_128(self) -> Self
Source§fn mx_neg_full(self) -> Self
fn mx_neg_full(self) -> Self
Source§fn mx_neg_1_2(self) -> Self
fn mx_neg_1_2(self) -> Self
Source§fn mx_neg_1_3(self) -> Self
fn mx_neg_1_3(self) -> Self
Source§fn mx_neg_2_3(self) -> Self
fn mx_neg_2_3(self) -> Self
Source§fn mx_neg_1_4(self) -> Self
fn mx_neg_1_4(self) -> Self
Source§fn mx_neg_2_4(self) -> Self
fn mx_neg_2_4(self) -> Self
Source§fn mx_neg_3_4(self) -> Self
fn mx_neg_3_4(self) -> Self
Source§fn mx_neg_1_5(self) -> Self
fn mx_neg_1_5(self) -> Self
Source§fn mx_neg_2_5(self) -> Self
fn mx_neg_2_5(self) -> Self
Source§fn mx_neg_3_5(self) -> Self
fn mx_neg_3_5(self) -> Self
Source§fn mx_neg_4_5(self) -> Self
fn mx_neg_4_5(self) -> Self
Source§fn mx_neg_1_6(self) -> Self
fn mx_neg_1_6(self) -> Self
Source§fn mx_neg_5_6(self) -> Self
fn mx_neg_5_6(self) -> Self
Source§fn mx_neg_1_12(self) -> Self
fn mx_neg_1_12(self) -> Self
Source§fn ml(self, length: impl Clone + Into<Length>) -> Self
fn ml(self, length: impl Clone + Into<Length>) -> Self
Sets the left margin of the element. Docs
Source§fn ml_neg_0p5(self) -> Self
fn ml_neg_0p5(self) -> Self
Source§fn ml_neg_1p5(self) -> Self
fn ml_neg_1p5(self) -> Self
Source§fn ml_neg_2p5(self) -> Self
fn ml_neg_2p5(self) -> Self
Source§fn ml_neg_3p5(self) -> Self
fn ml_neg_3p5(self) -> Self
Source§fn ml_neg_112(self) -> Self
fn ml_neg_112(self) -> Self
Source§fn ml_neg_128(self) -> Self
fn ml_neg_128(self) -> Self
Source§fn ml_neg_full(self) -> Self
fn ml_neg_full(self) -> Self
Source§fn ml_neg_1_2(self) -> Self
fn ml_neg_1_2(self) -> Self
Source§fn ml_neg_1_3(self) -> Self
fn ml_neg_1_3(self) -> Self
Source§fn ml_neg_2_3(self) -> Self
fn ml_neg_2_3(self) -> Self
Source§fn ml_neg_1_4(self) -> Self
fn ml_neg_1_4(self) -> Self
Source§fn ml_neg_2_4(self) -> Self
fn ml_neg_2_4(self) -> Self
Source§fn ml_neg_3_4(self) -> Self
fn ml_neg_3_4(self) -> Self
Source§fn ml_neg_1_5(self) -> Self
fn ml_neg_1_5(self) -> Self
Source§fn ml_neg_2_5(self) -> Self
fn ml_neg_2_5(self) -> Self
Source§fn ml_neg_3_5(self) -> Self
fn ml_neg_3_5(self) -> Self
Source§fn ml_neg_4_5(self) -> Self
fn ml_neg_4_5(self) -> Self
Source§fn ml_neg_1_6(self) -> Self
fn ml_neg_1_6(self) -> Self
Source§fn ml_neg_5_6(self) -> Self
fn ml_neg_5_6(self) -> Self
Source§fn ml_neg_1_12(self) -> Self
fn ml_neg_1_12(self) -> Self
Source§fn mr(self, length: impl Clone + Into<Length>) -> Self
fn mr(self, length: impl Clone + Into<Length>) -> Self
Sets the right margin of the element. Docs
Source§fn mr_neg_0p5(self) -> Self
fn mr_neg_0p5(self) -> Self
Source§fn mr_neg_1p5(self) -> Self
fn mr_neg_1p5(self) -> Self
Source§fn mr_neg_2p5(self) -> Self
fn mr_neg_2p5(self) -> Self
Source§fn mr_neg_3p5(self) -> Self
fn mr_neg_3p5(self) -> Self
Source§fn mr_neg_112(self) -> Self
fn mr_neg_112(self) -> Self
Source§fn mr_neg_128(self) -> Self
fn mr_neg_128(self) -> Self
Source§fn mr_neg_full(self) -> Self
fn mr_neg_full(self) -> Self
Source§fn mr_neg_1_2(self) -> Self
fn mr_neg_1_2(self) -> Self
Source§fn mr_neg_1_3(self) -> Self
fn mr_neg_1_3(self) -> Self
Source§fn mr_neg_2_3(self) -> Self
fn mr_neg_2_3(self) -> Self
Source§fn mr_neg_1_4(self) -> Self
fn mr_neg_1_4(self) -> Self
Source§fn mr_neg_2_4(self) -> Self
fn mr_neg_2_4(self) -> Self
Source§fn mr_neg_3_4(self) -> Self
fn mr_neg_3_4(self) -> Self
Source§fn mr_neg_1_5(self) -> Self
fn mr_neg_1_5(self) -> Self
Source§fn mr_neg_2_5(self) -> Self
fn mr_neg_2_5(self) -> Self
Source§fn mr_neg_3_5(self) -> Self
fn mr_neg_3_5(self) -> Self
Source§fn mr_neg_4_5(self) -> Self
fn mr_neg_4_5(self) -> Self
Source§fn mr_neg_1_6(self) -> Self
fn mr_neg_1_6(self) -> Self
Source§fn mr_neg_5_6(self) -> Self
fn mr_neg_5_6(self) -> Self
Source§fn mr_neg_1_12(self) -> Self
fn mr_neg_1_12(self) -> Self
Source§fn p(self, length: impl Clone + Into<DefiniteLength>) -> Self
fn p(self, length: impl Clone + Into<DefiniteLength>) -> Self
Sets the padding of the element. Docs
Source§fn p_neg_full(self) -> Self
fn p_neg_full(self) -> Self
Source§fn p_neg_1_12(self) -> Self
fn p_neg_1_12(self) -> Self
Source§fn pt(self, length: impl Clone + Into<DefiniteLength>) -> Self
fn pt(self, length: impl Clone + Into<DefiniteLength>) -> Self
Sets the top padding of the element. Docs
Source§fn pt_neg_0p5(self) -> Self
fn pt_neg_0p5(self) -> Self
Source§fn pt_neg_1p5(self) -> Self
fn pt_neg_1p5(self) -> Self
Source§fn pt_neg_2p5(self) -> Self
fn pt_neg_2p5(self) -> Self
Source§fn pt_neg_3p5(self) -> Self
fn pt_neg_3p5(self) -> Self
Source§fn pt_neg_112(self) -> Self
fn pt_neg_112(self) -> Self
Source§fn pt_neg_128(self) -> Self
fn pt_neg_128(self) -> Self
Source§fn pt_neg_full(self) -> Self
fn pt_neg_full(self) -> Self
Source§fn pt_neg_1_2(self) -> Self
fn pt_neg_1_2(self) -> Self
Source§fn pt_neg_1_3(self) -> Self
fn pt_neg_1_3(self) -> Self
Source§fn pt_neg_2_3(self) -> Self
fn pt_neg_2_3(self) -> Self
Source§fn pt_neg_1_4(self) -> Self
fn pt_neg_1_4(self) -> Self
Source§fn pt_neg_2_4(self) -> Self
fn pt_neg_2_4(self) -> Self
Source§fn pt_neg_3_4(self) -> Self
fn pt_neg_3_4(self) -> Self
Source§fn pt_neg_1_5(self) -> Self
fn pt_neg_1_5(self) -> Self
Source§fn pt_neg_2_5(self) -> Self
fn pt_neg_2_5(self) -> Self
Source§fn pt_neg_3_5(self) -> Self
fn pt_neg_3_5(self) -> Self
Source§fn pt_neg_4_5(self) -> Self
fn pt_neg_4_5(self) -> Self
Source§fn pt_neg_1_6(self) -> Self
fn pt_neg_1_6(self) -> Self
Source§fn pt_neg_5_6(self) -> Self
fn pt_neg_5_6(self) -> Self
Source§fn pt_neg_1_12(self) -> Self
fn pt_neg_1_12(self) -> Self
Source§fn pb(self, length: impl Clone + Into<DefiniteLength>) -> Self
fn pb(self, length: impl Clone + Into<DefiniteLength>) -> Self
Sets the bottom padding of the element. Docs
Source§fn pb_neg_0p5(self) -> Self
fn pb_neg_0p5(self) -> Self
Source§fn pb_neg_1p5(self) -> Self
fn pb_neg_1p5(self) -> Self
Source§fn pb_neg_2p5(self) -> Self
fn pb_neg_2p5(self) -> Self
Source§fn pb_neg_3p5(self) -> Self
fn pb_neg_3p5(self) -> Self
Source§fn pb_neg_112(self) -> Self
fn pb_neg_112(self) -> Self
Source§fn pb_neg_128(self) -> Self
fn pb_neg_128(self) -> Self
Source§fn pb_neg_full(self) -> Self
fn pb_neg_full(self) -> Self
Source§fn pb_neg_1_2(self) -> Self
fn pb_neg_1_2(self) -> Self
Source§fn pb_neg_1_3(self) -> Self
fn pb_neg_1_3(self) -> Self
Source§fn pb_neg_2_3(self) -> Self
fn pb_neg_2_3(self) -> Self
Source§fn pb_neg_1_4(self) -> Self
fn pb_neg_1_4(self) -> Self
Source§fn pb_neg_2_4(self) -> Self
fn pb_neg_2_4(self) -> Self
Source§fn pb_neg_3_4(self) -> Self
fn pb_neg_3_4(self) -> Self
Source§fn pb_neg_1_5(self) -> Self
fn pb_neg_1_5(self) -> Self
Source§fn pb_neg_2_5(self) -> Self
fn pb_neg_2_5(self) -> Self
Source§fn pb_neg_3_5(self) -> Self
fn pb_neg_3_5(self) -> Self
Source§fn pb_neg_4_5(self) -> Self
fn pb_neg_4_5(self) -> Self
Source§fn pb_neg_1_6(self) -> Self
fn pb_neg_1_6(self) -> Self
Source§fn pb_neg_5_6(self) -> Self
fn pb_neg_5_6(self) -> Self
Source§fn pb_neg_1_12(self) -> Self
fn pb_neg_1_12(self) -> Self
Source§fn px(self, length: impl Clone + Into<DefiniteLength>) -> Self
fn px(self, length: impl Clone + Into<DefiniteLength>) -> Self
Sets the horizontal padding of the element. Docs
Source§fn px_neg_0p5(self) -> Self
fn px_neg_0p5(self) -> Self
Source§fn px_neg_1p5(self) -> Self
fn px_neg_1p5(self) -> Self
Source§fn px_neg_2p5(self) -> Self
fn px_neg_2p5(self) -> Self
Source§fn px_neg_3p5(self) -> Self
fn px_neg_3p5(self) -> Self
Source§fn px_neg_112(self) -> Self
fn px_neg_112(self) -> Self
Source§fn px_neg_128(self) -> Self
fn px_neg_128(self) -> Self
Source§fn px_neg_full(self) -> Self
fn px_neg_full(self) -> Self
Source§fn px_neg_1_2(self) -> Self
fn px_neg_1_2(self) -> Self
Source§fn px_neg_1_3(self) -> Self
fn px_neg_1_3(self) -> Self
Source§fn px_neg_2_3(self) -> Self
fn px_neg_2_3(self) -> Self
Source§fn px_neg_1_4(self) -> Self
fn px_neg_1_4(self) -> Self
Source§fn px_neg_2_4(self) -> Self
fn px_neg_2_4(self) -> Self
Source§fn px_neg_3_4(self) -> Self
fn px_neg_3_4(self) -> Self
Source§fn px_neg_1_5(self) -> Self
fn px_neg_1_5(self) -> Self
Source§fn px_neg_2_5(self) -> Self
fn px_neg_2_5(self) -> Self
Source§fn px_neg_3_5(self) -> Self
fn px_neg_3_5(self) -> Self
Source§fn px_neg_4_5(self) -> Self
fn px_neg_4_5(self) -> Self
Source§fn px_neg_1_6(self) -> Self
fn px_neg_1_6(self) -> Self
Source§fn px_neg_5_6(self) -> Self
fn px_neg_5_6(self) -> Self
Source§fn px_neg_1_12(self) -> Self
fn px_neg_1_12(self) -> Self
Source§fn py(self, length: impl Clone + Into<DefiniteLength>) -> Self
fn py(self, length: impl Clone + Into<DefiniteLength>) -> Self
Sets the vertical padding of the element. Docs
Source§fn py_neg_0p5(self) -> Self
fn py_neg_0p5(self) -> Self
Source§fn py_neg_1p5(self) -> Self
fn py_neg_1p5(self) -> Self
Source§fn py_neg_2p5(self) -> Self
fn py_neg_2p5(self) -> Self
Source§fn py_neg_3p5(self) -> Self
fn py_neg_3p5(self) -> Self
Source§fn py_neg_112(self) -> Self
fn py_neg_112(self) -> Self
Source§fn py_neg_128(self) -> Self
fn py_neg_128(self) -> Self
Source§fn py_neg_full(self) -> Self
fn py_neg_full(self) -> Self
Source§fn py_neg_1_2(self) -> Self
fn py_neg_1_2(self) -> Self
Source§fn py_neg_1_3(self) -> Self
fn py_neg_1_3(self) -> Self
Source§fn py_neg_2_3(self) -> Self
fn py_neg_2_3(self) -> Self
Source§fn py_neg_1_4(self) -> Self
fn py_neg_1_4(self) -> Self
Source§fn py_neg_2_4(self) -> Self
fn py_neg_2_4(self) -> Self
Source§fn py_neg_3_4(self) -> Self
fn py_neg_3_4(self) -> Self
Source§fn py_neg_1_5(self) -> Self
fn py_neg_1_5(self) -> Self
Source§fn py_neg_2_5(self) -> Self
fn py_neg_2_5(self) -> Self
Source§fn py_neg_3_5(self) -> Self
fn py_neg_3_5(self) -> Self
Source§fn py_neg_4_5(self) -> Self
fn py_neg_4_5(self) -> Self
Source§fn py_neg_1_6(self) -> Self
fn py_neg_1_6(self) -> Self
Source§fn py_neg_5_6(self) -> Self
fn py_neg_5_6(self) -> Self
Source§fn py_neg_1_12(self) -> Self
fn py_neg_1_12(self) -> Self
Source§fn pl(self, length: impl Clone + Into<DefiniteLength>) -> Self
fn pl(self, length: impl Clone + Into<DefiniteLength>) -> Self
Sets the left padding of the element. Docs
Source§fn pl_neg_0p5(self) -> Self
fn pl_neg_0p5(self) -> Self
Source§fn pl_neg_1p5(self) -> Self
fn pl_neg_1p5(self) -> Self
Source§fn pl_neg_2p5(self) -> Self
fn pl_neg_2p5(self) -> Self
Source§fn pl_neg_3p5(self) -> Self
fn pl_neg_3p5(self) -> Self
Source§fn pl_neg_112(self) -> Self
fn pl_neg_112(self) -> Self
Source§fn pl_neg_128(self) -> Self
fn pl_neg_128(self) -> Self
Source§fn pl_neg_full(self) -> Self
fn pl_neg_full(self) -> Self
Source§fn pl_neg_1_2(self) -> Self
fn pl_neg_1_2(self) -> Self
Source§fn pl_neg_1_3(self) -> Self
fn pl_neg_1_3(self) -> Self
Source§fn pl_neg_2_3(self) -> Self
fn pl_neg_2_3(self) -> Self
Source§fn pl_neg_1_4(self) -> Self
fn pl_neg_1_4(self) -> Self
Source§fn pl_neg_2_4(self) -> Self
fn pl_neg_2_4(self) -> Self
Source§fn pl_neg_3_4(self) -> Self
fn pl_neg_3_4(self) -> Self
Source§fn pl_neg_1_5(self) -> Self
fn pl_neg_1_5(self) -> Self
Source§fn pl_neg_2_5(self) -> Self
fn pl_neg_2_5(self) -> Self
Source§fn pl_neg_3_5(self) -> Self
fn pl_neg_3_5(self) -> Self
Source§fn pl_neg_4_5(self) -> Self
fn pl_neg_4_5(self) -> Self
Source§fn pl_neg_1_6(self) -> Self
fn pl_neg_1_6(self) -> Self
Source§fn pl_neg_5_6(self) -> Self
fn pl_neg_5_6(self) -> Self
Source§fn pl_neg_1_12(self) -> Self
fn pl_neg_1_12(self) -> Self
Source§fn pr(self, length: impl Clone + Into<DefiniteLength>) -> Self
fn pr(self, length: impl Clone + Into<DefiniteLength>) -> Self
Sets the right padding of the element. Docs
Source§fn pr_neg_0p5(self) -> Self
fn pr_neg_0p5(self) -> Self
Source§fn pr_neg_1p5(self) -> Self
fn pr_neg_1p5(self) -> Self
Source§fn pr_neg_2p5(self) -> Self
fn pr_neg_2p5(self) -> Self
Source§fn pr_neg_3p5(self) -> Self
fn pr_neg_3p5(self) -> Self
Source§fn pr_neg_112(self) -> Self
fn pr_neg_112(self) -> Self
Source§fn pr_neg_128(self) -> Self
fn pr_neg_128(self) -> Self
Source§fn pr_neg_full(self) -> Self
fn pr_neg_full(self) -> Self
Source§fn pr_neg_1_2(self) -> Self
fn pr_neg_1_2(self) -> Self
Source§fn pr_neg_1_3(self) -> Self
fn pr_neg_1_3(self) -> Self
Source§fn pr_neg_2_3(self) -> Self
fn pr_neg_2_3(self) -> Self
Source§fn pr_neg_1_4(self) -> Self
fn pr_neg_1_4(self) -> Self
Source§fn pr_neg_2_4(self) -> Self
fn pr_neg_2_4(self) -> Self
Source§fn pr_neg_3_4(self) -> Self
fn pr_neg_3_4(self) -> Self
Source§fn pr_neg_1_5(self) -> Self
fn pr_neg_1_5(self) -> Self
Source§fn pr_neg_2_5(self) -> Self
fn pr_neg_2_5(self) -> Self
Source§fn pr_neg_3_5(self) -> Self
fn pr_neg_3_5(self) -> Self
Source§fn pr_neg_4_5(self) -> Self
fn pr_neg_4_5(self) -> Self
Source§fn pr_neg_1_6(self) -> Self
fn pr_neg_1_6(self) -> Self
Source§fn pr_neg_5_6(self) -> Self
fn pr_neg_5_6(self) -> Self
Source§fn pr_neg_1_12(self) -> Self
fn pr_neg_1_12(self) -> Self
Source§fn inset(self, length: impl Clone + Into<Length>) -> Self
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_neg_0(self) -> Self
fn inset_neg_0(self) -> Self
Source§fn inset_neg_0p5(self) -> Self
fn inset_neg_0p5(self) -> Self
Source§fn inset_neg_1(self) -> Self
fn inset_neg_1(self) -> Self
Source§fn inset_neg_1p5(self) -> Self
fn inset_neg_1p5(self) -> Self
Source§fn inset_neg_2(self) -> Self
fn inset_neg_2(self) -> Self
Source§fn inset_neg_2p5(self) -> Self
fn inset_neg_2p5(self) -> Self
Source§fn inset_neg_3(self) -> Self
fn inset_neg_3(self) -> Self
Source§fn inset_neg_3p5(self) -> Self
fn inset_neg_3p5(self) -> Self
Source§fn inset_neg_4(self) -> Self
fn inset_neg_4(self) -> Self
Source§fn inset_neg_5(self) -> Self
fn inset_neg_5(self) -> Self
Source§fn inset_neg_6(self) -> Self
fn inset_neg_6(self) -> Self
Source§fn inset_neg_7(self) -> Self
fn inset_neg_7(self) -> Self
Source§fn inset_neg_8(self) -> Self
fn inset_neg_8(self) -> Self
Source§fn inset_neg_9(self) -> Self
fn inset_neg_9(self) -> Self
Source§fn inset_neg_10(self) -> Self
fn inset_neg_10(self) -> Self
Source§fn inset_neg_11(self) -> Self
fn inset_neg_11(self) -> Self
Source§fn inset_neg_12(self) -> Self
fn inset_neg_12(self) -> Self
Source§fn inset_neg_16(self) -> Self
fn inset_neg_16(self) -> Self
Source§fn inset_neg_20(self) -> Self
fn inset_neg_20(self) -> Self
Source§fn inset_neg_24(self) -> Self
fn inset_neg_24(self) -> Self
Source§fn inset_neg_32(self) -> Self
fn inset_neg_32(self) -> Self
Source§fn inset_neg_40(self) -> Self
fn inset_neg_40(self) -> Self
Source§fn inset_neg_48(self) -> Self
fn inset_neg_48(self) -> Self
Source§fn inset_neg_56(self) -> Self
fn inset_neg_56(self) -> Self
Source§fn inset_neg_64(self) -> Self
fn inset_neg_64(self) -> Self
Source§fn inset_neg_72(self) -> Self
fn inset_neg_72(self) -> Self
Source§fn inset_neg_80(self) -> Self
fn inset_neg_80(self) -> Self
Source§fn inset_neg_96(self) -> Self
fn inset_neg_96(self) -> Self
Source§fn inset_neg_112(self) -> Self
fn inset_neg_112(self) -> Self
Source§fn inset_neg_128(self) -> Self
fn inset_neg_128(self) -> Self
Source§fn inset_auto(self) -> Self
fn inset_auto(self) -> Self
Source§fn inset_neg_px(self) -> Self
fn inset_neg_px(self) -> Self
Source§fn inset_full(self) -> Self
fn inset_full(self) -> Self
Source§fn inset_neg_full(self) -> Self
fn inset_neg_full(self) -> Self
Source§fn inset_neg_1_2(self) -> Self
fn inset_neg_1_2(self) -> Self
Source§fn inset_neg_1_3(self) -> Self
fn inset_neg_1_3(self) -> Self
Source§fn inset_neg_2_3(self) -> Self
fn inset_neg_2_3(self) -> Self
Source§fn inset_neg_1_4(self) -> Self
fn inset_neg_1_4(self) -> Self
Source§fn inset_neg_2_4(self) -> Self
fn inset_neg_2_4(self) -> Self
Source§fn inset_neg_3_4(self) -> Self
fn inset_neg_3_4(self) -> Self
Source§fn inset_neg_1_5(self) -> Self
fn inset_neg_1_5(self) -> Self
Source§fn inset_neg_2_5(self) -> Self
fn inset_neg_2_5(self) -> Self
Source§fn inset_neg_3_5(self) -> Self
fn inset_neg_3_5(self) -> Self
Source§fn inset_neg_4_5(self) -> Self
fn inset_neg_4_5(self) -> Self
Source§fn inset_neg_1_6(self) -> Self
fn inset_neg_1_6(self) -> Self
Source§fn inset_neg_5_6(self) -> Self
fn inset_neg_5_6(self) -> Self
Source§fn inset_1_12(self) -> Self
fn inset_1_12(self) -> Self
Source§fn inset_neg_1_12(self) -> Self
fn inset_neg_1_12(self) -> Self
Source§fn top(self, length: impl Clone + Into<Length>) -> Self
fn top(self, length: impl Clone + Into<Length>) -> Self
Sets the top value of a positioned element. Docs
Source§fn top_neg_0p5(self) -> Self
fn top_neg_0p5(self) -> Self
Source§fn top_neg_1p5(self) -> Self
fn top_neg_1p5(self) -> Self
Source§fn top_neg_2p5(self) -> Self
fn top_neg_2p5(self) -> Self
Source§fn top_neg_3p5(self) -> Self
fn top_neg_3p5(self) -> Self
Source§fn top_neg_10(self) -> Self
fn top_neg_10(self) -> Self
Source§fn top_neg_11(self) -> Self
fn top_neg_11(self) -> Self
Source§fn top_neg_12(self) -> Self
fn top_neg_12(self) -> Self
Source§fn top_neg_16(self) -> Self
fn top_neg_16(self) -> Self
Source§fn top_neg_20(self) -> Self
fn top_neg_20(self) -> Self
Source§fn top_neg_24(self) -> Self
fn top_neg_24(self) -> Self
Source§fn top_neg_32(self) -> Self
fn top_neg_32(self) -> Self
Source§fn top_neg_40(self) -> Self
fn top_neg_40(self) -> Self
Source§fn top_neg_48(self) -> Self
fn top_neg_48(self) -> Self
Source§fn top_neg_56(self) -> Self
fn top_neg_56(self) -> Self
Source§fn top_neg_64(self) -> Self
fn top_neg_64(self) -> Self
Source§fn top_neg_72(self) -> Self
fn top_neg_72(self) -> Self
Source§fn top_neg_80(self) -> Self
fn top_neg_80(self) -> Self
Source§fn top_neg_96(self) -> Self
fn top_neg_96(self) -> Self
Source§fn top_neg_112(self) -> Self
fn top_neg_112(self) -> Self
Source§fn top_neg_128(self) -> Self
fn top_neg_128(self) -> Self
Source§fn top_neg_px(self) -> Self
fn top_neg_px(self) -> Self
Source§fn top_neg_full(self) -> Self
fn top_neg_full(self) -> Self
Source§fn top_neg_1_2(self) -> Self
fn top_neg_1_2(self) -> Self
Source§fn top_neg_1_3(self) -> Self
fn top_neg_1_3(self) -> Self
Source§fn top_neg_2_3(self) -> Self
fn top_neg_2_3(self) -> Self
Source§fn top_neg_1_4(self) -> Self
fn top_neg_1_4(self) -> Self
Source§fn top_neg_2_4(self) -> Self
fn top_neg_2_4(self) -> Self
Source§fn top_neg_3_4(self) -> Self
fn top_neg_3_4(self) -> Self
Source§fn top_neg_1_5(self) -> Self
fn top_neg_1_5(self) -> Self
Source§fn top_neg_2_5(self) -> Self
fn top_neg_2_5(self) -> Self
Source§fn top_neg_3_5(self) -> Self
fn top_neg_3_5(self) -> Self
Source§fn top_neg_4_5(self) -> Self
fn top_neg_4_5(self) -> Self
Source§fn top_neg_1_6(self) -> Self
fn top_neg_1_6(self) -> Self
Source§fn top_neg_5_6(self) -> Self
fn top_neg_5_6(self) -> Self
Source§fn top_neg_1_12(self) -> Self
fn top_neg_1_12(self) -> Self
Source§fn bottom(self, length: impl Clone + Into<Length>) -> Self
fn bottom(self, length: impl Clone + Into<Length>) -> Self
Sets the bottom value of a positioned element. Docs
Source§fn bottom_neg_0(self) -> Self
fn bottom_neg_0(self) -> Self
Source§fn bottom_0p5(self) -> Self
fn bottom_0p5(self) -> Self
Source§fn bottom_neg_0p5(self) -> Self
fn bottom_neg_0p5(self) -> Self
Source§fn bottom_neg_1(self) -> Self
fn bottom_neg_1(self) -> Self
Source§fn bottom_1p5(self) -> Self
fn bottom_1p5(self) -> Self
Source§fn bottom_neg_1p5(self) -> Self
fn bottom_neg_1p5(self) -> Self
Source§fn bottom_neg_2(self) -> Self
fn bottom_neg_2(self) -> Self
Source§fn bottom_2p5(self) -> Self
fn bottom_2p5(self) -> Self
Source§fn bottom_neg_2p5(self) -> Self
fn bottom_neg_2p5(self) -> Self
Source§fn bottom_neg_3(self) -> Self
fn bottom_neg_3(self) -> Self
Source§fn bottom_3p5(self) -> Self
fn bottom_3p5(self) -> Self
Source§fn bottom_neg_3p5(self) -> Self
fn bottom_neg_3p5(self) -> Self
Source§fn bottom_neg_4(self) -> Self
fn bottom_neg_4(self) -> Self
Source§fn bottom_neg_5(self) -> Self
fn bottom_neg_5(self) -> Self
Source§fn bottom_neg_6(self) -> Self
fn bottom_neg_6(self) -> Self
Source§fn bottom_neg_7(self) -> Self
fn bottom_neg_7(self) -> Self
Source§fn bottom_neg_8(self) -> Self
fn bottom_neg_8(self) -> Self
Source§fn bottom_neg_9(self) -> Self
fn bottom_neg_9(self) -> Self
Source§fn bottom_neg_10(self) -> Self
fn bottom_neg_10(self) -> Self
Source§fn bottom_neg_11(self) -> Self
fn bottom_neg_11(self) -> Self
Source§fn bottom_neg_12(self) -> Self
fn bottom_neg_12(self) -> Self
Source§fn bottom_neg_16(self) -> Self
fn bottom_neg_16(self) -> Self
Source§fn bottom_neg_20(self) -> Self
fn bottom_neg_20(self) -> Self
Source§fn bottom_neg_24(self) -> Self
fn bottom_neg_24(self) -> Self
Source§fn bottom_neg_32(self) -> Self
fn bottom_neg_32(self) -> Self
Source§fn bottom_neg_40(self) -> Self
fn bottom_neg_40(self) -> Self
Source§fn bottom_neg_48(self) -> Self
fn bottom_neg_48(self) -> Self
Source§fn bottom_neg_56(self) -> Self
fn bottom_neg_56(self) -> Self
Source§fn bottom_neg_64(self) -> Self
fn bottom_neg_64(self) -> Self
Source§fn bottom_neg_72(self) -> Self
fn bottom_neg_72(self) -> Self
Source§fn bottom_neg_80(self) -> Self
fn bottom_neg_80(self) -> Self
Source§fn bottom_neg_96(self) -> Self
fn bottom_neg_96(self) -> Self
Source§fn bottom_112(self) -> Self
fn bottom_112(self) -> Self
Source§fn bottom_neg_112(self) -> Self
fn bottom_neg_112(self) -> Self
Source§fn bottom_128(self) -> Self
fn bottom_128(self) -> Self
Source§fn bottom_neg_128(self) -> Self
fn bottom_neg_128(self) -> Self
Source§fn bottom_auto(self) -> Self
fn bottom_auto(self) -> Self
Source§fn bottom_neg_px(self) -> Self
fn bottom_neg_px(self) -> Self
Source§fn bottom_full(self) -> Self
fn bottom_full(self) -> Self
Source§fn bottom_neg_full(self) -> Self
fn bottom_neg_full(self) -> Self
Source§fn bottom_1_2(self) -> Self
fn bottom_1_2(self) -> Self
Source§fn bottom_neg_1_2(self) -> Self
fn bottom_neg_1_2(self) -> Self
Source§fn bottom_1_3(self) -> Self
fn bottom_1_3(self) -> Self
Source§fn bottom_neg_1_3(self) -> Self
fn bottom_neg_1_3(self) -> Self
Source§fn bottom_2_3(self) -> Self
fn bottom_2_3(self) -> Self
Source§fn bottom_neg_2_3(self) -> Self
fn bottom_neg_2_3(self) -> Self
Source§fn bottom_1_4(self) -> Self
fn bottom_1_4(self) -> Self
Source§fn bottom_neg_1_4(self) -> Self
fn bottom_neg_1_4(self) -> Self
Source§fn bottom_2_4(self) -> Self
fn bottom_2_4(self) -> Self
Source§fn bottom_neg_2_4(self) -> Self
fn bottom_neg_2_4(self) -> Self
Source§fn bottom_3_4(self) -> Self
fn bottom_3_4(self) -> Self
Source§fn bottom_neg_3_4(self) -> Self
fn bottom_neg_3_4(self) -> Self
Source§fn bottom_1_5(self) -> Self
fn bottom_1_5(self) -> Self
Source§fn bottom_neg_1_5(self) -> Self
fn bottom_neg_1_5(self) -> Self
Source§fn bottom_2_5(self) -> Self
fn bottom_2_5(self) -> Self
Source§fn bottom_neg_2_5(self) -> Self
fn bottom_neg_2_5(self) -> Self
Source§fn bottom_3_5(self) -> Self
fn bottom_3_5(self) -> Self
Source§fn bottom_neg_3_5(self) -> Self
fn bottom_neg_3_5(self) -> Self
Source§fn bottom_4_5(self) -> Self
fn bottom_4_5(self) -> Self
Source§fn bottom_neg_4_5(self) -> Self
fn bottom_neg_4_5(self) -> Self
Source§fn bottom_1_6(self) -> Self
fn bottom_1_6(self) -> Self
Source§fn bottom_neg_1_6(self) -> Self
fn bottom_neg_1_6(self) -> Self
Source§fn bottom_5_6(self) -> Self
fn bottom_5_6(self) -> Self
Source§fn bottom_neg_5_6(self) -> Self
fn bottom_neg_5_6(self) -> Self
Source§fn bottom_1_12(self) -> Self
fn bottom_1_12(self) -> Self
Source§fn bottom_neg_1_12(self) -> Self
fn bottom_neg_1_12(self) -> Self
Source§fn left(self, length: impl Clone + Into<Length>) -> Self
fn left(self, length: impl Clone + Into<Length>) -> Self
Sets the left value of a positioned element. Docs
Source§fn left_neg_0(self) -> Self
fn left_neg_0(self) -> Self
Source§fn left_neg_0p5(self) -> Self
fn left_neg_0p5(self) -> Self
Source§fn left_neg_1(self) -> Self
fn left_neg_1(self) -> Self
Source§fn left_neg_1p5(self) -> Self
fn left_neg_1p5(self) -> Self
Source§fn left_neg_2(self) -> Self
fn left_neg_2(self) -> Self
Source§fn left_neg_2p5(self) -> Self
fn left_neg_2p5(self) -> Self
Source§fn left_neg_3(self) -> Self
fn left_neg_3(self) -> Self
Source§fn left_neg_3p5(self) -> Self
fn left_neg_3p5(self) -> Self
Source§fn left_neg_4(self) -> Self
fn left_neg_4(self) -> Self
Source§fn left_neg_5(self) -> Self
fn left_neg_5(self) -> Self
Source§fn left_neg_6(self) -> Self
fn left_neg_6(self) -> Self
Source§fn left_neg_7(self) -> Self
fn left_neg_7(self) -> Self
Source§fn left_neg_8(self) -> Self
fn left_neg_8(self) -> Self
Source§fn left_neg_9(self) -> Self
fn left_neg_9(self) -> Self
Source§fn left_neg_10(self) -> Self
fn left_neg_10(self) -> Self
Source§fn left_neg_11(self) -> Self
fn left_neg_11(self) -> Self
Source§fn left_neg_12(self) -> Self
fn left_neg_12(self) -> Self
Source§fn left_neg_16(self) -> Self
fn left_neg_16(self) -> Self
Source§fn left_neg_20(self) -> Self
fn left_neg_20(self) -> Self
Source§fn left_neg_24(self) -> Self
fn left_neg_24(self) -> Self
Source§fn left_neg_32(self) -> Self
fn left_neg_32(self) -> Self
Source§fn left_neg_40(self) -> Self
fn left_neg_40(self) -> Self
Source§fn left_neg_48(self) -> Self
fn left_neg_48(self) -> Self
Source§fn left_neg_56(self) -> Self
fn left_neg_56(self) -> Self
Source§fn left_neg_64(self) -> Self
fn left_neg_64(self) -> Self
Source§fn left_neg_72(self) -> Self
fn left_neg_72(self) -> Self
Source§fn left_neg_80(self) -> Self
fn left_neg_80(self) -> Self
Source§fn left_neg_96(self) -> Self
fn left_neg_96(self) -> Self
Source§fn left_neg_112(self) -> Self
fn left_neg_112(self) -> Self
Source§fn left_neg_128(self) -> Self
fn left_neg_128(self) -> Self
Source§fn left_neg_px(self) -> Self
fn left_neg_px(self) -> Self
Source§fn left_neg_full(self) -> Self
fn left_neg_full(self) -> Self
Source§fn left_neg_1_2(self) -> Self
fn left_neg_1_2(self) -> Self
Source§fn left_neg_1_3(self) -> Self
fn left_neg_1_3(self) -> Self
Source§fn left_neg_2_3(self) -> Self
fn left_neg_2_3(self) -> Self
Source§fn left_neg_1_4(self) -> Self
fn left_neg_1_4(self) -> Self
Source§fn left_neg_2_4(self) -> Self
fn left_neg_2_4(self) -> Self
Source§fn left_neg_3_4(self) -> Self
fn left_neg_3_4(self) -> Self
Source§fn left_neg_1_5(self) -> Self
fn left_neg_1_5(self) -> Self
Source§fn left_neg_2_5(self) -> Self
fn left_neg_2_5(self) -> Self
Source§fn left_neg_3_5(self) -> Self
fn left_neg_3_5(self) -> Self
Source§fn left_neg_4_5(self) -> Self
fn left_neg_4_5(self) -> Self
Source§fn left_neg_1_6(self) -> Self
fn left_neg_1_6(self) -> Self
Source§fn left_neg_5_6(self) -> Self
fn left_neg_5_6(self) -> Self
Source§fn left_neg_1_12(self) -> Self
fn left_neg_1_12(self) -> Self
Source§fn right(self, length: impl Clone + Into<Length>) -> Self
fn right(self, length: impl Clone + Into<Length>) -> Self
Sets the right value of a positioned element. Docs
Source§fn right_neg_0(self) -> Self
fn right_neg_0(self) -> Self
Source§fn right_neg_0p5(self) -> Self
fn right_neg_0p5(self) -> Self
Source§fn right_neg_1(self) -> Self
fn right_neg_1(self) -> Self
Source§fn right_neg_1p5(self) -> Self
fn right_neg_1p5(self) -> Self
Source§fn right_neg_2(self) -> Self
fn right_neg_2(self) -> Self
Source§fn right_neg_2p5(self) -> Self
fn right_neg_2p5(self) -> Self
Source§fn right_neg_3(self) -> Self
fn right_neg_3(self) -> Self
Source§fn right_neg_3p5(self) -> Self
fn right_neg_3p5(self) -> Self
Source§fn right_neg_4(self) -> Self
fn right_neg_4(self) -> Self
Source§fn right_neg_5(self) -> Self
fn right_neg_5(self) -> Self
Source§fn right_neg_6(self) -> Self
fn right_neg_6(self) -> Self
Source§fn right_neg_7(self) -> Self
fn right_neg_7(self) -> Self
Source§fn right_neg_8(self) -> Self
fn right_neg_8(self) -> Self
Source§fn right_neg_9(self) -> Self
fn right_neg_9(self) -> Self
Source§fn right_neg_10(self) -> Self
fn right_neg_10(self) -> Self
Source§fn right_neg_11(self) -> Self
fn right_neg_11(self) -> Self
Source§fn right_neg_12(self) -> Self
fn right_neg_12(self) -> Self
Source§fn right_neg_16(self) -> Self
fn right_neg_16(self) -> Self
Source§fn right_neg_20(self) -> Self
fn right_neg_20(self) -> Self
Source§fn right_neg_24(self) -> Self
fn right_neg_24(self) -> Self
Source§fn right_neg_32(self) -> Self
fn right_neg_32(self) -> Self
Source§fn right_neg_40(self) -> Self
fn right_neg_40(self) -> Self
Source§fn right_neg_48(self) -> Self
fn right_neg_48(self) -> Self
Source§fn right_neg_56(self) -> Self
fn right_neg_56(self) -> Self
Source§fn right_neg_64(self) -> Self
fn right_neg_64(self) -> Self
Source§fn right_neg_72(self) -> Self
fn right_neg_72(self) -> Self
Source§fn right_neg_80(self) -> Self
fn right_neg_80(self) -> Self
Source§fn right_neg_96(self) -> Self
fn right_neg_96(self) -> Self
Source§fn right_neg_112(self) -> Self
fn right_neg_112(self) -> Self
Source§fn right_neg_128(self) -> Self
fn right_neg_128(self) -> Self
Source§fn right_auto(self) -> Self
fn right_auto(self) -> Self
Source§fn right_neg_px(self) -> Self
fn right_neg_px(self) -> Self
Source§fn right_full(self) -> Self
fn right_full(self) -> Self
Source§fn right_neg_full(self) -> Self
fn right_neg_full(self) -> Self
Source§fn right_neg_1_2(self) -> Self
fn right_neg_1_2(self) -> Self
Source§fn right_neg_1_3(self) -> Self
fn right_neg_1_3(self) -> Self
Source§fn right_neg_2_3(self) -> Self
fn right_neg_2_3(self) -> Self
Source§fn right_neg_1_4(self) -> Self
fn right_neg_1_4(self) -> Self
Source§fn right_neg_2_4(self) -> Self
fn right_neg_2_4(self) -> Self
Source§fn right_neg_3_4(self) -> Self
fn right_neg_3_4(self) -> Self
Source§fn right_neg_1_5(self) -> Self
fn right_neg_1_5(self) -> Self
Source§fn right_neg_2_5(self) -> Self
fn right_neg_2_5(self) -> Self
Source§fn right_neg_3_5(self) -> Self
fn right_neg_3_5(self) -> Self
Source§fn right_neg_4_5(self) -> Self
fn right_neg_4_5(self) -> Self
Source§fn right_neg_1_6(self) -> Self
fn right_neg_1_6(self) -> Self
Source§fn right_neg_5_6(self) -> Self
fn right_neg_5_6(self) -> Self
Source§fn right_1_12(self) -> Self
fn right_1_12(self) -> Self
Source§fn right_neg_1_12(self) -> Self
fn right_neg_1_12(self) -> Self
Sets the behavior of content that overflows the container to be hidden.
Docs
Sets the behavior of content that overflows the container on the X axis to be hidden.
Docs
Sets the behavior of content that overflows the container on the Y axis to be hidden.
Docs
Source§fn cursor(self, cursor: CursorStyle) -> Self
fn cursor(self, cursor: CursorStyle) -> Self
Sets the cursor style when hovering over this element.
Source§fn cursor_default(self) -> Self
fn cursor_default(self) -> Self
Sets the cursor style when hovering an element to
default.
DocsSource§fn cursor_pointer(self) -> Self
fn cursor_pointer(self) -> Self
Sets the cursor style when hovering an element to
pointer.
DocsSource§fn cursor_text(self) -> Self
fn cursor_text(self) -> Self
Sets cursor style when hovering over an element to
text.
DocsSource§fn cursor_move(self) -> Self
fn cursor_move(self) -> Self
Sets cursor style when hovering over an element to
move.
DocsSource§fn cursor_not_allowed(self) -> Self
fn cursor_not_allowed(self) -> Self
Sets cursor style when hovering over an element to
not-allowed.
DocsSets cursor style when hovering over an element to
context-menu.
DocsSource§fn cursor_crosshair(self) -> Self
fn cursor_crosshair(self) -> Self
Sets cursor style when hovering over an element to
crosshair.
DocsSource§fn cursor_vertical_text(self) -> Self
fn cursor_vertical_text(self) -> Self
Sets cursor style when hovering over an element to
vertical-text.
DocsSource§fn cursor_alias(self) -> Self
fn cursor_alias(self) -> Self
Sets cursor style when hovering over an element to
alias.
DocsSource§fn cursor_copy(self) -> Self
fn cursor_copy(self) -> Self
Sets cursor style when hovering over an element to
copy.
DocsSource§fn cursor_no_drop(self) -> Self
fn cursor_no_drop(self) -> Self
Sets cursor style when hovering over an element to
no-drop.
DocsSource§fn cursor_grab(self) -> Self
fn cursor_grab(self) -> Self
Sets cursor style when hovering over an element to
grab.
DocsSource§fn cursor_grabbing(self) -> Self
fn cursor_grabbing(self) -> Self
Sets cursor style when hovering over an element to
grabbing.
DocsSource§fn cursor_ew_resize(self) -> Self
fn cursor_ew_resize(self) -> Self
Sets cursor style when hovering over an element to
ew-resize.
DocsSource§fn cursor_ns_resize(self) -> Self
fn cursor_ns_resize(self) -> Self
Sets cursor style when hovering over an element to
ns-resize.
DocsSource§fn cursor_nesw_resize(self) -> Self
fn cursor_nesw_resize(self) -> Self
Sets cursor style when hovering over an element to
nesw-resize.
DocsSource§fn cursor_nwse_resize(self) -> Self
fn cursor_nwse_resize(self) -> Self
Sets cursor style when hovering over an element to
nwse-resize.
DocsSource§fn cursor_col_resize(self) -> Self
fn cursor_col_resize(self) -> Self
Sets cursor style when hovering over an element to
col-resize.
DocsSource§fn cursor_row_resize(self) -> Self
fn cursor_row_resize(self) -> Self
Sets cursor style when hovering over an element to
row-resize.
DocsSource§fn cursor_n_resize(self) -> Self
fn cursor_n_resize(self) -> Self
Sets cursor style when hovering over an element to
n-resize.
DocsSource§fn cursor_e_resize(self) -> Self
fn cursor_e_resize(self) -> Self
Sets cursor style when hovering over an element to
e-resize.
DocsSource§fn cursor_s_resize(self) -> Self
fn cursor_s_resize(self) -> Self
Sets cursor style when hovering over an element to
s-resize.
DocsSource§fn cursor_w_resize(self) -> Self
fn cursor_w_resize(self) -> Self
Sets cursor style when hovering over an element to
w-resize.
DocsSource§fn cursor_nw_resize(self) -> Self
fn cursor_nw_resize(self) -> Self
Sets the upper-left resize cursor.
Source§fn cursor_ne_resize(self) -> Self
fn cursor_ne_resize(self) -> Self
Sets the upper-right resize cursor.
Source§fn cursor_sw_resize(self) -> Self
fn cursor_sw_resize(self) -> Self
Sets the lower-left resize cursor.
Source§fn cursor_se_resize(self) -> Self
fn cursor_se_resize(self) -> Self
Sets the lower-right resize cursor.
Source§fn border_color<C>(self, border_color: C) -> Self
fn border_color<C>(self, border_color: C) -> Self
Sets the background painted into the border of the element.
Source§fn border(self, length: impl Clone + Into<AbsoluteLength>) -> Self
fn border(self, length: impl Clone + Into<AbsoluteLength>) -> Self
Sets the border width of the element. Docs
Source§fn border_t(self, length: impl Clone + Into<AbsoluteLength>) -> Self
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
fn border_t_0(self) -> Self
Source§fn border_t_1(self) -> Self
fn border_t_1(self) -> Self
Source§fn border_t_2(self) -> Self
fn border_t_2(self) -> Self
Source§fn border_t_3(self) -> Self
fn border_t_3(self) -> Self
Source§fn border_t_4(self) -> Self
fn border_t_4(self) -> Self
Source§fn border_t_5(self) -> Self
fn border_t_5(self) -> Self
Source§fn border_t_6(self) -> Self
fn border_t_6(self) -> Self
Source§fn border_t_7(self) -> Self
fn border_t_7(self) -> Self
Source§fn border_t_8(self) -> Self
fn border_t_8(self) -> Self
Source§fn border_t_9(self) -> Self
fn border_t_9(self) -> Self
Source§fn border_t_10(self) -> Self
fn border_t_10(self) -> Self
Source§fn border_t_11(self) -> Self
fn border_t_11(self) -> Self
Source§fn border_t_12(self) -> Self
fn border_t_12(self) -> Self
Source§fn border_t_16(self) -> Self
fn border_t_16(self) -> Self
Source§fn border_t_20(self) -> Self
fn border_t_20(self) -> Self
Source§fn border_t_24(self) -> Self
fn border_t_24(self) -> Self
Source§fn border_t_32(self) -> Self
fn border_t_32(self) -> Self
Source§fn border_b(self, length: impl Clone + Into<AbsoluteLength>) -> Self
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
fn border_b_0(self) -> Self
Source§fn border_b_1(self) -> Self
fn border_b_1(self) -> Self
Source§fn border_b_2(self) -> Self
fn border_b_2(self) -> Self
Source§fn border_b_3(self) -> Self
fn border_b_3(self) -> Self
Source§fn border_b_4(self) -> Self
fn border_b_4(self) -> Self
Source§fn border_b_5(self) -> Self
fn border_b_5(self) -> Self
Source§fn border_b_6(self) -> Self
fn border_b_6(self) -> Self
Source§fn border_b_7(self) -> Self
fn border_b_7(self) -> Self
Source§fn border_b_8(self) -> Self
fn border_b_8(self) -> Self
Source§fn border_b_9(self) -> Self
fn border_b_9(self) -> Self
Source§fn border_b_10(self) -> Self
fn border_b_10(self) -> Self
Source§fn border_b_11(self) -> Self
fn border_b_11(self) -> Self
Source§fn border_b_12(self) -> Self
fn border_b_12(self) -> Self
Source§fn border_b_16(self) -> Self
fn border_b_16(self) -> Self
Source§fn border_b_20(self) -> Self
fn border_b_20(self) -> Self
Source§fn border_b_24(self) -> Self
fn border_b_24(self) -> Self
Source§fn border_b_32(self) -> Self
fn border_b_32(self) -> Self
Source§fn border_r(self, length: impl Clone + Into<AbsoluteLength>) -> Self
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
fn border_r_0(self) -> Self
Source§fn border_r_1(self) -> Self
fn border_r_1(self) -> Self
Source§fn border_r_2(self) -> Self
fn border_r_2(self) -> Self
Source§fn border_r_3(self) -> Self
fn border_r_3(self) -> Self
Source§fn border_r_4(self) -> Self
fn border_r_4(self) -> Self
Source§fn border_r_5(self) -> Self
fn border_r_5(self) -> Self
Source§fn border_r_6(self) -> Self
fn border_r_6(self) -> Self
Source§fn border_r_7(self) -> Self
fn border_r_7(self) -> Self
Source§fn border_r_8(self) -> Self
fn border_r_8(self) -> Self
Source§fn border_r_9(self) -> Self
fn border_r_9(self) -> Self
Source§fn border_r_10(self) -> Self
fn border_r_10(self) -> Self
Source§fn border_r_11(self) -> Self
fn border_r_11(self) -> Self
Source§fn border_r_12(self) -> Self
fn border_r_12(self) -> Self
Source§fn border_r_16(self) -> Self
fn border_r_16(self) -> Self
Source§fn border_r_20(self) -> Self
fn border_r_20(self) -> Self
Source§fn border_r_24(self) -> Self
fn border_r_24(self) -> Self
Source§fn border_r_32(self) -> Self
fn border_r_32(self) -> Self
Source§fn border_l(self, length: impl Clone + Into<AbsoluteLength>) -> Self
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
fn border_l_0(self) -> Self
Source§fn border_l_1(self) -> Self
fn border_l_1(self) -> Self
Source§fn border_l_2(self) -> Self
fn border_l_2(self) -> Self
Source§fn border_l_3(self) -> Self
fn border_l_3(self) -> Self
Source§fn border_l_4(self) -> Self
fn border_l_4(self) -> Self
Source§fn border_l_5(self) -> Self
fn border_l_5(self) -> Self
Source§fn border_l_6(self) -> Self
fn border_l_6(self) -> Self
Source§fn border_l_7(self) -> Self
fn border_l_7(self) -> Self
Source§fn border_l_8(self) -> Self
fn border_l_8(self) -> Self
Source§fn border_l_9(self) -> Self
fn border_l_9(self) -> Self
Source§fn border_l_10(self) -> Self
fn border_l_10(self) -> Self
Source§fn border_l_11(self) -> Self
fn border_l_11(self) -> Self
Source§fn border_l_12(self) -> Self
fn border_l_12(self) -> Self
Source§fn border_l_16(self) -> Self
fn border_l_16(self) -> Self
Source§fn border_l_20(self) -> Self
fn border_l_20(self) -> Self
Source§fn border_l_24(self) -> Self
fn border_l_24(self) -> Self
Source§fn border_l_32(self) -> Self
fn border_l_32(self) -> Self
Source§fn border_x(self, length: impl Clone + Into<AbsoluteLength>) -> Self
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
fn border_x_0(self) -> Self
Source§fn border_x_1(self) -> Self
fn border_x_1(self) -> Self
Source§fn border_x_2(self) -> Self
fn border_x_2(self) -> Self
Source§fn border_x_3(self) -> Self
fn border_x_3(self) -> Self
Source§fn border_x_4(self) -> Self
fn border_x_4(self) -> Self
Source§fn border_x_5(self) -> Self
fn border_x_5(self) -> Self
Source§fn border_x_6(self) -> Self
fn border_x_6(self) -> Self
Source§fn border_x_7(self) -> Self
fn border_x_7(self) -> Self
Source§fn border_x_8(self) -> Self
fn border_x_8(self) -> Self
Source§fn border_x_9(self) -> Self
fn border_x_9(self) -> Self
Source§fn border_x_10(self) -> Self
fn border_x_10(self) -> Self
Source§fn border_x_11(self) -> Self
fn border_x_11(self) -> Self
Source§fn border_x_12(self) -> Self
fn border_x_12(self) -> Self
Source§fn border_x_16(self) -> Self
fn border_x_16(self) -> Self
Source§fn border_x_20(self) -> Self
fn border_x_20(self) -> Self
Source§fn border_x_24(self) -> Self
fn border_x_24(self) -> Self
Source§fn border_x_32(self) -> Self
fn border_x_32(self) -> Self
Source§fn border_y(self, length: impl Clone + Into<AbsoluteLength>) -> Self
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
fn border_y_0(self) -> Self
Source§fn border_y_1(self) -> Self
fn border_y_1(self) -> Self
Source§fn border_y_2(self) -> Self
fn border_y_2(self) -> Self
Source§fn border_y_3(self) -> Self
fn border_y_3(self) -> Self
Source§fn border_y_4(self) -> Self
fn border_y_4(self) -> Self
Source§fn border_y_5(self) -> Self
fn border_y_5(self) -> Self
Source§fn border_y_6(self) -> Self
fn border_y_6(self) -> Self
Source§fn border_y_7(self) -> Self
fn border_y_7(self) -> Self
Source§fn border_y_8(self) -> Self
fn border_y_8(self) -> Self
Source§fn border_y_9(self) -> Self
fn border_y_9(self) -> Self
Source§fn border_y_10(self) -> Self
fn border_y_10(self) -> Self
Source§fn border_y_11(self) -> Self
fn border_y_11(self) -> Self
Source§fn border_y_12(self) -> Self
fn border_y_12(self) -> Self
Source§fn border_y_16(self) -> Self
fn border_y_16(self) -> Self
Source§fn border_y_20(self) -> Self
fn border_y_20(self) -> Self
Source§fn border_y_24(self) -> Self
fn border_y_24(self) -> Self
Source§fn border_y_32(self) -> Self
fn border_y_32(self) -> Self
Source§fn shadow(self, shadows: Vec<BoxShadow>) -> Self
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
fn shadow_none(self) -> Self
Clears the box shadow of the element.
Docs
Source§fn ring_color<C>(self, color: C) -> Self
fn ring_color<C>(self, color: C) -> Self
Sets the outer ring color or gradient.
Docs
Source§fn inset_ring_color<C>(self, color: C) -> Self
fn inset_ring_color<C>(self, color: C) -> Self
Sets the inset ring color or gradient.
Docs
Source§fn inset_ring_0(self) -> Self
fn inset_ring_0(self) -> Self
Sets the inset_ring width to px(0.).
Docs
Source§fn inset_ring_1(self) -> Self
fn inset_ring_1(self) -> Self
Sets the inset_ring width to px(1.).
Docs
Source§fn inset_ring_2(self) -> Self
fn inset_ring_2(self) -> Self
Sets the inset_ring width to px(2.).
Docs
Source§fn inset_ring_4(self) -> Self
fn inset_ring_4(self) -> Self
Sets the inset_ring width to px(4.).
Docs
Source§fn inset_ring_8(self) -> Self
fn inset_ring_8(self) -> Self
Sets the inset_ring width to px(8.).
Docs
Source§fn shadow_2xs(self) -> Self
fn shadow_2xs(self) -> Self
Sets a very faint shadow: 1px down, no blur, 5% black.
Docs
Source§fn shadow_xl(self) -> Self
fn shadow_xl(self) -> Self
Sets an extra large shadow made of two layers, each 10% black.
Docs
Source§fn shadow_2xl(self) -> Self
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
fn refine_style(self, refinement: &StyleRefinement) -> Self
Applies every property set in
refinement to this element’s style. Read moreSource§fn direction(self, direction: LayoutDirection) -> Self
fn direction(self, direction: LayoutDirection) -> Self
Sets the inline direction of this element and its logical descendants. Read more
Source§fn rtl(self) -> Self
fn rtl(self) -> Self
Lays out this element and its logical descendants right to left. Read more
Source§fn ltr(self) -> Self
fn ltr(self) -> Self
Lays out this element and its logical descendants left to right. Read more
Source§fn unicode_bidi(self, unicode_bidi: UnicodeBidi) -> Self
fn unicode_bidi(self, unicode_bidi: UnicodeBidi) -> Self
Sets how this element’s text takes part in the Unicode bidirectional algorithm. Read more
Source§fn blur(self, radius: impl Into<Pixels>) -> Self
fn blur(self, radius: impl Into<Pixels>) -> Self
Blurs this element’s own content and children, like CSS
filter: blur(<radius>). Read moreSource§fn filter(self, filters: impl Into<Vec<Filter>>) -> Self
fn filter(self, filters: impl Into<Vec<Filter>>) -> Self
Replaces the list of filters applied to this element’s own content, like CSS
filter. Read moreSource§fn backdrop_blur(self, radius: impl Into<Pixels>) -> Self
fn backdrop_blur(self, radius: impl Into<Pixels>) -> Self
Blurs the content behind this element, like CSS
backdrop-filter: blur(<radius>). Read moreSource§fn backdrop_filter(self, filters: impl Into<Vec<Filter>>) -> Self
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. Read moreSource§fn inline(self) -> Self
fn inline(self) -> Self
Places this element in its parent’s inline formatting context as an inline box. Read more
Source§fn inline_flex(self) -> Self
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
fn vertical_align(self, align: VerticalAlign) -> Self
Sets how this element aligns when it is placed in an inline layout. Read more
Source§fn align_baseline(self) -> Self
fn align_baseline(self) -> Self
Aligns this inline box with the surrounding text baseline.
Source§fn align_middle(self) -> Self
fn align_middle(self) -> Self
Aligns this inline box’s midpoint with the parent baseline plus half its font’s x-height. Read more
Source§fn align_bottom(self) -> Self
fn align_bottom(self) -> Self
Aligns this inline box with the bottom of its line.
Sets the display type of this element to
none, which removes it from layout and painting. Read moreSource§fn scrollbar_width(self, width: impl Into<AbsoluteLength>) -> Self
fn scrollbar_width(self, width: impl Into<AbsoluteLength>) -> Self
Sets the space reserved for the scrollbar, in logical pixels or rems. Read more
Source§fn overflow_fade(self, fade: impl Into<Edges<AbsoluteLength>>) -> Self
fn overflow_fade(self, fade: impl Into<Edges<AbsoluteLength>>) -> Self
Fades the content clipped by this element’s overflow to transparent at each edge. Read more
Source§fn overflow_fade_x(self, fade: impl Into<AbsoluteLength>) -> Self
fn overflow_fade_x(self, fade: impl Into<AbsoluteLength>) -> Self
Fades content at the left and right overflow edges by the same distance. Read more
Source§fn overflow_fade_y(self, fade: impl Into<AbsoluteLength>) -> Self
fn overflow_fade_y(self, fade: impl Into<AbsoluteLength>) -> Self
Fades content at the top and bottom overflow edges by the same distance. Read more
Source§fn whitespace(self, white_space: WhiteSpace) -> Self
fn whitespace(self, white_space: WhiteSpace) -> Self
Sets how this element’s text handles whitespace and wrapping.
Source§fn whitespace_normal(self) -> Self
fn whitespace_normal(self) -> Self
Sets the whitespace of this element’s text to
normal, so text wraps at the available width. Read moreSource§fn whitespace_nowrap(self) -> Self
fn whitespace_nowrap(self) -> Self
Sets the whitespace of this element’s text to
nowrap, so text stays on one line. Read moreSource§fn text_ellipsis(self) -> Self
fn text_ellipsis(self) -> Self
Truncates overflowing text with an ellipsis (…) at the end. Read more
Source§fn text_ellipsis_start(self) -> Self
fn text_ellipsis_start(self) -> Self
Truncates overflowing text with an ellipsis (…) at the start. Read more
Source§fn text_ellipsis_middle(self) -> Self
fn text_ellipsis_middle(self) -> Self
Truncates overflowing text with an ellipsis (…) in the middle. Read more
Source§fn text_overflow(self, overflow: TextOverflow) -> Self
fn text_overflow(self, overflow: TextOverflow) -> Self
Sets how this element’s text is truncated when it overflows. Read more
Source§fn text_align(self, align: TextAlign) -> Self
fn text_align(self, align: TextAlign) -> Self
Sets the horizontal alignment of this element’s text.
Source§fn text_start(self) -> Self
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
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_center(self) -> Self
fn text_center(self) -> Self
Centers text horizontally.
Source§fn text_right(self) -> Self
fn text_right(self) -> Self
Aligns text to the right edge.
Source§fn letter_spacing(self, spacing: impl Into<Pixels>) -> Self
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
fn text_transform(self, transform: TextTransform) -> Self
Sets the case transformation for text in this element and its children.
Source§fn truncate(self) -> Self
fn truncate(self) -> Self
Prevents text from wrapping and truncates overflowing text with an ellipsis (…) at the end. Read more
Source§fn line_clamp(self, lines: usize) -> Self
fn line_clamp(self, lines: usize) -> Self
Shows at most
lines lines of text, then truncates the rest. Read moreSource§fn flex_direction(self, direction: FlexDirection) -> Self
fn flex_direction(self, direction: FlexDirection) -> Self
Sets the direction in which flex children are placed. Read more
Source§fn flex_col(self) -> Self
fn flex_col(self) -> Self
Sets the flex direction to
column, so children stack from top to bottom. Read moreSource§fn flex_col_reverse(self) -> Self
fn flex_col_reverse(self) -> Self
Sets the flex direction to
column-reverse, so children stack from bottom to top. Read moreSource§fn flex_row(self) -> Self
fn flex_row(self) -> Self
Sets the flex direction to
row, so children sit left to right. Read moreSource§fn flex_row_reverse(self) -> Self
fn flex_row_reverse(self) -> Self
Sets the flex direction to
row-reverse, so children sit right to left. Read moreSource§fn flex_1(self) -> Self
fn flex_1(self) -> Self
Lets a flex child grow and shrink to fill the space, ignoring its initial size. Read more
Source§fn flex_auto(self) -> Self
fn flex_auto(self) -> Self
Lets a flex child grow and shrink, starting from its natural size. Read more
Source§fn flex_initial(self) -> Self
fn flex_initial(self) -> Self
Lets a flex child shrink but not grow, starting from its natural size. Read more
Source§fn flex_basis(self, basis: impl Into<Length>) -> Self
fn flex_basis(self, basis: impl Into<Length>) -> Self
Sets the starting size of a flex child before it grows or shrinks. Read more
Source§fn flex_grow(self, grow: f32) -> Self
fn flex_grow(self, grow: f32) -> Self
Sets the factor by which a flex child grows to fill spare space. Read more
Source§fn flex_grow_0(self) -> Self
fn flex_grow_0(self) -> Self
Stops a flex child from growing. Read more
Source§fn flex_grow_1(self) -> Self
fn flex_grow_1(self) -> Self
Lets a flex child grow with a factor of 1. Read more
Source§fn flex_shrink(self, shrink: f32) -> Self
fn flex_shrink(self, shrink: f32) -> Self
Sets the factor by which a flex child shrinks when space is short. Read more
Source§fn flex_shrink_0(self) -> Self
fn flex_shrink_0(self) -> Self
Prevents this flex child from participating in shrinkage when space is short. Read more
Source§fn flex_shrink_1(self) -> Self
fn flex_shrink_1(self) -> Self
Lets a flex child shrink with a factor of 1. Read more
Source§fn flex_wrap(self) -> Self
fn flex_wrap(self) -> Self
Lets flex children wrap onto new lines in the normal direction. Read more
Source§fn flex_wrap_reverse(self) -> Self
fn flex_wrap_reverse(self) -> Self
Lets flex children wrap onto new lines in the reverse direction. Read more
Source§fn flex_nowrap(self) -> Self
fn flex_nowrap(self) -> Self
Stops flex children from wrapping. Inflexible children overflow the container instead. Read more
Source§fn items_start(self) -> Self
fn items_start(self) -> Self
Aligns flex or grid children to the start of the cross axis. Read more
Source§fn items_end(self) -> Self
fn items_end(self) -> Self
Aligns flex or grid children to the end of the cross axis. Read more
Source§fn items_center(self) -> Self
fn items_center(self) -> Self
Centers flex or grid children along the cross axis. Read more
Source§fn items_baseline(self) -> Self
fn items_baseline(self) -> Self
Aligns flex or grid children on their text baselines along the cross axis. Read more
Source§fn items_stretch(self) -> Self
fn items_stretch(self) -> Self
Stretches flex or grid children to fill the cross axis. Read more
Source§fn self_start(self) -> Self
fn self_start(self) -> Self
Aligns this flex or grid child to the start of the container’s cross axis. Read more
Source§fn self_end(self) -> Self
fn self_end(self) -> Self
Aligns this flex or grid child to the end of the container’s cross axis. Read more
Source§fn self_flex_start(self) -> Self
fn self_flex_start(self) -> Self
Aligns this flex child to the flex-relative start of the cross axis. Read more
Source§fn self_flex_end(self) -> Self
fn self_flex_end(self) -> Self
Aligns this flex child to the flex-relative end of the cross axis. Read more
Source§fn self_center(self) -> Self
fn self_center(self) -> Self
Centers this flex or grid child along the container’s cross axis. Read more
Source§fn self_baseline(self) -> Self
fn self_baseline(self) -> Self
Aligns this flex or grid child on the container’s baseline along the cross axis. Read more
Source§fn self_stretch(self) -> Self
fn self_stretch(self) -> Self
Stretches this flex or grid child to fill the container’s cross axis. Read more
Source§fn justify_start(self) -> Self
fn justify_start(self) -> Self
Packs flex or grid children against the start of the main axis. Read more
Source§fn justify_end(self) -> Self
fn justify_end(self) -> Self
Packs flex or grid children against the end of the main axis. Read more
Source§fn justify_flex_start(self) -> Self
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
fn justify_flex_end(self) -> Self
Packs flex children against the flex-relative end of the main axis.
Source§fn justify_center(self) -> Self
fn justify_center(self) -> Self
Centers flex or grid children along the main axis. Read more
Source§fn justify_between(self) -> Self
fn justify_between(self) -> Self
Spreads children along the main axis with equal space between them. Read more
Source§fn justify_around(self) -> Self
fn justify_around(self) -> Self
Spreads children along the main axis with equal space on each side of each child. Read more
Source§fn justify_evenly(self) -> Self
fn justify_evenly(self) -> Self
Spreads children along the main axis with equal space between every child and at both edges. Read more
Source§fn content_normal(self) -> Self
fn content_normal(self) -> Self
Clears
align-content, so lines of children use their default packing. Read moreSource§fn content_center(self) -> Self
fn content_center(self) -> Self
Packs lines of children in the center of the cross axis. Read more
Source§fn content_start(self) -> Self
fn content_start(self) -> Self
Packs lines of children against the start of the cross axis. Read more
Source§fn content_end(self) -> Self
fn content_end(self) -> Self
Packs lines of children against the end of the cross axis. Read more
Source§fn content_between(self) -> Self
fn content_between(self) -> Self
Spreads lines of children along the cross axis with equal space between them. Read more
Source§fn content_around(self) -> Self
fn content_around(self) -> Self
Spreads lines of children along the cross axis with equal space on each side of each line. Read more
Source§fn content_evenly(self) -> Self
fn content_evenly(self) -> Self
Spreads lines of children along the cross axis with equal space between every line and at both edges. Read more
Source§fn content_stretch(self) -> Self
fn content_stretch(self) -> Self
Stretches lines of children to fill the cross axis. Read more
Source§fn aspect_ratio(self, ratio: f32) -> Self
fn aspect_ratio(self, ratio: f32) -> Self
Sets the width-to-height ratio of this element. Read more
Source§fn aspect_square(self) -> Self
fn aspect_square(self) -> Self
Sets the aspect ratio to
1.0, so the element’s width and height are equal. Read moreSource§fn border_dashed(self) -> Self
fn border_dashed(self) -> Self
Sets the border style to dashed. Read more
Source§fn border_dashed_length(self, length_per_border_width: f32) -> Self
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. Read more
Source§fn border_dashed_gap(self, gap_per_border_width: f32) -> Self
fn border_dashed_gap(self, gap_per_border_width: f32) -> Self
Sets the gap between border dashes as a multiple of the border width. Read more
Source§fn text_style(&mut self) -> &mut TextStyleRefinement
fn text_style(&mut self) -> &mut TextStyleRefinement
Returns the text style refinement configured on this element. Read more
Source§fn text_color(self, color: impl IntoColor<Hsla>) -> Self
fn text_color(self, color: impl IntoColor<Hsla>) -> Self
Sets the text color of this element. Read more
Source§fn font_weight(self, weight: FontWeight) -> Self
fn font_weight(self, weight: FontWeight) -> Self
Sets the font weight of this element and its children. Read more
Source§fn font_width(self, width: impl Into<FontWidth>) -> Self
fn font_width(self, width: impl Into<FontWidth>) -> Self
Sets the font width of this element and its children. Read more
Source§fn text_bg(self, bg: impl IntoColor<Hsla>) -> Self
fn text_bg(self, bg: impl IntoColor<Hsla>) -> Self
Sets the background color behind the text of this element. Read more
Source§fn text_size(self, size: impl Into<AbsoluteLength>) -> Self
fn text_size(self, size: impl Into<AbsoluteLength>) -> Self
Sets the font size of this element and its children. Read more
Source§fn text_xs(self) -> Self
fn text_xs(self) -> Self
Sets the font size to
0.75rem (12px with the default 16px root size). Read moreSource§fn text_sm(self) -> Self
fn text_sm(self) -> Self
Sets the font size to
0.875rem (14px with the default 16px root size). Read moreSource§fn text_base(self) -> Self
fn text_base(self) -> Self
Sets the font size to
1rem (16px with the default 16px root size). Read moreSource§fn text_lg(self) -> Self
fn text_lg(self) -> Self
Sets the font size to
1.125rem (18px with the default 16px root size). Read moreSource§fn text_xl(self) -> Self
fn text_xl(self) -> Self
Sets the font size to
1.25rem (20px with the default 16px root size). Read moreSource§fn text_2xl(self) -> Self
fn text_2xl(self) -> Self
Sets the font size to
1.5rem (24px with the default 16px root size). Read moreSource§fn text_3xl(self) -> Self
fn text_3xl(self) -> Self
Sets the font size to
1.875rem (30px with the default 16px root size). Read moreSource§fn not_italic(self) -> Self
fn not_italic(self) -> Self
Sets the font style to normal, which is not italic. Read more
Source§fn line_through(self) -> Self
fn line_through(self) -> Self
Draws a line through the text of this element with a 1px line. Read more
Source§fn text_decoration_none(self) -> Self
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
fn text_decoration_color(self, color: impl IntoColor<Hsla>) -> Self
Sets the color of the text decoration line. Read more
Source§fn text_decoration_solid(self) -> Self
fn text_decoration_solid(self) -> Self
Sets the text decoration style to a solid line. Read more
Source§fn text_decoration_wavy(self) -> Self
fn text_decoration_wavy(self) -> Self
Sets the text decoration style to a wavy line. Read more
Source§fn text_decoration_0(self) -> Self
fn text_decoration_0(self) -> Self
Sets the text decoration thickness to
0px, which hides the line. Read moreSource§fn text_decoration_1(self) -> Self
fn text_decoration_1(self) -> Self
Sets the text decoration thickness to
1px. Read moreSource§fn text_decoration_2(self) -> Self
fn text_decoration_2(self) -> Self
Sets the text decoration thickness to
2px. Read moreSource§fn text_decoration_4(self) -> Self
fn text_decoration_4(self) -> Self
Sets the text decoration thickness to
4px. Read moreSource§fn text_decoration_8(self) -> Self
fn text_decoration_8(self) -> Self
Sets the text decoration thickness to
8px. Read moreSource§fn font_family(self, family_name: impl Into<SharedString>) -> Self
fn font_family(self, family_name: impl Into<SharedString>) -> Self
Sets the font family of this element and its children. Read more
Source§fn font_features(self, features: FontFeatures) -> Self
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
fn font(self, font: Font) -> Self
Sets the font family, features, fallbacks, weight, width, and style of this element and its children. Read more
Source§fn line_height(self, line_height: impl Into<DefiniteLength>) -> Self
fn line_height(self, line_height: impl Into<DefiniteLength>) -> Self
Sets the line height of this element and its children. Read more
Source§fn opacity(self, opacity: f32) -> Self
fn opacity(self, opacity: f32) -> Self
Sets the opacity of this element and its children, composited together as one group. Read more
Source§fn grid_cols(self, cols: u16) -> Self
fn grid_cols(self, cols: u16) -> Self
Sets the number of equal-width columns in this grid element. Read more
Source§fn grid_cols_min_content(self, cols: u16) -> Self
fn grid_cols_min_content(self, cols: u16) -> Self
Sets the number of columns, each at least as wide as its content. Read more
Source§fn grid_cols_max_content(self, cols: u16) -> Self
fn grid_cols_max_content(self, cols: u16) -> Self
Sets the number of columns with max-content sizing as the upper track size. Read more
Source§fn grid_rows(self, rows: u16) -> Self
fn grid_rows(self, rows: u16) -> Self
Sets the number of equal-height rows in this grid element. Read more
Source§fn grid_rows_min_content(self, rows: u16) -> Self
fn grid_rows_min_content(self, rows: u16) -> Self
Sets the number of rows, each at least as tall as its content. Read more
Source§fn grid_rows_max_content(self, rows: u16) -> Self
fn grid_rows_max_content(self, rows: u16) -> Self
Sets the number of rows with max-content sizing as the upper track size. Read more
Source§fn col_start(self, start: i16) -> Self
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
fn col_start_auto(self) -> Self
Lets the grid place this element’s start column automatically.
Source§fn col_end(self, end: i16) -> Self
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
fn col_end_auto(self) -> Self
Lets the grid place this element’s end column automatically.
Source§fn col_span_full(self) -> Self
fn col_span_full(self) -> Self
Makes this element span all grid columns.
Source§fn row_start(self, start: i16) -> Self
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
fn row_start_auto(self) -> Self
Lets the grid place this element’s start row automatically.
Source§fn row_end(self, end: i16) -> Self
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
fn row_end_auto(self) -> Self
Lets the grid place this element’s end row automatically.
Source§fn row_span_full(self) -> Self
fn row_span_full(self) -> Self
Makes this element span all grid rows.
Source§fn debug_below(self) -> Self
fn debug_below(self) -> Self
Draws a debug border around this element and every element below it in the tree. Read more
Source§fn rounded_smoothing(self, amount: f32) -> Self
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
fn rounded_smoothing_ios(self) -> Self
Sets corner smoothing to
0.6, which matches iOS-style corners.Auto Trait Implementations§
impl<T> !RefUnwindSafe for Canvas<T>
impl<T> !Send for Canvas<T>
impl<T> !Sync for Canvas<T>
impl<T> !UnwindSafe for Canvas<T>
impl<T> Freeze for Canvas<T>
impl<T> Unpin for Canvas<T>
impl<T> UnsafeUnpin for Canvas<T>
Blanket Implementations§
Source§impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
T: Real + Zero + Arithmetics + Clone,
Swp: WhitePoint<T>,
Dwp: WhitePoint<T>,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
T: Real + Zero + Arithmetics + Clone,
Swp: WhitePoint<T>,
Dwp: WhitePoint<T>,
D: AdaptFrom<S, Swp, Dwp, T>,
Source§fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<T>,
fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<T>,
👎Deprecated since 0.7.7:
replaced by palette::chromatic_adaptation::AdaptIntoUnclamped
Convert the source color to the destination color using the specified
method.
Source§fn adapt_into(self) -> D
fn adapt_into(self) -> D
👎Deprecated since 0.7.7:
replaced by palette::chromatic_adaptation::AdaptIntoUnclamped
Convert the source color to the destination color using the bradford
method by default.
Source§impl<T, C> AdaptIntoUnclamped<T> for Cwhere
T: AdaptFromUnclamped<C>,
impl<T, C> AdaptIntoUnclamped<T> for Cwhere
T: AdaptFromUnclamped<C>,
Source§type Scalar = <T as AdaptFromUnclamped<C>>::Scalar
type Scalar = <T as AdaptFromUnclamped<C>>::Scalar
The number type that’s used as the color’s components.
Source§fn adapt_into_unclamped_with<M>(self) -> Twhere
M: LmsToXyz<<C as AdaptIntoUnclamped<T>>::Scalar> + XyzToLms<<C as AdaptIntoUnclamped<T>>::Scalar>,
fn adapt_into_unclamped_with<M>(self) -> Twhere
M: LmsToXyz<<C as AdaptIntoUnclamped<T>>::Scalar> + XyzToLms<<C as AdaptIntoUnclamped<T>>::Scalar>,
Source§impl<E> AnimationExt for Ewhere
E: IntoElement + 'static,
impl<E> AnimationExt for Ewhere
E: IntoElement + 'static,
Source§fn with_animation(
self,
id: impl Into<ElementId>,
animation: Animation,
animator: impl Fn(Self, f32) -> Self + 'static,
) -> AnimationElement<Self>where
Self: Sized,
fn with_animation(
self,
id: impl Into<ElementId>,
animation: Animation,
animator: impl Fn(Self, f32) -> Self + 'static,
) -> AnimationElement<Self>where
Self: Sized,
Source§fn with_animations(
self,
id: impl Into<ElementId>,
animations: Vec<Animation>,
animator: impl Fn(Self, usize, f32) -> Self + 'static,
) -> AnimationElement<Self>where
Self: Sized,
fn with_animations(
self,
id: impl Into<ElementId>,
animations: Vec<Animation>,
animator: impl Fn(Self, usize, f32) -> Self + 'static,
) -> AnimationElement<Self>where
Self: Sized,
Renders this element with a sequence of animations, one after another. Read more
Source§fn with_spring<T>(
self,
id: impl Into<ElementId>,
animation: SpringAnimation<T>,
animator: impl FnOnce(Self, T::Output) -> Self + 'static,
) -> SpringAnimationElement<Self>
fn with_spring<T>( self, id: impl Into<ElementId>, animation: SpringAnimation<T>, animator: impl FnOnce(Self, T::Output) -> Self + 'static, ) -> SpringAnimationElement<Self>
Renders this element at the value of a spring, passed to
animator. Read moreSource§impl<T, C> ArraysFrom<C> for Twhere
C: IntoArrays<T>,
impl<T, C> ArraysFrom<C> for Twhere
C: IntoArrays<T>,
Source§fn arrays_from(colors: C) -> T
fn arrays_from(colors: C) -> T
Cast a collection of colors into a collection of arrays.
Source§impl<T, C> ArraysInto<C> for Twhere
C: FromArrays<T>,
impl<T, C> ArraysInto<C> for Twhere
C: FromArrays<T>,
Source§fn arrays_into(self) -> C
fn arrays_into(self) -> C
Cast this collection of arrays into a collection of colors.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<WpParam, T, U> Cam16IntoUnclamped<WpParam, T> for Uwhere
T: FromCam16Unclamped<WpParam, U>,
impl<WpParam, T, U> Cam16IntoUnclamped<WpParam, T> for Uwhere
T: FromCam16Unclamped<WpParam, U>,
Source§type Scalar = <T as FromCam16Unclamped<WpParam, U>>::Scalar
type Scalar = <T as FromCam16Unclamped<WpParam, U>>::Scalar
The number type that’s used in
parameters when converting.Source§fn cam16_into_unclamped(
self,
parameters: BakedParameters<WpParam, <U as Cam16IntoUnclamped<WpParam, T>>::Scalar>,
) -> T
fn cam16_into_unclamped( self, parameters: BakedParameters<WpParam, <U as Cam16IntoUnclamped<WpParam, T>>::Scalar>, ) -> T
Converts
self into C, using the provided parameters.impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T, C> ComponentsFrom<C> for Twhere
C: IntoComponents<T>,
impl<T, C> ComponentsFrom<C> for Twhere
C: IntoComponents<T>,
Source§fn components_from(colors: C) -> T
fn components_from(colors: C) -> T
Cast a collection of colors into a collection of color components.
Source§impl<T, C> ComponentsInto<C> for T
impl<T, C> ComponentsInto<C> for T
Source§fn components_into(self) -> C
fn components_into(self) -> C
Cast this collection of color components into a collection of colors. Read more
Source§impl<T> FluentBuilder for Twhere
T: IntoElement,
impl<T> FluentBuilder for Twhere
T: IntoElement,
Source§fn map<U>(self, f: impl FnOnce(Self) -> U) -> Uwhere
Self: Sized,
fn map<U>(self, f: impl FnOnce(Self) -> U) -> Uwhere
Self: Sized,
Passes
self to f, and returns the result. Use it to continue a chain with a
closure.Source§fn when(self, condition: bool, then: impl FnOnce(Self) -> Self) -> Selfwhere
Self: Sized,
fn when(self, condition: bool, then: impl FnOnce(Self) -> Self) -> Selfwhere
Self: Sized,
Calls
then with self if condition is true. Otherwise returns self
unchanged.Source§fn when_else(
self,
condition: bool,
then: impl FnOnce(Self) -> Self,
else_fn: impl FnOnce(Self) -> Self,
) -> Selfwhere
Self: Sized,
fn when_else(
self,
condition: bool,
then: impl FnOnce(Self) -> Self,
else_fn: impl FnOnce(Self) -> Self,
) -> Selfwhere
Self: Sized,
Calls
then with self if condition is true, and else_fn with self
otherwise.Source§impl<T> FromAngle<T> for T
impl<T> FromAngle<T> for T
Source§fn from_angle(angle: T) -> T
fn from_angle(angle: T) -> T
Performs a conversion from
angle.Source§impl<T, U> FromStimulus<U> for Twhere
U: IntoStimulus<T>,
impl<T, U> FromStimulus<U> for Twhere
U: IntoStimulus<T>,
Source§fn from_stimulus(other: U) -> T
fn from_stimulus(other: U) -> T
Converts
other into Self, while performing the appropriate scaling,
rounding and clamping.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T, U> IntoAngle<U> for Twhere
U: FromAngle<T>,
impl<T, U> IntoAngle<U> for Twhere
U: FromAngle<T>,
Source§fn into_angle(self) -> U
fn into_angle(self) -> U
Performs a conversion into
T.Source§impl<WpParam, T, U> IntoCam16Unclamped<WpParam, T> for Uwhere
T: Cam16FromUnclamped<WpParam, U>,
impl<WpParam, T, U> IntoCam16Unclamped<WpParam, T> for Uwhere
T: Cam16FromUnclamped<WpParam, U>,
Source§type Scalar = <T as Cam16FromUnclamped<WpParam, U>>::Scalar
type Scalar = <T as Cam16FromUnclamped<WpParam, U>>::Scalar
The number type that’s used in
parameters when converting.Source§fn into_cam16_unclamped(
self,
parameters: BakedParameters<WpParam, <U as IntoCam16Unclamped<WpParam, T>>::Scalar>,
) -> T
fn into_cam16_unclamped( self, parameters: BakedParameters<WpParam, <U as IntoCam16Unclamped<WpParam, T>>::Scalar>, ) -> T
Converts
self into C, using the provided parameters.Source§impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
Source§fn into_color(self) -> U
fn into_color(self) -> U
Convert into T with values clamped to the color defined bounds Read more
Source§impl<T, U> IntoColorUnclamped<U> for Twhere
U: FromColorUnclamped<T>,
impl<T, U> IntoColorUnclamped<U> for Twhere
U: FromColorUnclamped<T>,
Source§fn into_color_unclamped(self) -> U
fn into_color_unclamped(self) -> U
Convert into T. The resulting color might be invalid in its color space Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoStimulus<T> for T
impl<T> IntoStimulus<T> for T
Source§fn into_stimulus(self) -> T
fn into_stimulus(self) -> T
Converts
self into T, while performing the appropriate scaling,
rounding and clamping.Source§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, C> TryComponentsInto<C> for Twhere
C: TryFromComponents<T>,
impl<T, C> TryComponentsInto<C> for Twhere
C: TryFromComponents<T>,
Source§type Error = <C as TryFromComponents<T>>::Error
type Error = <C as TryFromComponents<T>>::Error
The error for when
try_into_colors fails to cast.Source§fn try_components_into(self) -> Result<C, <T as TryComponentsInto<C>>::Error>
fn try_components_into(self) -> Result<C, <T as TryComponentsInto<C>>::Error>
Try to cast this collection of color components into a collection of
colors. Read more
Source§impl<T, U> TryIntoColor<U> for Twhere
U: TryFromColor<T>,
impl<T, U> TryIntoColor<U> for Twhere
U: TryFromColor<T>,
Source§fn try_into_color(self) -> Result<U, OutOfBounds<U>>
fn try_into_color(self) -> Result<U, OutOfBounds<U>>
Convert into T, returning ok if the color is inside of its defined
range, otherwise an
OutOfBounds error is returned which contains
the unclamped color. Read moreSource§impl<C, U> UintsFrom<C> for Uwhere
C: IntoUints<U>,
impl<C, U> UintsFrom<C> for Uwhere
C: IntoUints<U>,
Source§fn uints_from(colors: C) -> U
fn uints_from(colors: C) -> U
Cast a collection of colors into a collection of unsigned integers.
Source§impl<C, U> UintsInto<C> for Uwhere
C: FromUints<U>,
impl<C, U> UintsInto<C> for Uwhere
C: FromUints<U>,
Source§fn uints_into(self) -> C
fn uints_into(self) -> C
Cast this collection of unsigned integers into a collection of colors.