Skip to main content

Img

Struct Img 

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

An image element, made by img.

It is a styled, interactive element. Style it with Styled and StyledImage, and attach event handlers with InteractiveElement.

Implementations§

Source§

impl Img

Source

pub fn extensions() -> &'static [&'static str]

Returns the file extensions that img can decode, in lowercase and without the dot.

The list is the extensions of image::ImageFormat plus svg. gpui decides whether a file loads by reading its bytes, not its extension, so the list is a guide.

§Examples
assert!(Img::extensions().contains(&"png"));
assert!(Img::extensions().contains(&"svg"));
Source

pub fn image_cache<I: ImageCache>(self, image_cache: &Entity<I>) -> Self

Uses image_cache for this image, instead of the cache from an ancestor.

Without this call, the image uses the cache of the nearest ancestor crate::image_cache element, or the app-wide asset cache if there is none. Only ImageSource::Resource sources go through an image cache. The other variants ignore it.

Trait Implementations§

Source§

impl Element for Img

Source§

type RequestLayoutState = ImgLayoutState

The state that Element::request_layout returns for the later phases. Read more
Source§

type PrepaintState = Option<Hitbox>

The state that Element::prepaint returns for Element::paint. Read more
Source§

fn id(&self) -> Option<ElementId>

Returns the element’s identity, or None if it has none. Read more
Source§

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, global_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, global_id: Option<&GlobalElementId>, inspector_id: Option<&InspectorElementId>, bounds: Bounds<Pixels>, request_layout: &mut Self::RequestLayoutState, window: &mut Window, cx: &mut App, ) -> Self::PrepaintState

Runs once the element’s bounds are known, and returns the state that paint needs. Read more
Source§

fn paint( &mut self, global_id: Option<&GlobalElementId>, inspector_id: Option<&InspectorElementId>, bounds: Bounds<Pixels>, layout_state: &mut Self::RequestLayoutState, hitbox: &mut Self::PrepaintState, window: &mut Window, cx: &mut App, )

Draws the element. Runs after prepaint, once per frame. Read more
Source§

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 more
Source§

fn is_a11y_hidden(&self) -> bool

Whether assistive technology should ignore this element and its descendants. Read more
Source§

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 more
Source§

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 more
Source§

fn into_any(self) -> AnyElement

Convert this element into a dynamically-typed AnyElement.
Source§

impl InteractiveElement for Img

Source§

fn interactivity(&mut self) -> &mut Interactivity

Returns the Interactivity that stores this element’s listeners, styles and state. Read more
Source§

fn on_file_drop_exit( self, listener: impl Fn(&FileDropEvent, &mut Window, &mut App) + 'static, ) -> Self

Bind the given callback to FileDropEvent::Exited when a platform file drag leaves this element’s window while the element is hovered. Read more
Source§

fn transitions( self, build: impl FnOnce(StyleTransitions) -> StyleTransitions, ) -> Self

Animates changes to this element’s style properties over time. Read more
Source§

fn group(self, group: impl Into<SharedString>) -> Self

Adds this element to a named group, so that group-level styles can react to any member. Read more
Source§

fn id(self, id: impl Into<ElementId>) -> Stateful<Self>

Gives this element an ElementId, which turns it into a Stateful element. Read more
Source§

fn track_focus(self, focus_handle: &FocusHandle) -> Self

Makes this element focusable with the given FocusHandle, and styles it with the focus styles when focused. Read more
Source§

fn tab_stop(self, tab_stop: bool) -> Self

Sets whether this element is reached by Tab navigation. Read more
Source§

fn tab_index(self, index: isize) -> Self

Sets this element’s position in the tab order and makes it a tab stop. Read more
Source§

fn tab_group(self) -> Self

Makes this element a tab group, so that its children are ordered within the group. Read more
Source§

fn key_context<C, E>(self, key_context: C) -> Self
where C: TryInto<KeyContext, Error = E>, E: Display,

Sets the key context for this element, which selects the keybindings that apply inside it. Read more
Source§

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

Applies f’s style to this element while the pointer is over it. Read more
Source§

fn group_hover( self, group_name: impl Into<SharedString>, f: impl FnOnce(StyleRefinement) -> StyleRefinement, ) -> Self

Applies f’s style to this element while any member of group_name is hovered. Read more
Source§

fn on_mouse_down( self, button: MouseButton, listener: impl Fn(&MouseDownEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener when button is pressed over this element, during the bubble phase. Read more
Source§

fn debug_selector(self, f: impl FnOnce() -> String) -> Self

Sets a name for this element that tests can use to find its bounds. Read more
Source§

fn capture_any_mouse_down( self, listener: impl Fn(&MouseDownEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener for a press of any button over this element, during the capture phase. Read more
Source§

fn on_any_mouse_down( self, listener: impl Fn(&MouseDownEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener for a press of any button over this element, during the bubble phase. Read more
Source§

fn on_mouse_up( self, button: MouseButton, listener: impl Fn(&MouseUpEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener when button is released over this element, during the bubble phase. Read more
Source§

fn capture_any_mouse_up( self, listener: impl Fn(&MouseUpEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener for a release of any button over this element, during the capture phase. Read more
Source§

fn on_mouse_pressure( self, listener: impl Fn(&MousePressureEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener for pressure changes over this element, during the bubble phase. Read more
Source§

fn capture_mouse_pressure( self, listener: impl Fn(&MousePressureEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener for pressure changes over this element, during the capture phase. Read more
Source§

fn on_mouse_down_out( self, listener: impl Fn(&MouseDownEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener for a press of any button outside this element, during the capture phase. Read more
Source§

fn on_mouse_down_all( self, listener: impl Fn(&MouseDownEvent, DispatchPhase, &Hitbox, &mut Window, &mut App) + 'static, ) -> Self

Runs listener for every mouse press, in both phases, whether or not the pointer is over the element. Read more
Source§

fn on_mouse_up_out( self, button: MouseButton, listener: impl Fn(&MouseUpEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener when button is released outside this element, during the capture phase. Read more
Source§

fn on_mouse_up_all( self, listener: impl Fn(&MouseUpEvent, DispatchPhase, &Hitbox, &mut Window, &mut App) + 'static, ) -> Self

Runs listener for every mouse release, in both phases, whether or not the pointer is over the element. Read more
Source§

fn on_mouse_move( self, listener: impl Fn(&MouseMoveEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener when the pointer moves over this element, during the bubble phase. Read more
Source§

fn on_mouse_move_all( self, listener: impl Fn(&MouseMoveEvent, DispatchPhase, &Hitbox, &mut Window, &mut App) + 'static, ) -> Self

Runs listener for every mouse move, whether or not the pointer is over the element. Read more
Source§

fn on_mouse_exit( self, listener: impl Fn(&MouseExitEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener when the pointer leaves the window while it is over this element. Read more
Source§

fn on_drag_move<T: 'static>( self, listener: impl Fn(&DragMoveEvent<T>, &mut Window, &mut App) + 'static, ) -> Self

Runs listener for pointer moves during any drag of type T, wherever the drag started. Read more
Source§

fn on_scroll_wheel( self, listener: impl Fn(&ScrollWheelEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener for scroll wheel events that this element should handle, during the bubble phase. Read more
Source§

fn on_pinch( self, listener: impl Fn(&PinchEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener for pinch gestures over this element, during the bubble phase. Read more
Source§

fn capture_pinch( self, listener: impl Fn(&PinchEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener for pinch gestures during the capture phase. Read more
Source§

fn capture_action<A: Action>( self, listener: impl Fn(&A, &mut Window, &mut App) + 'static, ) -> Self

Runs listener when an action of type A is dispatched to this element, during the capture phase. Read more
Source§

fn on_action<A: Action>( self, listener: impl Fn(&A, &mut Window, &mut App) + 'static, ) -> Self

Runs listener when an action of type A is dispatched to this element, during the bubble phase. Read more
Source§

fn on_boxed_action( self, action: &dyn Action, listener: impl Fn(&dyn Action, &mut Window, &mut App) + 'static, ) -> Self

Runs listener when an action of the same type as action is dispatched, during the bubble phase. Read more
Source§

fn on_key_down( self, listener: impl Fn(&KeyDownEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener for key presses, during the bubble phase. Read more
Source§

fn capture_key_down( self, listener: impl Fn(&KeyDownEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener for key presses during the capture phase. Like on_key_down, it runs only if no action bound to the keystroke handled it. Read more
Source§

fn on_key_up( self, listener: impl Fn(&KeyUpEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener for key releases, during the bubble phase. Read more
Source§

fn capture_key_up( self, listener: impl Fn(&KeyUpEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener for key releases during the capture phase. Read more
Source§

fn on_modifiers_changed( self, listener: impl Fn(&ModifiersChangedEvent, &mut Window, &mut App) + 'static, ) -> Self

Runs listener when the set of pressed modifier keys changes. Read more
Source§

fn drag_over<S: 'static>( self, f: impl 'static + Fn(StyleRefinement, &S, &mut Window, &mut App) -> StyleRefinement, ) -> Self

Applies f’s style while a value of type S is dragged over this element. Read more
Source§

fn on_drag_over<S: 'static>( self, f: impl 'static + Fn(StyleRefinement, &S, &mut Window, &mut App) -> StyleRefinement, ) -> Self

Applies f’s style while a value of type S is dragged over this element and the element accepts it. Read more
Source§

fn on_drag_over_any( self, f: impl 'static + Fn(StyleRefinement, &dyn Any, &mut Window, &mut App) -> StyleRefinement, ) -> Self

Applies f’s style while any dragged value is over this element and the element can accept it. Read more
Source§

fn group_drag_over<S: 'static>( self, group_name: impl Into<SharedString>, f: impl FnOnce(StyleRefinement) -> StyleRefinement, ) -> Self

Applies f’s style while a value of type S is dragged over any member of group_name. Read more
Source§

fn on_drop<T: 'static>( self, listener: impl Fn(&T, &mut Window, &mut App) + 'static, ) -> Self

Runs listener when a drag of type T is released over this element. Read more
Source§

fn on_drop_alt<T: 'static>(self, listener: DropListener<T>) -> Self

Attaches a DropListener that handles drags of type T over this element. Read more
Source§

fn can_drop( self, predicate: impl Fn(&dyn Any, &mut Window, &mut App) -> bool + 'static, ) -> Self

Sets a predicate that decides whether this element accepts the dragged value. Read more
Source§

fn occlude(self) -> Self

Stops the mouse from reaching elements behind this element. Read more
Source§

fn window_control_area(self, area: WindowControlArea) -> Self

Marks this element’s bounds as a window control area, such as a custom title bar button. Read more
Source§

fn block_mouse_except_scroll(self) -> Self

Stops mouse interactions from reaching elements behind this element, but lets scroll events through. Read more
Source§

fn focus(self, f: impl FnOnce(StyleRefinement) -> StyleRefinement) -> Self
where Self: Sized,

Applies f’s style when this element itself has focus. Read more
Source§

fn in_focus(self, f: impl FnOnce(StyleRefinement) -> StyleRefinement) -> Self
where Self: Sized,

Applies f’s style when this element or one of its ancestors has focus. Read more
Source§

fn focus_visible( self, f: impl FnOnce(StyleRefinement) -> StyleRefinement, ) -> Self
where Self: Sized,

Applies f’s style when this element has focus and the last input was from the keyboard. Read more
Source§

fn cursor_with( self, resolver: impl Fn(Point<Pixels>, Bounds<Pixels>) -> Option<CursorStyle> + 'static, ) -> Self
where Self: Sized,

Resolves this element’s cursor from pointer position and bounds. Return None to defer to another cursor request.
Source§

impl IntoElement for Img

Source§

type Element = Img

The element type that this type converts into. Read more
Source§

fn into_element(self) -> Self::Element

Converts self into an Element. Read more
Source§

fn into_any_element(self) -> AnyElement

Converts self into an AnyElement, with its concrete type erased. Read more
Source§

impl StatefulInteractiveElement for Img

Source§

fn role(self, role: Role) -> Self

Sets the accessibility role of this element, such as a button or a list. Read more
Source§

fn accessibility_id(self, id: impl Into<SharedString>) -> Self

Sets the identifier that accessibility clients use to find this element. Read more
Source§

fn aria_label(self, label: impl Into<SharedString>) -> Self

Sets the accessible name of this element, which screen readers announce when focus reaches it. Read more
Source§

fn aria_description(self, description: impl Into<SharedString>) -> Self

Sets the accessible description of this element, announced after its name, role and value. Read more
Source§

fn aria_keyshortcuts(self, keyshortcuts: impl Into<SharedString>) -> Self

Sets the keyboard shortcut that assistive technology announces for this element. Read more
Source§

fn aria_hidden(self) -> Self

Hides this element and its descendants from assistive technology. Read more
Source§

fn aria_active_descendant(self) -> Self

Reports this element as the focused node in the accessibility tree, while a focused ancestor is present. Read more
Source§

fn a11y_synthetic_children( self, f: impl FnOnce(&mut A11ySubtreeBuilder<'_>) + 'static, ) -> Self

Adds accessibility nodes that don’t correspond to any element, as children of this element. Read more
Source§

fn aria_selected(self, selected: bool) -> Self

Sets whether this element is selected, such as an item in a list or a tab.
Source§

fn aria_expanded(self, expanded: bool) -> Self

Sets whether this element is expanded, such as a disclosure triangle or a tree node.
Source§

fn aria_toggled(self, toggled: Toggled) -> Self

Sets the toggled state of this element, such as a checkbox that is on, off or mixed.
Source§

fn aria_disabled(self, disabled: bool) -> Self

Sets whether this element is disabled, so that it rejects input. Read more
Source§

fn aria_numeric_value(self, value: f64) -> Self

Sets the current numeric value of this element, such as the position of a slider.
Source§

fn aria_numeric_value_step(self, step: f64) -> Self

Sets the amount by which the numeric value changes per step, such as when a spin button is incremented.
Source§

fn aria_value(self, value: impl Into<SharedString>) -> Self

Sets the text value of this element, such as the contents of a simple text input.
Source§

fn aria_placeholder(self, placeholder: impl Into<SharedString>) -> Self

Sets the placeholder that assistive technology reads when a text input is empty.
Source§

fn aria_min_numeric_value(self, value: f64) -> Self

Sets the smallest numeric value this element can take.
Source§

fn aria_max_numeric_value(self, value: f64) -> Self

Sets the largest numeric value this element can take.
Source§

fn aria_orientation(self, orientation: Orientation) -> Self

Sets whether this element is laid out horizontally or vertically, such as a scrollbar or a splitter.
Source§

fn aria_level(self, level: usize) -> Self

Sets the heading level of this element, where 1 is the top level.
Source§

fn aria_position_in_set(self, position: usize) -> Self

Sets the one-based position of this element within its set, such as the third item of five in a list. Read more
Source§

fn aria_size_of_set(self, size: usize) -> Self

Sets the number of items in the set this element belongs to.
Source§

fn aria_row_index(self, index: usize) -> Self

Sets the one-based row index of this element within its table or grid.
Source§

fn aria_column_index(self, index: usize) -> Self

Sets the one-based column index of this element within its table or grid.
Source§

fn aria_row_count(self, count: usize) -> Self

Sets the number of rows in the table or grid that contains this element.
Source§

fn aria_column_count(self, count: usize) -> Self

Sets the number of columns in the table or grid that contains this element.
Source§

fn aria_modal(self, modal: bool) -> Self

Marks this element, typically a dialog, as modal. Read more
Source§

fn aria_live(self, live: Live) -> Self

Sets how urgently assistive technology announces changes to this element, as an ARIA live region. Read more
Source§

fn aria_live_atomic(self, atomic: bool) -> Self

Sets whether a change to this live region is announced as a whole, instead of only the changed part. Read more
Source§

fn on_a11y_action( self, action: Action, listener: impl FnMut(Option<&ActionData>, &mut Window, &mut App) + 'static, ) -> Self

Runs listener when assistive technology requests action on this element. Read more
Source§

fn focusable(self) -> Self

Makes this element focusable, without giving it a focus handle of your own. Read more
Source§

fn overflow_scroll(self) -> Self

Makes this element scroll on both axes when its content overflows. Read more
Source§

fn overflow_x_scroll(self) -> Self

Makes this element scroll horizontally when its content overflows. Read more
Source§

fn overflow_y_scroll(self) -> Self

Makes this element scroll vertically when its content overflows. Read more
Source§

fn restrict_scroll_to_axis(self) -> Self

Restricts a scroll gesture to the axis it started on, so that a vertical swipe doesn’t also scroll sideways. Read more
Source§

fn track_scroll(self, scroll_handle: &ScrollHandle) -> Self

Records this element’s scroll state in scroll_handle, so that you can read and change the scroll position. Read more
Source§

fn anchor_scroll(self, scroll_anchor: Option<ScrollAnchor>) -> Self

Connects this element to a ScrollAnchor, so that the anchor can scroll the parent to this element. Read more
Source§

fn active(self, f: impl FnOnce(StyleRefinement) -> StyleRefinement) -> Self
where Self: Sized,

Applies f’s style while the mouse button is held down on this element. Read more
Source§

fn group_active( self, group_name: impl Into<SharedString>, f: impl FnOnce(StyleRefinement) -> StyleRefinement, ) -> Self
where Self: Sized,

Applies f’s style while the mouse button is held down on any member of group_name. Read more
Source§

fn on_click( self, listener: impl Fn(&ClickEvent, &mut Window, &mut App) + 'static, ) -> Self
where Self: Sized,

Runs listener when this element is clicked, or activated from the keyboard. Read more
Source§

fn on_aux_click( self, listener: impl Fn(&ClickEvent, &mut Window, &mut App) + 'static, ) -> Self
where Self: Sized,

Runs listener for clicks with a button other than the left one, such as the middle button. Read more
Source§

fn on_drag<T, W>( self, value: T, constructor: impl Fn(&T, Point<Pixels>, &mut Window, &mut App) -> Entity<W> + 'static, ) -> Self
where Self: Sized, T: 'static, W: 'static + Render,

Starts a drag of value when the left button is pressed on this element and the pointer moves. Read more
Source§

fn on_drag_alt<F>(self, listener: F) -> Self
where Self: Sized, F: 'static + Fn(Point<Pixels>, Option<CursorStyle>, &mut Window, &mut App) -> AnyDrag,

Sets the function that starts a drag from this element. Read more
Source§

fn external_drag_payload<T>( self, resolver: impl Fn(&T, &mut Window, &mut App) -> Option<ExternalDragPayload> + 'static, ) -> Self
where Self: Sized, T: 'static,

Registers a resolver for the data to offer the platform when a drag from this element leaves the window. Read more
Source§

fn on_hover( self, listener: impl Fn(&bool, &mut Window, &mut App) + 'static, ) -> Self
where Self: Sized,

Runs listener with true when the pointer enters this element and false when it leaves. Read more
Source§

fn hover_listener_mode(self, mode: HoverListenerMode) -> Self
where Self: Sized,

Sets how Self::on_hover responds to key presses while the mouse is stationary. This affects only the hover listener, not hover styles or tooltips. The fluent API equivalent to Interactivity::hover_listener_mode.
Source§

fn on_hover_region<R: PartialEq + 'static>( self, project: impl Fn(Point<Pixels>, Bounds<Pixels>) -> Option<R> + 'static, listener: impl Fn(&Option<R>, &mut Window, &mut App) + 'static, ) -> Self
where Self: Sized,

Calls the listener when a typed pointer projection changes.
Source§

fn tooltip( self, build_tooltip: impl Fn(&mut Window, &mut App) -> AnyView + 'static, ) -> Self
where Self: Sized,

Shows a tooltip built by build_tooltip while the pointer rests over this element. Read more
Source§

fn hoverable_tooltip( self, build_tooltip: impl Fn(&mut Window, &mut App) -> AnyView + 'static, ) -> Self
where Self: Sized,

Shows a tooltip built by build_tooltip while the pointer rests over this element, and keeps it open while the pointer is over the tooltip. Read more
Source§

fn tooltip_show_delay(self, delay: Duration) -> Self
where Self: Sized,

Sets how long the pointer must rest over this element before its tooltip appears. Read more
Source§

fn on_prepaint( self, listener: impl Fn(&InteractivityPrepaint, &mut Window, &mut App) + 'static, ) -> Self
where Self: Sized,

Runs listener during prepaint, once the element’s bounds and content size are known. Read more
Source§

impl Styled for Img

Source§

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

Returns the StyleRefinement that the methods on this trait write into. Read more
Source§

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

Sets the width of the element. Docs
Source§

fn w_0(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_0(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_0p5(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_0p5(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_1(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_1(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_1p5(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_1p5(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_2(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_2(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_2p5(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_2p5(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_3(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_3(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_3p5(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_3p5(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_4(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_4(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_5(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_5(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_6(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_6(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_7(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_7(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_8(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_8(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_9(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_9(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_10(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_10(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_11(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_11(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_12(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_12(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_16(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_16(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_20(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_20(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_24(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_24(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_32(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_32(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_40(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_40(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_48(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_48(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_56(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_56(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_64(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_64(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_72(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_72(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_80(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_80(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_96(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_96(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_112(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_112(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_128(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_128(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_auto(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_px(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_px(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_full(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_full(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_1_2(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_1_2(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_1_3(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_1_3(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_2_3(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_2_3(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_1_4(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_1_4(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_2_4(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_2_4(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_3_4(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_3_4(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_1_5(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_1_5(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_2_5(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_2_5(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_3_5(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_3_5(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_4_5(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_4_5(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_1_6(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_1_6(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_5_6(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_5_6(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_1_12(self) -> Self

Sets the width of the element. Docs Read more
Source§

fn w_neg_1_12(self) -> Self

Sets the width of the element. Docs Read more
Source§

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

Sets the height of the element. Docs
Source§

fn h_0(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_0(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_0p5(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_0p5(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_1(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_1(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_1p5(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_1p5(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_2(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_2(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_2p5(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_2p5(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_3(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_3(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_3p5(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_3p5(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_4(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_4(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_5(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_5(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_6(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_6(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_7(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_7(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_8(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_8(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_9(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_9(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_10(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_10(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_11(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_11(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_12(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_12(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_16(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_16(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_20(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_20(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_24(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_24(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_32(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_32(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_40(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_40(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_48(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_48(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_56(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_56(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_64(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_64(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_72(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_72(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_80(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_80(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_96(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_96(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_112(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_112(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_128(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_128(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_auto(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_px(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_px(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_full(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_full(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_1_2(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_1_2(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_1_3(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_1_3(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_2_3(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_2_3(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_1_4(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_1_4(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_2_4(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_2_4(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_3_4(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_3_4(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_1_5(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_1_5(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_2_5(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_2_5(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_3_5(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_3_5(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_4_5(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_4_5(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_1_6(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_1_6(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_5_6(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_5_6(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_1_12(self) -> Self

Sets the height of the element. Docs Read more
Source§

fn h_neg_1_12(self) -> Self

Sets the height of the element. Docs Read more
Source§

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

Sets the width and height of the element.
Source§

fn size_0(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_0(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_0p5(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_0p5(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_1(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_1(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_1p5(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_1p5(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_2(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_2(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_2p5(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_2p5(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_3(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_3(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_3p5(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_3p5(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_4(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_4(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_5(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_5(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_6(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_6(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_7(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_7(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_8(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_8(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_9(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_9(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_10(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_10(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_11(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_11(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_12(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_12(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_16(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_16(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_20(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_20(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_24(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_24(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_32(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_32(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_40(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_40(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_48(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_48(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_56(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_56(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_64(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_64(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_72(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_72(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_80(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_80(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_96(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_96(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_112(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_112(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_128(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_128(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_auto(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_px(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_px(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_full(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_full(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_1_2(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_1_2(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_1_3(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_1_3(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_2_3(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_2_3(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_1_4(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_1_4(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_2_4(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_2_4(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_3_4(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_3_4(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_1_5(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_1_5(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_2_5(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_2_5(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_3_5(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_3_5(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_4_5(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_4_5(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_1_6(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_1_6(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_5_6(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_neg_5_6(self) -> Self

Sets the width and height of the element. Read more
Source§

fn size_1_12(self) -> Self

Sets the width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element.
Source§

fn min_size_0(self) -> Self

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width and height of the element. Read more
Source§

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

Sets the minimum width of the element. Docs
Source§

fn min_w_0(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_0(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_0p5(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_0p5(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_1(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_1(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_1p5(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_1p5(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_2(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_2(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_2p5(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_2p5(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_3(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_3(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_3p5(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_3p5(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_4(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_4(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_5(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_5(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_6(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_6(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_7(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_7(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_8(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_8(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_9(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_9(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_10(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_10(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_11(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_11(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_12(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_12(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_16(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_16(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_20(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_20(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_24(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_24(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_32(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_32(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_40(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_40(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_48(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_48(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_56(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_56(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_64(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_64(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_72(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_72(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_80(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_80(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_96(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_96(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_112(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_112(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_128(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_128(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_auto(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_px(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_px(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_full(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_full(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_1_2(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_1_2(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_1_3(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_1_3(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_2_3(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_2_3(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_1_4(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_1_4(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_2_4(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_2_4(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_3_4(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_3_4(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_1_5(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_1_5(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_2_5(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_2_5(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_3_5(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_3_5(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_4_5(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_4_5(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_1_6(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_1_6(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_5_6(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_5_6(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_1_12(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

fn min_w_neg_1_12(self) -> Self

Sets the minimum width of the element. Docs Read more
Source§

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

Sets the minimum height of the element. Docs
Source§

fn min_h_0(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_0(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_0p5(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_0p5(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_1(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_1(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_1p5(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_1p5(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_2(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_2(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_2p5(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_2p5(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_3(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_3(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_3p5(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_3p5(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_4(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_4(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_5(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_5(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_6(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_6(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_7(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_7(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_8(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_8(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_9(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_9(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_10(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_10(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_11(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_11(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_12(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_12(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_16(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_16(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_20(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_20(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_24(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_24(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_32(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_32(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_40(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_40(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_48(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_48(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_56(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_56(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_64(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_64(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_72(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_72(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_80(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_80(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_96(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_96(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_112(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_112(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_128(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_128(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_auto(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_px(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_px(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_full(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_full(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_1_2(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_1_2(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_1_3(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_1_3(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_2_3(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_2_3(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_1_4(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_1_4(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_2_4(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_2_4(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_3_4(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_3_4(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_1_5(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_1_5(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_2_5(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_2_5(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_3_5(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_3_5(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_4_5(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_4_5(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_1_6(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_1_6(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_5_6(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_5_6(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_1_12(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

fn min_h_neg_1_12(self) -> Self

Sets the minimum height of the element. Docs Read more
Source§

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

Sets the maximum width and height of the element.
Source§

fn max_size_0(self) -> Self

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width and height of the element. Read more
Source§

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

Sets the maximum width of the element. Docs
Source§

fn max_w_0(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_0(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_0p5(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_0p5(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_1(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_1(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_1p5(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_1p5(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_2(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_2(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_2p5(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_2p5(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_3(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_3(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_3p5(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_3p5(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_4(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_4(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_5(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_5(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_6(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_6(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_7(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_7(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_8(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_8(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_9(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_9(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_10(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_10(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_11(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_11(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_12(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_12(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_16(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_16(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_20(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_20(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_24(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_24(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_32(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_32(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_40(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_40(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_48(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_48(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_56(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_56(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_64(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_64(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_72(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_72(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_80(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_80(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_96(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_96(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_112(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_112(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_128(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_128(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_auto(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_px(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_px(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_full(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_full(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_1_2(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_1_2(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_1_3(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_1_3(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_2_3(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_2_3(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_1_4(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_1_4(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_2_4(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_2_4(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_3_4(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_3_4(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_1_5(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_1_5(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_2_5(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_2_5(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_3_5(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_3_5(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_4_5(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_4_5(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_1_6(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_1_6(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_5_6(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_5_6(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_1_12(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

fn max_w_neg_1_12(self) -> Self

Sets the maximum width of the element. Docs Read more
Source§

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

Sets the maximum height of the element. Docs
Source§

fn max_h_0(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_0(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_0p5(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_0p5(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_1(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_1(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_1p5(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_1p5(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_2(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_2(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_2p5(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_2p5(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_3(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_3(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_3p5(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_3p5(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_4(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_4(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_5(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_5(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_6(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_6(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_7(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_7(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_8(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_8(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_9(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_9(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_10(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_10(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_11(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_11(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_12(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_12(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_16(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_16(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_20(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_20(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_24(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_24(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_32(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_32(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_40(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_40(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_48(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_48(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_56(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_56(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_64(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_64(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_72(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_72(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_80(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_80(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_96(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_96(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_112(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_112(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_128(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_128(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_auto(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_px(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_px(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_full(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_full(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_1_2(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_1_2(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_1_3(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_1_3(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_2_3(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_2_3(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_1_4(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_1_4(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_2_4(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_2_4(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_3_4(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_3_4(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_1_5(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_1_5(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_2_5(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_2_5(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_3_5(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_3_5(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_4_5(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_4_5(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_1_6(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_1_6(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_5_6(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_5_6(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_1_12(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

fn max_h_neg_1_12(self) -> Self

Sets the maximum height of the element. Docs Read more
Source§

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

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

fn gap_0(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_0(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_0p5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_0p5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_1(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_1(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_1p5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_1p5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_2(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_2(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_2p5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_2p5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_3(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_3(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_3p5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_3p5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_4(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_4(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_6(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_6(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_7(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_7(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_8(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_8(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_9(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_9(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_10(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_10(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_11(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_11(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_12(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_12(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_16(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_16(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_20(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_20(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_24(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_24(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_32(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_32(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_40(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_40(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_48(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_48(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_56(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_56(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_64(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_64(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_72(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_72(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_80(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_80(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_96(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_96(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_112(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_112(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_128(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_128(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_px(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_px(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_full(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_full(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_1_2(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_1_2(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_1_3(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_1_3(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_2_3(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_2_3(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_1_4(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_1_4(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_2_4(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_2_4(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_3_4(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_3_4(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_1_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_1_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_2_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_2_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_3_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_3_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_4_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_4_5(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_1_6(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_1_6(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_5_6(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_5_6(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_1_12(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

fn gap_neg_1_12(self) -> Self

Sets the gap between rows and columns of a flex or grid container. Docs Read more
Source§

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

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

fn gap_x_0(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_0(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_0p5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_0p5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_1(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_1(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_1p5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_1p5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_2(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_2(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_2p5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_2p5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_3(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_3(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_3p5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_3p5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_4(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_4(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_6(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_6(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_7(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_7(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_8(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_8(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_9(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_9(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_10(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_10(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_11(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_11(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_12(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_12(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_16(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_16(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_20(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_20(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_24(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_24(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_32(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_32(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_40(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_40(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_48(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_48(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_56(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_56(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_64(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_64(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_72(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_72(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_80(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_80(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_96(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_96(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_112(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_112(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_128(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_128(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_px(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_px(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_full(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_full(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_1_2(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_1_2(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_1_3(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_1_3(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_2_3(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_2_3(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_1_4(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_1_4(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_2_4(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_2_4(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_3_4(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_3_4(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_1_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_1_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_2_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_2_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_3_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_3_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_4_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_4_5(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_1_6(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_1_6(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_5_6(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_5_6(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_1_12(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

fn gap_x_neg_1_12(self) -> Self

Sets the gap between columns of a flex or grid container. Docs Read more
Source§

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

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

fn gap_y_0(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_0(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_0p5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_0p5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_1(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_1(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_1p5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_1p5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_2(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_2(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_2p5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_2p5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_3(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_3(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_3p5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_3p5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_4(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_4(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_6(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_6(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_7(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_7(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_8(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_8(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_9(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_9(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_10(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_10(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_11(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_11(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_12(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_12(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_16(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_16(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_20(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_20(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_24(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_24(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_32(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_32(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_40(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_40(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_48(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_48(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_56(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_56(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_64(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_64(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_72(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_72(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_80(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_80(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_96(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_96(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_112(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_112(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_128(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_128(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_px(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_px(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_full(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_full(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_1_2(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_1_2(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_1_3(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_1_3(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_2_3(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_2_3(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_1_4(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_1_4(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_2_4(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_2_4(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_3_4(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_3_4(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_1_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_1_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_2_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_2_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_3_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_3_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_4_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_4_5(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_1_6(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_1_6(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_5_6(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_5_6(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_1_12(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

fn gap_y_neg_1_12(self) -> Self

Sets the gap between rows of a flex or grid container. Docs Read more
Source§

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

Sets the border radius of the element. Docs
Source§

fn rounded_none(self) -> Self

Sets the border radius of the element. Docs Read more
Source§

fn rounded_xs(self) -> Self

Sets the border radius of the element. Docs Read more
Source§

fn rounded_sm(self) -> Self

Sets the border radius of the element. Docs Read more
Source§

fn rounded_md(self) -> Self

Sets the border radius of the element. Docs Read more
Source§

fn rounded_lg(self) -> Self

Sets the border radius of the element. Docs Read more
Source§

fn rounded_xl(self) -> Self

Sets the border radius of the element. Docs Read more
Source§

fn rounded_2xl(self) -> Self

Sets the border radius of the element. Docs Read more
Source§

fn rounded_3xl(self) -> Self

Sets the border radius of the element. Docs Read more
Source§

fn rounded_full(self) -> Self

Sets the border radius of the element. Docs Read more
Source§

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

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

fn rounded_t_none(self) -> Self

Sets the border radius of the top side of the element. Docs Read more
Source§

fn rounded_t_xs(self) -> Self

Sets the border radius of the top side of the element. Docs Read more
Source§

fn rounded_t_sm(self) -> Self

Sets the border radius of the top side of the element. Docs Read more
Source§

fn rounded_t_md(self) -> Self

Sets the border radius of the top side of the element. Docs Read more
Source§

fn rounded_t_lg(self) -> Self

Sets the border radius of the top side of the element. Docs Read more
Source§

fn rounded_t_xl(self) -> Self

Sets the border radius of the top side of the element. Docs Read more
Source§

fn rounded_t_2xl(self) -> Self

Sets the border radius of the top side of the element. Docs Read more
Source§

fn rounded_t_3xl(self) -> Self

Sets the border radius of the top side of the element. Docs Read more
Source§

fn rounded_t_full(self) -> Self

Sets the border radius of the top side of the element. Docs Read more
Source§

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

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

fn rounded_b_none(self) -> Self

Sets the border radius of the bottom side of the element. Docs Read more
Source§

fn rounded_b_xs(self) -> Self

Sets the border radius of the bottom side of the element. Docs Read more
Source§

fn rounded_b_sm(self) -> Self

Sets the border radius of the bottom side of the element. Docs Read more
Source§

fn rounded_b_md(self) -> Self

Sets the border radius of the bottom side of the element. Docs Read more
Source§

fn rounded_b_lg(self) -> Self

Sets the border radius of the bottom side of the element. Docs Read more
Source§

fn rounded_b_xl(self) -> Self

Sets the border radius of the bottom side of the element. Docs Read more
Source§

fn rounded_b_2xl(self) -> Self

Sets the border radius of the bottom side of the element. Docs Read more
Source§

fn rounded_b_3xl(self) -> Self

Sets the border radius of the bottom side of the element. Docs Read more
Source§

fn rounded_b_full(self) -> Self

Sets the border radius of the bottom side of the element. Docs Read more
Source§

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

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

fn rounded_r_none(self) -> Self

Sets the border radius of the right side of the element. Docs Read more
Source§

fn rounded_r_xs(self) -> Self

Sets the border radius of the right side of the element. Docs Read more
Source§

fn rounded_r_sm(self) -> Self

Sets the border radius of the right side of the element. Docs Read more
Source§

fn rounded_r_md(self) -> Self

Sets the border radius of the right side of the element. Docs Read more
Source§

fn rounded_r_lg(self) -> Self

Sets the border radius of the right side of the element. Docs Read more
Source§

fn rounded_r_xl(self) -> Self

Sets the border radius of the right side of the element. Docs Read more
Source§

fn rounded_r_2xl(self) -> Self

Sets the border radius of the right side of the element. Docs Read more
Source§

fn rounded_r_3xl(self) -> Self

Sets the border radius of the right side of the element. Docs Read more
Source§

fn rounded_r_full(self) -> Self

Sets the border radius of the right side of the element. Docs Read more
Source§

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

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

fn rounded_l_none(self) -> Self

Sets the border radius of the left side of the element. Docs Read more
Source§

fn rounded_l_xs(self) -> Self

Sets the border radius of the left side of the element. Docs Read more
Source§

fn rounded_l_sm(self) -> Self

Sets the border radius of the left side of the element. Docs Read more
Source§

fn rounded_l_md(self) -> Self

Sets the border radius of the left side of the element. Docs Read more
Source§

fn rounded_l_lg(self) -> Self

Sets the border radius of the left side of the element. Docs Read more
Source§

fn rounded_l_xl(self) -> Self

Sets the border radius of the left side of the element. Docs Read more
Source§

fn rounded_l_2xl(self) -> Self

Sets the border radius of the left side of the element. Docs Read more
Source§

fn rounded_l_3xl(self) -> Self

Sets the border radius of the left side of the element. Docs Read more
Source§

fn rounded_l_full(self) -> Self

Sets the border radius of the left side of the element. Docs Read more
Source§

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

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

fn rounded_tl_none(self) -> Self

Sets the border radius of the top left corner of the element. Docs Read more
Source§

fn rounded_tl_xs(self) -> Self

Sets the border radius of the top left corner of the element. Docs Read more
Source§

fn rounded_tl_sm(self) -> Self

Sets the border radius of the top left corner of the element. Docs Read more
Source§

fn rounded_tl_md(self) -> Self

Sets the border radius of the top left corner of the element. Docs Read more
Source§

fn rounded_tl_lg(self) -> Self

Sets the border radius of the top left corner of the element. Docs Read more
Source§

fn rounded_tl_xl(self) -> Self

Sets the border radius of the top left corner of the element. Docs Read more
Source§

fn rounded_tl_2xl(self) -> Self

Sets the border radius of the top left corner of the element. Docs Read more
Source§

fn rounded_tl_3xl(self) -> Self

Sets the border radius of the top left corner of the element. Docs Read more
Source§

fn rounded_tl_full(self) -> Self

Sets the border radius of the top left corner of the element. Docs Read more
Source§

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

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

fn rounded_tr_none(self) -> Self

Sets the border radius of the top right corner of the element. Docs Read more
Source§

fn rounded_tr_xs(self) -> Self

Sets the border radius of the top right corner of the element. Docs Read more
Source§

fn rounded_tr_sm(self) -> Self

Sets the border radius of the top right corner of the element. Docs Read more
Source§

fn rounded_tr_md(self) -> Self

Sets the border radius of the top right corner of the element. Docs Read more
Source§

fn rounded_tr_lg(self) -> Self

Sets the border radius of the top right corner of the element. Docs Read more
Source§

fn rounded_tr_xl(self) -> Self

Sets the border radius of the top right corner of the element. Docs Read more
Source§

fn rounded_tr_2xl(self) -> Self

Sets the border radius of the top right corner of the element. Docs Read more
Source§

fn rounded_tr_3xl(self) -> Self

Sets the border radius of the top right corner of the element. Docs Read more
Source§

fn rounded_tr_full(self) -> Self

Sets the border radius of the top right corner of the element. Docs Read more
Source§

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

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

fn rounded_bl_none(self) -> Self

Sets the border radius of the bottom left corner of the element. Docs Read more
Source§

fn rounded_bl_xs(self) -> Self

Sets the border radius of the bottom left corner of the element. Docs Read more
Source§

fn rounded_bl_sm(self) -> Self

Sets the border radius of the bottom left corner of the element. Docs Read more
Source§

fn rounded_bl_md(self) -> Self

Sets the border radius of the bottom left corner of the element. Docs Read more
Source§

fn rounded_bl_lg(self) -> Self

Sets the border radius of the bottom left corner of the element. Docs Read more
Source§

fn rounded_bl_xl(self) -> Self

Sets the border radius of the bottom left corner of the element. Docs Read more
Source§

fn rounded_bl_2xl(self) -> Self

Sets the border radius of the bottom left corner of the element. Docs Read more
Source§

fn rounded_bl_3xl(self) -> Self

Sets the border radius of the bottom left corner of the element. Docs Read more
Source§

fn rounded_bl_full(self) -> Self

Sets the border radius of the bottom left corner of the element. Docs Read more
Source§

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

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

fn rounded_br_none(self) -> Self

Sets the border radius of the bottom right corner of the element. Docs Read more
Source§

fn rounded_br_xs(self) -> Self

Sets the border radius of the bottom right corner of the element. Docs Read more
Source§

fn rounded_br_sm(self) -> Self

Sets the border radius of the bottom right corner of the element. Docs Read more
Source§

fn rounded_br_md(self) -> Self

Sets the border radius of the bottom right corner of the element. Docs Read more
Source§

fn rounded_br_lg(self) -> Self

Sets the border radius of the bottom right corner of the element. Docs Read more
Source§

fn rounded_br_xl(self) -> Self

Sets the border radius of the bottom right corner of the element. Docs Read more
Source§

fn rounded_br_2xl(self) -> Self

Sets the border radius of the bottom right corner of the element. Docs Read more
Source§

fn rounded_br_3xl(self) -> Self

Sets the border radius of the bottom right corner of the element. Docs Read more
Source§

fn rounded_br_full(self) -> Self

Sets the border radius of the bottom right corner of the element. Docs Read more
Source§

fn rounded_smoothing_0(self) -> Self

Keeps circular corners by setting rounded corner smoothing to 0.0.
Source§

fn rounded_smoothing_0p1(self) -> Self

Sets rounded corner smoothing to 0.1.
Source§

fn rounded_smoothing_0p2(self) -> Self

Sets rounded corner smoothing to 0.2.
Source§

fn rounded_smoothing_0p3(self) -> Self

Sets rounded corner smoothing to 0.3.
Source§

fn rounded_smoothing_0p4(self) -> Self

Sets rounded corner smoothing to 0.4.
Source§

fn rounded_smoothing_0p5(self) -> Self

Sets rounded corner smoothing to 0.5.
Source§

fn rounded_smoothing_0p6(self) -> Self

Sets rounded corner smoothing to 0.6.
Source§

fn rounded_smoothing_0p7(self) -> Self

Sets rounded corner smoothing to 0.7.
Source§

fn rounded_smoothing_0p8(self) -> Self

Sets rounded corner smoothing to 0.8.
Source§

fn rounded_smoothing_0p9(self) -> Self

Sets rounded corner smoothing to 0.9.
Source§

fn rounded_smoothing_1(self) -> Self

Requests maximum rounded corner smoothing by setting it to 1.0.
Source§

fn visible(self) -> Self

Sets the visibility of the element to visible. Docs
Source§

fn invisible(self) -> Self

Sets the visibility of the element to hidden. Docs
Source§

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

Sets the margin of the element. Docs
Source§

fn m_0(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_0(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_0p5(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_0p5(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_1(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_1(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_1p5(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_1p5(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_2(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_2(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_2p5(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_2p5(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_3(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_3(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_3p5(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_3p5(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_4(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_4(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_5(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_5(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_6(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_6(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_7(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_7(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_8(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_8(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_9(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_9(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_10(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_10(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_11(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_11(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_12(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_12(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_16(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_16(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_20(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_20(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_24(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_24(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_32(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_32(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_40(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_40(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_48(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_48(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_56(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_56(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_64(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_64(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_72(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_72(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_80(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_80(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_96(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_96(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_112(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_112(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_128(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_128(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_auto(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_px(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_px(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_full(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_full(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_1_2(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_1_2(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_1_3(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_1_3(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_2_3(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_2_3(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_1_4(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_1_4(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_2_4(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_2_4(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_3_4(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_3_4(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_1_5(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_1_5(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_2_5(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_2_5(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_3_5(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_3_5(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_4_5(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_4_5(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_1_6(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_1_6(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_5_6(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_5_6(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_1_12(self) -> Self

Sets the margin of the element. Docs Read more
Source§

fn m_neg_1_12(self) -> Self

Sets the margin of the element. Docs Read more
Source§

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

Sets the top margin of the element. Docs
Source§

fn mt_0(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_0(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_0p5(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_0p5(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_1(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_1(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_1p5(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_1p5(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_2(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_2(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_2p5(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_2p5(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_3(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_3(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_3p5(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_3p5(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_4(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_4(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_5(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_5(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_6(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_6(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_7(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_7(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_8(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_8(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_9(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_9(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_10(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_10(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_11(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_11(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_12(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_12(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_16(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_16(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_20(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_20(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_24(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_24(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_32(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_32(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_40(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_40(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_48(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_48(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_56(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_56(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_64(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_64(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_72(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_72(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_80(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_80(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_96(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_96(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_112(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_112(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_128(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_128(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_auto(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_px(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_px(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_full(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_full(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_1_2(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_1_2(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_1_3(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_1_3(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_2_3(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_2_3(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_1_4(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_1_4(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_2_4(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_2_4(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_3_4(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_3_4(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_1_5(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_1_5(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_2_5(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_2_5(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_3_5(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_3_5(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_4_5(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_4_5(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_1_6(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_1_6(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_5_6(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_5_6(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_1_12(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

fn mt_neg_1_12(self) -> Self

Sets the top margin of the element. Docs Read more
Source§

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

Sets the bottom margin of the element. Docs
Source§

fn mb_0(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_0(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_0p5(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_0p5(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_1(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_1(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_1p5(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_1p5(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_2(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_2(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_2p5(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_2p5(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_3(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_3(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_3p5(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_3p5(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_4(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_4(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_5(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_5(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_6(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_6(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_7(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_7(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_8(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_8(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_9(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_9(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_10(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_10(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_11(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_11(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_12(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_12(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_16(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_16(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_20(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_20(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_24(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_24(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_32(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_32(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_40(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_40(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_48(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_48(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_56(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_56(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_64(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_64(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_72(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_72(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_80(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_80(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_96(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_96(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_112(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_112(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_128(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_128(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_auto(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_px(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_px(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_full(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_full(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_1_2(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_1_2(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_1_3(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_1_3(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_2_3(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_2_3(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_1_4(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_1_4(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_2_4(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_2_4(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_3_4(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_3_4(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_1_5(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_1_5(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_2_5(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_2_5(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_3_5(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_3_5(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_4_5(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_4_5(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_1_6(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_1_6(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_5_6(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_5_6(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_1_12(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

fn mb_neg_1_12(self) -> Self

Sets the bottom margin of the element. Docs Read more
Source§

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

Sets the vertical margin of the element. Docs
Source§

fn my_0(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_0(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_0p5(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_0p5(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_1(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_1(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_1p5(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_1p5(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_2(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_2(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_2p5(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_2p5(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_3(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_3(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_3p5(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_3p5(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_4(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_4(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_5(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_5(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_6(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_6(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_7(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_7(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_8(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_8(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_9(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_9(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_10(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_10(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_11(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_11(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_12(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_12(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_16(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_16(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_20(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_20(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_24(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_24(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_32(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_32(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_40(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_40(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_48(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_48(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_56(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_56(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_64(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_64(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_72(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_72(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_80(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_80(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_96(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_96(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_112(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_112(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_128(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_128(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_auto(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_px(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_px(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_full(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_full(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_1_2(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_1_2(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_1_3(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_1_3(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_2_3(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_2_3(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_1_4(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_1_4(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_2_4(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_2_4(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_3_4(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_3_4(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_1_5(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_1_5(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_2_5(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_2_5(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_3_5(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_3_5(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_4_5(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_4_5(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_1_6(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_1_6(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_5_6(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_5_6(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_1_12(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

fn my_neg_1_12(self) -> Self

Sets the vertical margin of the element. Docs Read more
Source§

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

Sets the horizontal margin of the element. Docs
Source§

fn mx_0(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_0(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_0p5(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_0p5(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_1(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_1(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_1p5(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_1p5(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_2(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_2(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_2p5(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_2p5(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_3(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_3(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_3p5(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_3p5(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_4(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_4(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_5(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_5(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_6(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_6(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_7(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_7(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_8(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_8(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_9(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_9(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_10(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_10(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_11(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_11(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_12(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_12(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_16(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_16(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_20(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_20(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_24(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_24(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_32(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_32(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_40(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_40(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_48(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_48(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_56(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_56(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_64(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_64(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_72(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_72(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_80(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_80(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_96(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_96(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_112(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_112(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_128(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_128(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_auto(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_px(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_px(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_full(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_full(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_1_2(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_1_2(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_1_3(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_1_3(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_2_3(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_2_3(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_1_4(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_1_4(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_2_4(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_2_4(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_3_4(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_3_4(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_1_5(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_1_5(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_2_5(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_2_5(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_3_5(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_3_5(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_4_5(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_4_5(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_1_6(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_1_6(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_5_6(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_5_6(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_1_12(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

fn mx_neg_1_12(self) -> Self

Sets the horizontal margin of the element. Docs Read more
Source§

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

Sets the left margin of the element. Docs
Source§

fn ml_0(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_0(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_0p5(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_0p5(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_1(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_1(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_1p5(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_1p5(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_2(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_2(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_2p5(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_2p5(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_3(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_3(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_3p5(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_3p5(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_4(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_4(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_5(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_5(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_6(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_6(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_7(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_7(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_8(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_8(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_9(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_9(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_10(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_10(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_11(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_11(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_12(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_12(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_16(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_16(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_20(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_20(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_24(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_24(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_32(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_32(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_40(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_40(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_48(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_48(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_56(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_56(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_64(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_64(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_72(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_72(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_80(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_80(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_96(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_96(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_112(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_112(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_128(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_128(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_auto(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_px(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_px(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_full(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_full(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_1_2(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_1_2(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_1_3(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_1_3(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_2_3(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_2_3(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_1_4(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_1_4(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_2_4(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_2_4(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_3_4(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_3_4(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_1_5(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_1_5(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_2_5(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_2_5(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_3_5(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_3_5(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_4_5(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_4_5(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_1_6(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_1_6(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_5_6(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_5_6(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_1_12(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

fn ml_neg_1_12(self) -> Self

Sets the left margin of the element. Docs Read more
Source§

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

Sets the right margin of the element. Docs
Source§

fn mr_0(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_0(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_0p5(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_0p5(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_1(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_1(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_1p5(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_1p5(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_2(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_2(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_2p5(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_2p5(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_3(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_3(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_3p5(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_3p5(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_4(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_4(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_5(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_5(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_6(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_6(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_7(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_7(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_8(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_8(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_9(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_9(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_10(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_10(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_11(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_11(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_12(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_12(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_16(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_16(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_20(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_20(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_24(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_24(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_32(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_32(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_40(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_40(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_48(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_48(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_56(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_56(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_64(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_64(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_72(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_72(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_80(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_80(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_96(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_96(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_112(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_112(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_128(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_128(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_auto(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_px(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_px(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_full(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_full(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_1_2(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_1_2(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_1_3(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_1_3(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_2_3(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_2_3(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_1_4(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_1_4(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_2_4(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_2_4(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_3_4(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_3_4(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_1_5(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_1_5(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_2_5(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_2_5(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_3_5(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_3_5(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_4_5(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_4_5(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_1_6(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_1_6(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_5_6(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_5_6(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_1_12(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

fn mr_neg_1_12(self) -> Self

Sets the right margin of the element. Docs Read more
Source§

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

Sets the padding of the element. Docs
Source§

fn p_0(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_0(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_0p5(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_0p5(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_1(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_1(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_1p5(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_1p5(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_2(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_2(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_2p5(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_2p5(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_3(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_3(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_3p5(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_3p5(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_4(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_4(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_5(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_5(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_6(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_6(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_7(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_7(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_8(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_8(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_9(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_9(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_10(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_10(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_11(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_11(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_12(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_12(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_16(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_16(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_20(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_20(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_24(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_24(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_32(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_32(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_40(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_40(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_48(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_48(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_56(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_56(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_64(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_64(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_72(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_72(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_80(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_80(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_96(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_96(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_112(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_112(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_128(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_128(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_px(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_px(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_full(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_full(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_1_2(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_1_2(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_1_3(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_1_3(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_2_3(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_2_3(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_1_4(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_1_4(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_2_4(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_2_4(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_3_4(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_3_4(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_1_5(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_1_5(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_2_5(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_2_5(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_3_5(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_3_5(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_4_5(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_4_5(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_1_6(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_1_6(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_5_6(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_5_6(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_1_12(self) -> Self

Sets the padding of the element. Docs Read more
Source§

fn p_neg_1_12(self) -> Self

Sets the padding of the element. Docs Read more
Source§

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

Sets the top padding of the element. Docs
Source§

fn pt_0(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_0(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_0p5(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_0p5(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_1(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_1(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_1p5(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_1p5(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_2(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_2(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_2p5(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_2p5(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_3(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_3(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_3p5(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_3p5(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_4(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_4(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_5(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_5(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_6(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_6(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_7(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_7(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_8(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_8(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_9(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_9(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_10(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_10(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_11(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_11(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_12(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_12(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_16(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_16(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_20(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_20(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_24(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_24(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_32(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_32(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_40(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_40(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_48(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_48(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_56(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_56(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_64(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_64(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_72(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_72(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_80(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_80(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_96(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_96(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_112(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_112(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_128(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_128(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_px(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_px(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_full(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_full(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_1_2(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_1_2(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_1_3(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_1_3(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_2_3(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_2_3(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_1_4(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_1_4(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_2_4(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_2_4(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_3_4(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_3_4(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_1_5(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_1_5(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_2_5(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_2_5(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_3_5(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_3_5(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_4_5(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_4_5(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_1_6(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_1_6(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_5_6(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_5_6(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_1_12(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

fn pt_neg_1_12(self) -> Self

Sets the top padding of the element. Docs Read more
Source§

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

Sets the bottom padding of the element. Docs
Source§

fn pb_0(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_0(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_0p5(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_0p5(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_1(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_1(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_1p5(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_1p5(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_2(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_2(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_2p5(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_2p5(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_3(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_3(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_3p5(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_3p5(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_4(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_4(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_5(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_5(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_6(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_6(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_7(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_7(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_8(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_8(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_9(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_9(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_10(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_10(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_11(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_11(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_12(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_12(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_16(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_16(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_20(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_20(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_24(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_24(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_32(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_32(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_40(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_40(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_48(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_48(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_56(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_56(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_64(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_64(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_72(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_72(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_80(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_80(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_96(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_96(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_112(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_112(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_128(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_128(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_px(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_px(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_full(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_full(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_1_2(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_1_2(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_1_3(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_1_3(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_2_3(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_2_3(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_1_4(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_1_4(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_2_4(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_2_4(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_3_4(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_3_4(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_1_5(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_1_5(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_2_5(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_2_5(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_3_5(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_3_5(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_4_5(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_4_5(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_1_6(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_1_6(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_5_6(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_5_6(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_1_12(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

fn pb_neg_1_12(self) -> Self

Sets the bottom padding of the element. Docs Read more
Source§

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

Sets the horizontal padding of the element. Docs
Source§

fn px_0(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_0(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_0p5(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_0p5(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_1(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_1(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_1p5(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_1p5(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_2(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_2(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_2p5(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_2p5(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_3(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_3(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_3p5(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_3p5(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_4(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_4(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_5(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_5(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_6(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_6(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_7(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_7(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_8(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_8(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_9(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_9(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_10(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_10(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_11(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_11(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_12(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_12(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_16(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_16(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_20(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_20(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_24(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_24(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_32(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_32(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_40(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_40(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_48(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_48(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_56(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_56(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_64(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_64(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_72(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_72(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_80(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_80(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_96(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_96(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_112(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_112(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_128(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_128(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_px(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_px(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_full(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_full(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_1_2(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_1_2(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_1_3(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_1_3(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_2_3(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_2_3(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_1_4(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_1_4(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_2_4(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_2_4(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_3_4(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_3_4(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_1_5(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_1_5(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_2_5(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_2_5(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_3_5(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_3_5(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_4_5(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_4_5(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_1_6(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_1_6(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_5_6(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_5_6(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_1_12(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

fn px_neg_1_12(self) -> Self

Sets the horizontal padding of the element. Docs Read more
Source§

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

Sets the vertical padding of the element. Docs
Source§

fn py_0(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_0(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_0p5(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_0p5(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_1(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_1(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_1p5(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_1p5(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_2(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_2(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_2p5(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_2p5(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_3(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_3(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_3p5(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_3p5(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_4(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_4(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_5(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_5(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_6(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_6(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_7(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_7(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_8(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_8(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_9(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_9(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_10(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_10(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_11(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_11(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_12(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_12(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_16(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_16(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_20(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_20(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_24(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_24(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_32(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_32(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_40(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_40(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_48(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_48(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_56(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_56(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_64(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_64(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_72(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_72(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_80(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_80(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_96(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_96(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_112(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_112(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_128(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_128(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_px(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_px(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_full(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_full(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_1_2(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_1_2(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_1_3(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_1_3(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_2_3(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_2_3(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_1_4(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_1_4(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_2_4(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_2_4(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_3_4(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_3_4(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_1_5(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_1_5(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_2_5(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_2_5(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_3_5(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_3_5(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_4_5(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_4_5(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_1_6(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_1_6(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_5_6(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_5_6(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_1_12(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

fn py_neg_1_12(self) -> Self

Sets the vertical padding of the element. Docs Read more
Source§

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

Sets the left padding of the element. Docs
Source§

fn pl_0(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_0(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_0p5(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_0p5(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_1(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_1(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_1p5(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_1p5(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_2(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_2(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_2p5(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_2p5(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_3(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_3(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_3p5(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_3p5(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_4(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_4(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_5(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_5(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_6(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_6(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_7(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_7(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_8(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_8(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_9(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_9(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_10(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_10(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_11(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_11(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_12(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_12(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_16(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_16(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_20(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_20(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_24(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_24(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_32(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_32(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_40(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_40(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_48(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_48(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_56(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_56(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_64(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_64(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_72(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_72(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_80(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_80(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_96(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_96(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_112(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_112(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_128(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_128(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_px(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_px(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_full(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_full(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_1_2(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_1_2(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_1_3(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_1_3(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_2_3(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_2_3(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_1_4(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_1_4(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_2_4(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_2_4(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_3_4(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_3_4(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_1_5(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_1_5(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_2_5(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_2_5(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_3_5(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_3_5(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_4_5(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_4_5(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_1_6(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_1_6(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_5_6(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_5_6(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_1_12(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

fn pl_neg_1_12(self) -> Self

Sets the left padding of the element. Docs Read more
Source§

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

Sets the right padding of the element. Docs
Source§

fn pr_0(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_0(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_0p5(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_0p5(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_1(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_1(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_1p5(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_1p5(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_2(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_2(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_2p5(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_2p5(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_3(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_3(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_3p5(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_3p5(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_4(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_4(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_5(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_5(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_6(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_6(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_7(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_7(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_8(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_8(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_9(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_9(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_10(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_10(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_11(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_11(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_12(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_12(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_16(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_16(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_20(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_20(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_24(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_24(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_32(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_32(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_40(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_40(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_48(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_48(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_56(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_56(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_64(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_64(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_72(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_72(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_80(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_80(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_96(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_96(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_112(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_112(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_128(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_128(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_px(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_px(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_full(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_full(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_1_2(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_1_2(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_1_3(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_1_3(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_2_3(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_2_3(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_1_4(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_1_4(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_2_4(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_2_4(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_3_4(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_3_4(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_1_5(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_1_5(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_2_5(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_2_5(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_3_5(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_3_5(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_4_5(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_4_5(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_1_6(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_1_6(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_5_6(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_5_6(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_1_12(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn pr_neg_1_12(self) -> Self

Sets the right padding of the element. Docs Read more
Source§

fn relative(self) -> Self

Sets the position of the element to relative. Docs
Source§

fn absolute(self) -> Self

Sets the position of the element to absolute. Docs
Source§

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

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

fn inset_0(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_0(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_0p5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_0p5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_1(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_1(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_1p5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_1p5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_2(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_2(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_2p5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_2p5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_3(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_3(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_3p5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_3p5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_4(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_4(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_6(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_6(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_7(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_7(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_8(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_8(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_9(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_9(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_10(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_10(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_11(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_11(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_12(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_12(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_16(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_16(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_20(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_20(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_24(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_24(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_32(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_32(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_40(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_40(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_48(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_48(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_56(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_56(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_64(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_64(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_72(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_72(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_80(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_80(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_96(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_96(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_112(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_112(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_128(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_128(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_auto(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_px(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_px(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_full(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_full(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_1_2(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_1_2(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_1_3(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_1_3(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_2_3(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_2_3(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_1_4(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_1_4(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_2_4(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_2_4(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_3_4(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_3_4(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_1_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_1_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_2_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_2_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_3_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_3_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_4_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_4_5(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_1_6(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_1_6(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_5_6(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_5_6(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_1_12(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

fn inset_neg_1_12(self) -> Self

Sets the top, right, bottom, and left values of a positioned element. Docs Read more
Source§

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

Sets the top value of a positioned element. Docs
Source§

fn top_0(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_0(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_0p5(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_0p5(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_1(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_1(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_1p5(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_1p5(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_2(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_2(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_2p5(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_2p5(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_3(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_3(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_3p5(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_3p5(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_4(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_4(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_5(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_5(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_6(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_6(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_7(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_7(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_8(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_8(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_9(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_9(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_10(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_10(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_11(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_11(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_12(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_12(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_16(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_16(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_20(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_20(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_24(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_24(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_32(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_32(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_40(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_40(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_48(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_48(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_56(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_56(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_64(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_64(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_72(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_72(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_80(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_80(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_96(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_96(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_112(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_112(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_128(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_128(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_auto(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_px(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_px(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_full(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_full(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_1_2(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_1_2(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_1_3(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_1_3(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_2_3(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_2_3(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_1_4(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_1_4(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_2_4(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_2_4(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_3_4(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_3_4(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_1_5(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_1_5(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_2_5(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_2_5(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_3_5(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_3_5(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_4_5(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_4_5(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_1_6(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_1_6(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_5_6(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_5_6(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_1_12(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

fn top_neg_1_12(self) -> Self

Sets the top value of a positioned element. Docs Read more
Source§

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

Sets the bottom value of a positioned element. Docs
Source§

fn bottom_0(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_0(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_0p5(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_0p5(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_1(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_1(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_1p5(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_1p5(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_2(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_2(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_2p5(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_2p5(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_3(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_3(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_3p5(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_3p5(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_4(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_4(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_5(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_5(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_6(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_6(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_7(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_7(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_8(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_8(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_9(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_9(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_10(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_10(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_11(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_11(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_12(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_12(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_16(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_16(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_20(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_20(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_24(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_24(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_32(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_32(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_40(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_40(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_48(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_48(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_56(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_56(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_64(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_64(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_72(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_72(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_80(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_80(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_96(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_96(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_112(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_112(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_128(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_128(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_auto(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_px(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_px(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_full(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_full(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_1_2(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_1_2(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_1_3(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_1_3(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_2_3(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_2_3(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_1_4(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_1_4(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_2_4(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_2_4(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_3_4(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_3_4(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_1_5(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_1_5(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_2_5(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_2_5(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_3_5(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_3_5(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_4_5(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_4_5(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_1_6(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_1_6(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_5_6(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_5_6(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_1_12(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

fn bottom_neg_1_12(self) -> Self

Sets the bottom value of a positioned element. Docs Read more
Source§

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

Sets the left value of a positioned element. Docs
Source§

fn left_0(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_0(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_0p5(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_0p5(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_1(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_1(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_1p5(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_1p5(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_2(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_2(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_2p5(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_2p5(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_3(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_3(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_3p5(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_3p5(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_4(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_4(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_5(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_5(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_6(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_6(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_7(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_7(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_8(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_8(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_9(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_9(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_10(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_10(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_11(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_11(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_12(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_12(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_16(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_16(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_20(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_20(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_24(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_24(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_32(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_32(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_40(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_40(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_48(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_48(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_56(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_56(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_64(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_64(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_72(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_72(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_80(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_80(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_96(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_96(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_112(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_112(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_128(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_128(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_auto(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_px(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_px(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_full(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_full(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_1_2(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_1_2(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_1_3(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_1_3(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_2_3(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_2_3(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_1_4(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_1_4(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_2_4(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_2_4(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_3_4(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_3_4(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_1_5(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_1_5(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_2_5(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_2_5(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_3_5(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_3_5(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_4_5(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_4_5(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_1_6(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_1_6(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_5_6(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_5_6(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_1_12(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

fn left_neg_1_12(self) -> Self

Sets the left value of a positioned element. Docs Read more
Source§

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

Sets the right value of a positioned element. Docs
Source§

fn right_0(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_0(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_0p5(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_0p5(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_1(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_1(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_1p5(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_1p5(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_2(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_2(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_2p5(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_2p5(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_3(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_3(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_3p5(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_3p5(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_4(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_4(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_5(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_5(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_6(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_6(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_7(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_7(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_8(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_8(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_9(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_9(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_10(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_10(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_11(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_11(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_12(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_12(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_16(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_16(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_20(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_20(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_24(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_24(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_32(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_32(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_40(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_40(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_48(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_48(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_56(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_56(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_64(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_64(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_72(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_72(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_80(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_80(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_96(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_96(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_112(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_112(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_128(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_128(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_auto(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_px(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_px(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_full(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_full(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_1_2(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_1_2(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_1_3(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_1_3(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_2_3(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_2_3(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_1_4(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_1_4(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_2_4(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_2_4(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_3_4(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_3_4(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_1_5(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_1_5(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_2_5(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_2_5(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_3_5(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_3_5(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_4_5(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_4_5(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_1_6(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_1_6(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_5_6(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_5_6(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_1_12(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn right_neg_1_12(self) -> Self

Sets the right value of a positioned element. Docs Read more
Source§

fn overflow_hidden(self) -> Self

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

fn overflow_x_hidden(self) -> Self

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

fn overflow_y_hidden(self) -> Self

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

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

Sets the cursor style when hovering over this element.
Source§

fn cursor_default(self) -> Self

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

fn cursor_pointer(self) -> Self

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

fn cursor_text(self) -> Self

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

fn cursor_move(self) -> Self

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

fn cursor_not_allowed(self) -> Self

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

fn cursor_context_menu(self) -> Self

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

fn cursor_crosshair(self) -> Self

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

fn cursor_vertical_text(self) -> Self

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

fn cursor_alias(self) -> Self

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

fn cursor_copy(self) -> Self

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

fn cursor_no_drop(self) -> Self

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

fn cursor_grab(self) -> Self

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

fn cursor_grabbing(self) -> Self

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

fn cursor_ew_resize(self) -> Self

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

fn cursor_ns_resize(self) -> Self

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

fn cursor_nesw_resize(self) -> Self

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

fn cursor_nwse_resize(self) -> Self

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

fn cursor_col_resize(self) -> Self

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

fn cursor_row_resize(self) -> Self

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

fn cursor_n_resize(self) -> Self

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

fn cursor_e_resize(self) -> Self

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

fn cursor_s_resize(self) -> Self

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

fn cursor_w_resize(self) -> Self

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

fn cursor_nw_resize(self) -> Self

Sets the upper-left resize cursor.
Source§

fn cursor_ne_resize(self) -> Self

Sets the upper-right resize cursor.
Source§

fn cursor_sw_resize(self) -> Self

Sets the lower-left resize cursor.
Source§

fn cursor_se_resize(self) -> Self

Sets the lower-right resize cursor.
Source§

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

Sets the background painted into the border of the element.
Source§

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

Sets the border width of the element. Docs
Source§

fn border_0(self) -> Self

Sets the border width of the element. Docs Read more
Source§

fn border_1(self) -> Self

Sets the border width of the element. Docs Read more
Source§

fn border_2(self) -> Self

Sets the border width of the element. Docs Read more
Source§

fn border_3(self) -> Self

Sets the border width of the element. Docs Read more
Source§

fn border_4(self) -> Self

Sets the border width of the element. Docs Read more
Source§

fn border_5(self) -> Self

Sets the border width of the element. Docs Read more
Source§

fn border_6(self) -> Self

Sets the border width of the element. Docs Read more
Source§

fn border_7(self) -> Self

Sets the border width of the element. Docs Read more
Source§

fn border_8(self) -> Self

Sets the border width of the element. Docs Read more
Source§

fn border_9(self) -> Self

Sets the border width of the element. Docs Read more
Source§

fn border_10(self) -> Self

Sets the border width of the element. Docs Read more
Source§

fn border_11(self) -> Self

Sets the border width of the element. Docs Read more
Source§

fn border_12(self) -> Self

Sets the border width of the element. Docs Read more
Source§

fn border_16(self) -> Self

Sets the border width of the element. Docs Read more
Source§

fn border_20(self) -> Self

Sets the border width of the element. Docs Read more
Source§

fn border_24(self) -> Self

Sets the border width of the element. Docs Read more
Source§

fn border_32(self) -> Self

Sets the border width of the element. Docs Read more
Source§

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

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

fn border_t_0(self) -> Self

Sets the border width of the top side of the element. Docs Read more
Source§

fn border_t_1(self) -> Self

Sets the border width of the top side of the element. Docs Read more
Source§

fn border_t_2(self) -> Self

Sets the border width of the top side of the element. Docs Read more
Source§

fn border_t_3(self) -> Self

Sets the border width of the top side of the element. Docs Read more
Source§

fn border_t_4(self) -> Self

Sets the border width of the top side of the element. Docs Read more
Source§

fn border_t_5(self) -> Self

Sets the border width of the top side of the element. Docs Read more
Source§

fn border_t_6(self) -> Self

Sets the border width of the top side of the element. Docs Read more
Source§

fn border_t_7(self) -> Self

Sets the border width of the top side of the element. Docs Read more
Source§

fn border_t_8(self) -> Self

Sets the border width of the top side of the element. Docs Read more
Source§

fn border_t_9(self) -> Self

Sets the border width of the top side of the element. Docs Read more
Source§

fn border_t_10(self) -> Self

Sets the border width of the top side of the element. Docs Read more
Source§

fn border_t_11(self) -> Self

Sets the border width of the top side of the element. Docs Read more
Source§

fn border_t_12(self) -> Self

Sets the border width of the top side of the element. Docs Read more
Source§

fn border_t_16(self) -> Self

Sets the border width of the top side of the element. Docs Read more
Source§

fn border_t_20(self) -> Self

Sets the border width of the top side of the element. Docs Read more
Source§

fn border_t_24(self) -> Self

Sets the border width of the top side of the element. Docs Read more
Source§

fn border_t_32(self) -> Self

Sets the border width of the top side of the element. Docs Read more
Source§

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

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

fn border_b_0(self) -> Self

Sets the border width of the bottom side of the element. Docs Read more
Source§

fn border_b_1(self) -> Self

Sets the border width of the bottom side of the element. Docs Read more
Source§

fn border_b_2(self) -> Self

Sets the border width of the bottom side of the element. Docs Read more
Source§

fn border_b_3(self) -> Self

Sets the border width of the bottom side of the element. Docs Read more
Source§

fn border_b_4(self) -> Self

Sets the border width of the bottom side of the element. Docs Read more
Source§

fn border_b_5(self) -> Self

Sets the border width of the bottom side of the element. Docs Read more
Source§

fn border_b_6(self) -> Self

Sets the border width of the bottom side of the element. Docs Read more
Source§

fn border_b_7(self) -> Self

Sets the border width of the bottom side of the element. Docs Read more
Source§

fn border_b_8(self) -> Self

Sets the border width of the bottom side of the element. Docs Read more
Source§

fn border_b_9(self) -> Self

Sets the border width of the bottom side of the element. Docs Read more
Source§

fn border_b_10(self) -> Self

Sets the border width of the bottom side of the element. Docs Read more
Source§

fn border_b_11(self) -> Self

Sets the border width of the bottom side of the element. Docs Read more
Source§

fn border_b_12(self) -> Self

Sets the border width of the bottom side of the element. Docs Read more
Source§

fn border_b_16(self) -> Self

Sets the border width of the bottom side of the element. Docs Read more
Source§

fn border_b_20(self) -> Self

Sets the border width of the bottom side of the element. Docs Read more
Source§

fn border_b_24(self) -> Self

Sets the border width of the bottom side of the element. Docs Read more
Source§

fn border_b_32(self) -> Self

Sets the border width of the bottom side of the element. Docs Read more
Source§

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

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

fn border_r_0(self) -> Self

Sets the border width of the right side of the element. Docs Read more
Source§

fn border_r_1(self) -> Self

Sets the border width of the right side of the element. Docs Read more
Source§

fn border_r_2(self) -> Self

Sets the border width of the right side of the element. Docs Read more
Source§

fn border_r_3(self) -> Self

Sets the border width of the right side of the element. Docs Read more
Source§

fn border_r_4(self) -> Self

Sets the border width of the right side of the element. Docs Read more
Source§

fn border_r_5(self) -> Self

Sets the border width of the right side of the element. Docs Read more
Source§

fn border_r_6(self) -> Self

Sets the border width of the right side of the element. Docs Read more
Source§

fn border_r_7(self) -> Self

Sets the border width of the right side of the element. Docs Read more
Source§

fn border_r_8(self) -> Self

Sets the border width of the right side of the element. Docs Read more
Source§

fn border_r_9(self) -> Self

Sets the border width of the right side of the element. Docs Read more
Source§

fn border_r_10(self) -> Self

Sets the border width of the right side of the element. Docs Read more
Source§

fn border_r_11(self) -> Self

Sets the border width of the right side of the element. Docs Read more
Source§

fn border_r_12(self) -> Self

Sets the border width of the right side of the element. Docs Read more
Source§

fn border_r_16(self) -> Self

Sets the border width of the right side of the element. Docs Read more
Source§

fn border_r_20(self) -> Self

Sets the border width of the right side of the element. Docs Read more
Source§

fn border_r_24(self) -> Self

Sets the border width of the right side of the element. Docs Read more
Source§

fn border_r_32(self) -> Self

Sets the border width of the right side of the element. Docs Read more
Source§

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

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

fn border_l_0(self) -> Self

Sets the border width of the left side of the element. Docs Read more
Source§

fn border_l_1(self) -> Self

Sets the border width of the left side of the element. Docs Read more
Source§

fn border_l_2(self) -> Self

Sets the border width of the left side of the element. Docs Read more
Source§

fn border_l_3(self) -> Self

Sets the border width of the left side of the element. Docs Read more
Source§

fn border_l_4(self) -> Self

Sets the border width of the left side of the element. Docs Read more
Source§

fn border_l_5(self) -> Self

Sets the border width of the left side of the element. Docs Read more
Source§

fn border_l_6(self) -> Self

Sets the border width of the left side of the element. Docs Read more
Source§

fn border_l_7(self) -> Self

Sets the border width of the left side of the element. Docs Read more
Source§

fn border_l_8(self) -> Self

Sets the border width of the left side of the element. Docs Read more
Source§

fn border_l_9(self) -> Self

Sets the border width of the left side of the element. Docs Read more
Source§

fn border_l_10(self) -> Self

Sets the border width of the left side of the element. Docs Read more
Source§

fn border_l_11(self) -> Self

Sets the border width of the left side of the element. Docs Read more
Source§

fn border_l_12(self) -> Self

Sets the border width of the left side of the element. Docs Read more
Source§

fn border_l_16(self) -> Self

Sets the border width of the left side of the element. Docs Read more
Source§

fn border_l_20(self) -> Self

Sets the border width of the left side of the element. Docs Read more
Source§

fn border_l_24(self) -> Self

Sets the border width of the left side of the element. Docs Read more
Source§

fn border_l_32(self) -> Self

Sets the border width of the left side of the element. Docs Read more
Source§

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

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

fn border_x_0(self) -> Self

Sets the border width of the vertical sides of the element. Docs Read more
Source§

fn border_x_1(self) -> Self

Sets the border width of the vertical sides of the element. Docs Read more
Source§

fn border_x_2(self) -> Self

Sets the border width of the vertical sides of the element. Docs Read more
Source§

fn border_x_3(self) -> Self

Sets the border width of the vertical sides of the element. Docs Read more
Source§

fn border_x_4(self) -> Self

Sets the border width of the vertical sides of the element. Docs Read more
Source§

fn border_x_5(self) -> Self

Sets the border width of the vertical sides of the element. Docs Read more
Source§

fn border_x_6(self) -> Self

Sets the border width of the vertical sides of the element. Docs Read more
Source§

fn border_x_7(self) -> Self

Sets the border width of the vertical sides of the element. Docs Read more
Source§

fn border_x_8(self) -> Self

Sets the border width of the vertical sides of the element. Docs Read more
Source§

fn border_x_9(self) -> Self

Sets the border width of the vertical sides of the element. Docs Read more
Source§

fn border_x_10(self) -> Self

Sets the border width of the vertical sides of the element. Docs Read more
Source§

fn border_x_11(self) -> Self

Sets the border width of the vertical sides of the element. Docs Read more
Source§

fn border_x_12(self) -> Self

Sets the border width of the vertical sides of the element. Docs Read more
Source§

fn border_x_16(self) -> Self

Sets the border width of the vertical sides of the element. Docs Read more
Source§

fn border_x_20(self) -> Self

Sets the border width of the vertical sides of the element. Docs Read more
Source§

fn border_x_24(self) -> Self

Sets the border width of the vertical sides of the element. Docs Read more
Source§

fn border_x_32(self) -> Self

Sets the border width of the vertical sides of the element. Docs Read more
Source§

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

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

fn border_y_0(self) -> Self

Sets the border width of the horizontal sides of the element. Docs Read more
Source§

fn border_y_1(self) -> Self

Sets the border width of the horizontal sides of the element. Docs Read more
Source§

fn border_y_2(self) -> Self

Sets the border width of the horizontal sides of the element. Docs Read more
Source§

fn border_y_3(self) -> Self

Sets the border width of the horizontal sides of the element. Docs Read more
Source§

fn border_y_4(self) -> Self

Sets the border width of the horizontal sides of the element. Docs Read more
Source§

fn border_y_5(self) -> Self

Sets the border width of the horizontal sides of the element. Docs Read more
Source§

fn border_y_6(self) -> Self

Sets the border width of the horizontal sides of the element. Docs Read more
Source§

fn border_y_7(self) -> Self

Sets the border width of the horizontal sides of the element. Docs Read more
Source§

fn border_y_8(self) -> Self

Sets the border width of the horizontal sides of the element. Docs Read more
Source§

fn border_y_9(self) -> Self

Sets the border width of the horizontal sides of the element. Docs Read more
Source§

fn border_y_10(self) -> Self

Sets the border width of the horizontal sides of the element. Docs Read more
Source§

fn border_y_11(self) -> Self

Sets the border width of the horizontal sides of the element. Docs Read more
Source§

fn border_y_12(self) -> Self

Sets the border width of the horizontal sides of the element. Docs Read more
Source§

fn border_y_16(self) -> Self

Sets the border width of the horizontal sides of the element. Docs Read more
Source§

fn border_y_20(self) -> Self

Sets the border width of the horizontal sides of the element. Docs Read more
Source§

fn border_y_24(self) -> Self

Sets the border width of the horizontal sides of the element. Docs Read more
Source§

fn border_y_32(self) -> Self

Sets the border width of the horizontal sides of the element. Docs Read more
Source§

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

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

fn shadow_none(self) -> Self

Clears the box shadow of the element. Docs
Source§

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

Sets the outer ring width. Docs
Source§

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

Sets the outer ring color or gradient. Docs
Source§

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

Sets the inset ring width. Docs
Source§

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

Sets the inset ring color or gradient. Docs
Source§

fn ring_0(self) -> Self

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

fn inset_ring_0(self) -> Self

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

fn ring_1(self) -> Self

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

fn inset_ring_1(self) -> Self

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

fn ring_2(self) -> Self

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

fn inset_ring_2(self) -> Self

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

fn ring_4(self) -> Self

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

fn inset_ring_4(self) -> Self

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

fn ring_8(self) -> Self

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

fn inset_ring_8(self) -> Self

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

fn shadow_2xs(self) -> Self

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

fn shadow_xs(self) -> Self

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

fn shadow_sm(self) -> Self

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

fn shadow_md(self) -> Self

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

fn shadow_lg(self) -> Self

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

fn shadow_xl(self) -> Self

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

fn shadow_2xl(self) -> Self

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

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

Applies every property set in refinement to this element’s style. Read more
Source§

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

Sets the inline direction of this element and its logical descendants. Read more
Source§

fn rtl(self) -> Self

Lays out this element and its logical descendants right to left. Read more
Source§

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

Sets how this element’s text takes part in the Unicode bidirectional algorithm. Read more
Source§

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

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

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

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

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

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

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

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

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

Sets the display type of this element. Read more
Source§

fn block(self) -> Self

Sets the display type of this element to block. Read more
Source§

fn flex(self) -> Self

Sets the display type of this element to flex. Read more
Source§

fn grid(self) -> Self

Sets the display type of this element to grid. Read more
Source§

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

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

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

Sets how this element aligns when it is placed in an inline layout. Read more
Source§

fn align_baseline(self) -> Self

Aligns this inline box with the surrounding text baseline.
Source§

fn align_middle(self) -> Self

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

fn align_top(self) -> Self

Aligns this inline box with the top of its line.
Source§

fn align_bottom(self) -> Self

Aligns this inline box with the bottom of its line.
Source§

fn hidden(self) -> Self

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

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

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

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

Fades content at the top and bottom overflow edges by the same distance. Read more
Source§

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

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

fn whitespace_normal(self) -> Self

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

fn whitespace_nowrap(self) -> Self

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

fn text_ellipsis(self) -> Self

Truncates overflowing text with an ellipsis (…) at the end. Read more
Source§

fn text_ellipsis_start(self) -> Self

Truncates overflowing text with an ellipsis (…) at the start. Read more
Source§

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

Sets how this element’s text is truncated when it overflows. Read more
Source§

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

Sets the horizontal alignment of this element’s text.
Source§

fn text_start(self) -> Self

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

fn text_end(self) -> Self

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

fn text_left(self) -> Self

Aligns text to the left edge.
Source§

fn text_center(self) -> Self

Centers text horizontally.
Source§

fn text_right(self) -> Self

Aligns text to the right edge.
Source§

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

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

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

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

fn truncate(self) -> Self

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

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

Shows at most lines lines of text, then truncates the rest. Read more
Source§

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

Sets the direction in which flex children are placed. Read more
Source§

fn flex_col(self) -> Self

Sets the flex direction to column, so children stack from top to bottom. Read more
Source§

fn flex_col_reverse(self) -> Self

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

fn flex_row(self) -> Self

Sets the flex direction to row, so children sit left to right. Read more
Source§

fn flex_row_reverse(self) -> Self

Sets the flex direction to row-reverse, so children sit right to left. Read more
Source§

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

Lets a flex child grow and shrink, starting from its natural size. Read more
Source§

fn flex_initial(self) -> Self

Lets a flex child shrink but not grow, starting from its natural size. Read more
Source§

fn flex_none(self) -> Self

Stops a flex child from growing or shrinking. Read more
Source§

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

Sets the factor by which a flex child grows to fill spare space. Read more
Source§

fn flex_grow_0(self) -> Self

Stops a flex child from growing. Read more
Source§

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

Sets the factor by which a flex child shrinks when space is short. Read more
Source§

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

Lets a flex child shrink with a factor of 1. Read more
Source§

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

Lets flex children wrap onto new lines in the reverse direction. Read more
Source§

fn flex_nowrap(self) -> Self

Stops flex children from wrapping. Inflexible children overflow the container instead. Read more
Source§

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

Aligns flex or grid children to the end of the cross axis. Read more
Source§

fn items_center(self) -> Self

Centers flex or grid children along the cross axis. Read more
Source§

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

Stretches flex or grid children to fill the cross axis. Read more
Source§

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

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

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

Aligns this flex child to the flex-relative end of the cross axis. Read more
Source§

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

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

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

Packs flex or grid children against the start of the main axis. Read more
Source§

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

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

fn justify_flex_end(self) -> Self

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

fn justify_center(self) -> Self

Centers flex or grid children along the main axis. Read more
Source§

fn justify_between(self) -> Self

Spreads children along the main axis with equal space between them. Read more
Source§

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

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

fn content_normal(self) -> Self

Clears align-content, so lines of children use their default packing. Read more
Source§

fn content_center(self) -> Self

Packs lines of children in the center of the cross axis. Read more
Source§

fn content_start(self) -> Self

Packs lines of children against the start of the cross axis. Read more
Source§

fn content_end(self) -> Self

Packs lines of children against the end of the cross axis. Read more
Source§

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

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

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

Stretches lines of children to fill the cross axis. Read more
Source§

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

Sets the width-to-height ratio of this element. Read more
Source§

fn aspect_square(self) -> Self

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

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

Sets the background of this element. Read more
Source§

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

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

Sets the gap between border dashes as a multiple of the border width. Read more
Source§

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

Sets the text color of this element. Read more
Source§

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

Sets the font width of this element and its children. Read more
Source§

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

Sets the font size of this element and its children. Read more
Source§

fn text_xs(self) -> Self

Sets the font size to 0.75rem (12px with the default 16px root size). Read more
Source§

fn text_sm(self) -> Self

Sets the font size to 0.875rem (14px with the default 16px root size). Read more
Source§

fn text_base(self) -> Self

Sets the font size to 1rem (16px with the default 16px root size). Read more
Source§

fn text_lg(self) -> Self

Sets the font size to 1.125rem (18px with the default 16px root size). Read more
Source§

fn text_xl(self) -> Self

Sets the font size to 1.25rem (20px with the default 16px root size). Read more
Source§

fn text_2xl(self) -> Self

Sets the font size to 1.5rem (24px with the default 16px root size). Read more
Source§

fn text_3xl(self) -> Self

Sets the font size to 1.875rem (30px with the default 16px root size). Read more
Source§

fn italic(self) -> Self

Sets the font style to italic. Read more
Source§

fn not_italic(self) -> Self

Sets the font style to normal, which is not italic. Read more
Source§

fn underline(self) -> Self

Underlines the text of this element with a 1px line. Read more
Source§

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

Removes an underline set earlier on this element. It can’t remove an underline inherited from a parent, and it leaves any strikethrough alone.
Source§

fn text_decoration_color(self, color: impl IntoColor<Hsla>) -> Self

Sets the color of the text decoration line. Read more
Source§

fn text_decoration_solid(self) -> Self

Sets the text decoration style to a solid line. Read more
Source§

fn text_decoration_wavy(self) -> Self

Sets the text decoration style to a wavy line. Read more
Source§

fn text_decoration_0(self) -> Self

Sets the text decoration thickness to 0px, which hides the line. Read more
Source§

fn text_decoration_1(self) -> Self

Sets the text decoration thickness to 1px. Read more
Source§

fn text_decoration_2(self) -> Self

Sets the text decoration thickness to 2px. Read more
Source§

fn text_decoration_4(self) -> Self

Sets the text decoration thickness to 4px. Read more
Source§

fn text_decoration_8(self) -> Self

Sets the text decoration thickness to 8px. Read more
Source§

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

Sets the OpenType font features of this element and its children.
Source§

fn font(self, font: Font) -> Self

Sets the font family, features, fallbacks, weight, width, and style of this element and its children. Read more
Source§

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

Sets the opacity of this element and its children, composited together as one group. Read more
Source§

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

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

Sets the number of columns with max-content sizing as the upper track size. Read more
Source§

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

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

Sets the number of rows with max-content sizing as the upper track size. Read more
Source§

fn col_start(self, start: i16) -> Self

Sets the grid column line where this element starts. Lines are numbered from 1; negative values count backward from the end of the explicit grid.
Source§

fn col_start_auto(self) -> Self

Lets the grid place this element’s start column automatically.
Source§

fn col_end(self, end: i16) -> Self

Sets the grid column line where this element ends. Lines are numbered from 1; negative values count from the end.
Source§

fn col_end_auto(self) -> Self

Lets the grid place this element’s end column automatically.
Source§

fn col_span(self, span: u16) -> Self

Makes this element span span grid columns.
Source§

fn col_span_full(self) -> Self

Makes this element span all grid columns.
Source§

fn row_start(self, start: i16) -> Self

Sets the grid row line where this element starts. Lines are numbered from 1; negative values count backward from the end of the explicit grid.
Source§

fn row_start_auto(self) -> Self

Lets the grid place this element’s start row automatically.
Source§

fn row_end(self, end: i16) -> Self

Sets the grid row line where this element ends. Lines are numbered from 1; negative values count from the end.
Source§

fn row_end_auto(self) -> Self

Lets the grid place this element’s end row automatically.
Source§

fn row_span(self, span: u16) -> Self

Makes this element span span grid rows.
Source§

fn row_span_full(self) -> Self

Makes this element span all grid rows.
Source§

fn debug(self) -> Self

Draws a debug border around this element. Read more
Source§

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

Sets how smooth the rounded corners are, from 0.0 for circular corners to 1.0 for maximum smoothing. In debug builds, values outside this range trigger an assertion.
Source§

fn rounded_smoothing_ios(self) -> Self

Sets corner smoothing to 0.6, which matches iOS-style corners.
Source§

impl StyledImage for Img

Source§

fn image_style(&mut self) -> &mut ImageStyle

Returns the ImageStyle that the methods on this trait write to.
Source§

fn grayscale(self, grayscale: bool) -> Self

Draws the image in grayscale when grayscale is true. The default is false.
Source§

fn object_fit(self, object_fit: ObjectFit) -> Self

Sets how the image fills its box. The default is ObjectFit::Contain. Read more
Source§

fn with_fallback(self, fallback: impl Fn() -> AnyElement + 'static) -> Self

Sets the closure that builds the element to show when the image fails to load. Read more
Source§

fn with_loading(self, loading: impl Fn() -> AnyElement + 'static) -> Self

Sets the closure that builds a placeholder to show while the image loads. Read more

Auto Trait Implementations§

§

impl !RefUnwindSafe for Img

§

impl !Send for Img

§

impl !Sync for Img

§

impl !UnwindSafe for Img

§

impl Freeze for Img

§

impl Unpin for Img

§

impl UnsafeUnpin for Img

Blanket Implementations§

Source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where 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) -> D
where 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

👎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 C
where T: AdaptFromUnclamped<C>,

Source§

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) -> T

Adapt a color of type Self into a color of type T, using the custom matrix M. Read more
Source§

fn adapt_into_unclamped(self) -> T
where Bradford: LmsToXyz<Self::Scalar> + XyzToLms<Self::Scalar>,

Adapt a color of type Self into a color of type T, using the Bradford matrix. Read more
Source§

impl<E> AnimationExt for E
where 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,

Renders this element with animation, passing animator the eased progress on every frame. Read more
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,

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>
where Self: Sized, T: SpringTarget, T::Output: 'static,

Renders this element at the value of a spring, passed to animator. Read more
Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T, C> ArraysFrom<C> for T
where C: IntoArrays<T>,

Source§

fn arrays_from(colors: C) -> T

Cast a collection of colors into a collection of arrays.
Source§

impl<T, C> ArraysInto<C> for T
where C: FromArrays<T>,

Source§

fn arrays_into(self) -> C

Cast this collection of arrays into a collection of colors.
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<WpParam, T, U> Cam16IntoUnclamped<WpParam, T> for U
where T: FromCam16Unclamped<WpParam, U>,

Source§

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

Converts self into C, using the provided parameters.
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T, C> ComponentsFrom<C> for T
where C: IntoComponents<T>,

Source§

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

Source§

fn components_into(self) -> C

Cast this collection of color components into a collection of colors. Read more
Source§

impl<T> FluentBuilder for T
where T: IntoElement,

Source§

fn map<U>(self, f: impl FnOnce(Self) -> U) -> U
where 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) -> Self
where 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, ) -> Self
where Self: Sized,

Calls then with self if condition is true, and else_fn with self otherwise.
Source§

fn when_some<T>( self, option: Option<T>, then: impl FnOnce(Self, T) -> Self, ) -> Self
where Self: Sized,

Calls then with self and the value inside option if the option is Some. Returns self unchanged for None.
Source§

fn when_none<T>( self, option: &Option<T>, then: impl FnOnce(Self) -> Self, ) -> Self
where Self: Sized,

Calls then with self if option is None. The option is taken by reference, so you can still use it afterward.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FromAngle<T> for T

Source§

fn from_angle(angle: T) -> T

Performs a conversion from angle.
Source§

impl<T, U> FromStimulus<U> for T
where U: IntoStimulus<T>,

Source§

fn from_stimulus(other: U) -> T

Converts other into Self, while performing the appropriate scaling, rounding and clamping.
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> IntoAngle<U> for T
where U: FromAngle<T>,

Source§

fn into_angle(self) -> U

Performs a conversion into T.
Source§

impl<WpParam, T, U> IntoCam16Unclamped<WpParam, T> for U
where T: Cam16FromUnclamped<WpParam, U>,

Source§

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

Converts self into C, using the provided parameters.
Source§

impl<T, U> IntoColor<U> for T
where U: FromColor<T>,

Source§

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 T
where U: FromColorUnclamped<T>,

Source§

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

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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 more
Source§

impl<T> IntoStimulus<T> for T

Source§

fn into_stimulus(self) -> T

Converts self into T, while performing the appropriate scaling, rounding and clamping.
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T, C> TryComponentsInto<C> for T
where C: TryFromComponents<T>,

Source§

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>

Try to cast this collection of color components into a collection of colors. Read more
Source§

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

Source§

type Error = !

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

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

Performs the conversion.
Source§

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

Source§

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

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

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

Performs the conversion.
Source§

impl<T, U> TryIntoColor<U> for T
where U: TryFromColor<T>,

Source§

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 more
Source§

impl<C, U> UintsFrom<C> for U
where C: IntoUints<U>,

Source§

fn uints_from(colors: C) -> U

Cast a collection of colors into a collection of unsigned integers.
Source§

impl<C, U> UintsInto<C> for U
where C: FromUints<U>,

Source§

fn uints_into(self) -> C

Cast this collection of unsigned integers into a collection of colors.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more