Skip to main content

View

Struct View 

Source
pub struct View(/* private fields */);
Expand description

A view (<view>), made by view.

Implementations§

Source§

impl View

Source

pub fn follow(self, target: impl IntoReactive<Option<ElementRef>>) -> Self

Its frame follows the element carrying target (a tab list’s indicator on the selected tab): along the main axis of its parent (vertical in a flex column, else horizontal) it spans that element’s frame, inside its own margins on that axis, wherever the element is inside its parent, in a list’s row too; across it, its style places it (bottom(px(0.)) and a height for an underline, top and bottom insets for a pill), so its style makes it Styled::absolute. The core places it after each layout, with no layout of its own and no JS: following another element changes its frame alone, and a layout that moves the element moves it in the same batch. Scroll views and lists in between count where they are scrolled, and it spans only the part of the element they show: outside them, it follows their scrolling a frame or so behind; in the same scroll view’s content as the element, it moves with it natively. While target is None, or no laid out element carries it (a list’s row gone, or scrolled out of view), its style alone places it; hidden (display: none) and shown again, it is placed at once. A view that follows nothing costs no work after layout.

Source

pub fn follow_transition( self, transition: impl IntoReactive<Option<LayoutTransition>>, ) -> Self

How it moves when Self::follow names another element: natively, with transition as a layout animation of its own frame alone (the rest of that commit changes at once); None (the default) jumps. Following an element for the first time, and a layout that moves it, place it at once.

Trait Implementations§

Source§

impl Accessible for View

Source§

fn accessible(self, accessible: impl IntoReactive<bool>) -> Self

Whether assistive technologies see it as one element.
Source§

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

What screen readers say.
Source§

fn optional_label(self, label: impl IntoReactive<Option<SharedString>>) -> Self

What screen readers say, while it is set (None: what its content says).
Source§

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

What happens when activated, for screen readers.
Source§

fn optional_hint(self, hint: impl IntoReactive<Option<SharedString>>) -> Self

Accessible::hint while it is set (None: none), for a component that hands the app’s optional hint on to its element.
Source§

fn accessibility_description( self, description: impl IntoReactive<SharedString>, ) -> Self

More about it than its name, which screen readers read after it (TS: accessibilityDescription; gpui-base’s aria_description): a dialog’s message, what a field expects.
Source§

fn optional_accessibility_description( self, description: impl IntoReactive<Option<SharedString>>, ) -> Self

Accessible::accessibility_description while it is set (None: none), for a component that hands the app’s optional description on to its element.
Source§

fn role(self, role: impl IntoReactive<AccessibilityRole>) -> Self

What it is (a button, a header, …).
Source§

fn accessibility_state( self, state: impl IntoReactive<AccessibilityState>, ) -> Self

Its state for screen readers (disabled follows Interactive::disabled).
Source§

fn accessibility_level(self, level: impl IntoReactive<u32>) -> Self

Its level for screen readers (TS: accessibilityLevel): a heading’s (1 the top; gpui-base’s aria_level), a tree item’s depth (1 at the top); 0 has none.
Source§

fn accessibility_orientation( self, orientation: impl IntoReactive<Option<Axis>>, ) -> Self

The list’s orientation for screen readers (ARIA’s aria-orientation, reported on the web): "horizontal" or "vertical", for a tab list or toolbar laid out along that axis; None has none.
Source§

fn accessibility_live_region( self, region: impl IntoReactive<LiveRegion>, ) -> Self

How changes of it the screen reader announces by itself (TS: accessibilityLiveRegion): TalkBack on Android, VoiceOver on macOS, the web’s aria-live, a live region on Windows; "polite" when the user is idle, "assertive" right away.
Source§

fn accessibility_active_descendant( self, target: impl IntoReactive<Option<ElementRef>>, ) -> Self

The element that is the active one while it keeps the keyboard focus, which screen readers read as it changes (TS: accessibilityActiveDescendant; ARIA’s aria-activedescendant): a combo box field’s highlighted option, the cursor row of a list that is one stop of Tab. The element may be rendered after this one (a virtualized list’s row); None, or a ref no rendered element carries, names none.
Source§

fn accessibility_controls( self, target: impl IntoReactive<Option<ElementRef>>, ) -> Self

The element whose content it controls, for assistive technologies (TS: accessibilityControls; ARIA’s aria-controls): a combo box field’s listbox. None names none.
Source§

fn accessibility_described_by( self, target: impl IntoReactive<Option<ElementRef>>, ) -> Self

The element whose text describes it, for assistive technologies (TS: accessibilityDescribedBy; ARIA’s aria-describedby): a field’s error or help line, which the app places apart from it. Screen readers read that text after the name, as they read Accessible::accessibility_description, whose place it takes while it names a rendered element with text. None names none.
Source§

fn accessibility_value( self, value: impl IntoReactive<Option<AccessibilityValue>>, ) -> Self

Its value for screen readers, for a range (a progress bar, a slider: min, max and now) or as a text; None has none (an indeterminate progress bar keeps its range and leaves out now).
Source§

fn accessibility_elements_hidden(self, hidden: impl IntoReactive<bool>) -> Self

Hides it and everything inside it from assistive technologies while hidden holds (TS: accessibilityElementsHidden): what a control shows of a value that another element of it tells screen readers already (a one-time-code input’s cells, whose text field says the code).
Source§

fn accessibility_actions( self, actions: impl IntoReactive<Vec<AccessibilityActionDef>>, ) -> Self

The actions assistive technologies offer on it (TS: accessibilityActions): increment and decrement for an adjustable element, activate, longpress, or the app’s own with a label; Interactive::on_accessibility_action hears them. Bound to signals, the labels follow them in place (the interface’s language): the element and the screen reader’s focus on it stay, and the names its handler hears do not change.
Source§

impl Clone for View

Source§

fn clone(&self) -> Self

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

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

Performs copy-assignment from source. Read more
Source§

impl Element for View

Source§

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

Identifies the element among its siblings when they are made again (a region’s, a list cell’s row; where their order changes).
Source§

fn bind_opacity(self, value: &impl Animated) -> Self

Binds opacity to an animated value (it moves natively).
Source§

fn bind_background(self, value: &impl Animated) -> Self

Binds the background color to a node of colors (super::AnimatedNode::interpolate_colors).
Source§

fn bind_border_color(self, value: &impl Animated) -> Self

Binds the color of every border side to a node of colors.
Source§

fn bind_color(self, value: &impl Animated) -> Self

Binds a text’s color (the whole text) to a node of colors.
Source§

fn bind(self, prop: AnimationProp, value: &impl Animated) -> Self

Binds prop (anything but a transform step or a canvas argument) to an animated value (nothing once the value’s owner is gone).
Source§

fn bind_sticky_top(self, value: &impl Animated) -> Self

A sticky view (super::Styled::sticky) sticks this animated value from the top of the scroll view’s viewport, following it (below a header that moves: header.add(8.0); TS: top set to an animated value).
Source§

fn bind_sticky_left(self, value: &impl Animated) -> Self

The same as Self::bind_sticky_top in a horizontal scroll view.
Source§

fn bind_transform(self, kind: TransformKind, value: &impl Animated) -> Self

Appends a transform step driven by an animated value, after the styles’ transforms.
Source§

fn bind_motion(self, motion: &Motion) -> Self

Binds a motion’s channels: its opacity, and its transform after the styles’ transforms (translations, then rotations, then the scales, scale folded into scale_x and scale_y).
Source§

fn bind_translate_x(self, value: &impl Animated) -> Self

Moves it right by an animated value (points).
Source§

fn bind_translate_y(self, value: &impl Animated) -> Self

Moves it down by an animated value (points).
Source§

fn bind_scale(self, value: &impl Animated) -> Self

Scales it by an animated value.
Source§

fn bind_rotate(self, value: &impl Animated) -> Self

Rotates it by an animated value (degrees, clockwise).
Source§

fn element_ref(self, handle: &ElementRef) -> Self

Puts handle on this element: its commands (focus, scroll_to) go here (nothing once the ref’s owner is gone).
Source§

fn inset_padding(self, insets: impl IntoReactive<EdgeInsets>) -> Self

Padding added to the element’s own (from styles): insets of system UI, a keyboard.
Source§

fn inset_margin(self, insets: impl IntoReactive<EdgeInsets>) -> Self

Margin added to the element’s own.
Source§

fn inline_style(self, style: impl IntoReactive<Style>) -> Self

An inline style the app passed (a prop of type Style, React Native’s names), over the element’s styles.
Source§

fn state_inline_style(self, style: impl Fn() -> Style + 'static) -> Self

Self::inline_style for a style that changes with the component’s own state (a popup’s popupEndingStyle over its popupStyle, Style::then): the typed styles it has at any time apply, also those it has only later.
Source§

fn selectable(self, area: impl IntoReactive<bool>) -> Self

Makes the texts in the view select together, as a browser page’s do (TSX <View selectable>): a selection runs from text to text, across views and TextViews; texts that are not selectable stay out of it (crate::selection).
Source§

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

The highlight of the selections of the texts and inputs in the view that set none of their own, as TSX’s selection:bg-* class (Tailwind’s & *::selection): the nearest view around a text that sets one decides, a text’s or an input’s own color wins. Android tints the selection handles of a selectable view (Self::selectable) and of an input in it too.
Source§

fn selection_menu(self, items: impl IntoReactive<Vec<MenuItem>>) -> Self

The app’s items of the selection menu of this selectable view (Self::selectable; TSX selectionMenu): shown after the system’s own (Copy, Select All, Look Up, Share…), which stay, in iOS’s edit menu (iOS 16 and later), Android’s floating text actions and the desktops’ secondary-click menu; the web shows the browser’s menu alone. Each item’s MenuItem::on_select runs when it is chosen; the selected text is the one Interactive::on_text_selection_change last reported. Plain items and separators only: submenus, roles, shortcuts and check marks are left out. The outermost selectable view’s items are the selection’s. Read more
Source§

fn continues_text(self, continues: impl IntoReactive<bool>) -> Self

Marks a text as the continuation of the text before it in document order: a long line a component draws as several texts, one per wrapped part (DiffView’s soft wrap). In a selectable view (Self::selectable) a copy joins the parts with nothing between them, as the one line they are, and a double or triple click selects a word or the whole line across them (crate::selection::SelectionTexts::continues). Off by default.
Source§

fn copy_text(self, text: impl IntoReactive<SharedString>) -> Self

What a copy of the text around the view gives in its place, when the view is inside a text (copyText): an inline formula’s source ($x^2$), an emoji image’s character. Selecting across the view and copying puts this where it is, as a browser copies an inline image’s alt. Unset, the view adds nothing to the copy; a view outside a text and a nested text span (whose characters are copied themselves) ignore it. Screen readers keep reading the view’s Accessible::label. Read more
Source§

fn app_class(self, class: impl IntoReactive<Option<SharedString>>) -> Self

Tailwind classes the app passed (a prop naming the classes of one of the component’s parts: classes={{ heading: "text-2xl" }}), after the element’s own styles, as the app’s class on a component’s root is: at equal rank they win.
Source§

impl Interactive for View

Source§

fn tooltip(self, tooltip: impl IntoTooltip) -> Self

A hint about it, shown above it on the desktops while the pointer rests on it (after half a second), until the pointer leaves or presses it; never on touch screens, and it never takes the pointer. The element is shown as it is; nsh_base’s Tooltip is the tooltip itself, with its own placement, delay and reports.
Source§

fn on_file_drag_enter<M>( self, listener: impl IntoListener<FileDragEvent, M>, ) -> Self

A local file drag entered this desktop drop destination. The URLs describe the offered files; their contents are not read. GTK waits for its file-list preload before reporting entry.
Source§

fn on_file_drag_leave<M>(self, listener: impl IntoListener<(), M>) -> Self

A local file drag left this desktop drop destination.
Source§

fn on_file_drop<M>(self, listener: impl IntoListener<FileDropEvent, M>) -> Self

Local files or directories were dropped on this desktop destination.
Source§

fn on_mouse_enter<M>(self, listener: impl IntoListener<MouseEvent, M>) -> Self

The mouse came over it or an element inside it (never on touches): where (the DOM’s mouseenter).
Source§

fn on_mouse_leave<M>(self, listener: impl IntoListener<MouseEvent, M>) -> Self

The mouse left it and the elements inside it, or the window: where it was last (the DOM’s mouseleave).
Source§

fn on_mouse_move<M>(self, listener: impl IntoListener<MouseEvent, M>) -> Self

The mouse moved over it (or an element inside it), with or without a button down (MouseEvent::pressed_button), or a modifier key changed while it rests there with none down: where, in it and in its root view, at most once per frame.
Source§

fn on_wheel<M>(self, listener: impl IntoListener<WheelEvent, M>) -> Self

A mouse wheel or touchpad scrolled over it (or an element inside it): by how much (WheelEvent::delta, lines or points), where and with which modifier keys. The nearest element that listens hears it; when it is nearer than any scroll view under the pointer it takes the wheel and nothing scrolls natively (a canvas zooming on Control + wheel and panning otherwise); a scroll view listening, or an element around one, only observes it.
Source§

fn on_pinch<M>(self, listener: impl IntoListener<PinchEvent, M>) -> Self

A touchpad pinch over it (or an element inside it), as GPUI’s on_pinch: by how much the scale changed since the last event (PinchEvent::delta), in which phase, where and with which modifier keys (macOS, Linux, GPUI and Safari; Windows and the other browsers report a touchpad pinch as Control + wheel, which Self::on_wheel hears). The nearest element that listens hears it; when it is nearer than any view that pinches natively it takes the pinch and nothing zooms natively; a pinch stays on the element its start went to. A pinch of fingers on a touchscreen is Self::on_pinch_start’s.
Source§

fn on_mouse_up<M>(self, listener: impl IntoListener<MouseEvent, M>) -> Self

A mouse button was released over it (or an element inside it): which button (button), where, and with the modifier keys. The primary button’s release also reports Self::on_press_up (the DOM’s mouseup).
Source§

fn on_key_down<M>(self, listener: impl IntoListener<KeyEvent, M>) -> Self

A hardware key went down on this view or a focused descendant. The event carries the source’s logical key, its physical code and the modifiers and repeat state; returning from a listener cannot change handling. KeyEvent::default_prevented reports the decision made from Self::capture_keys. Notifications bubble to enabled listening ancestors within the native window; named shortcuts keep their priority.
Source§

fn on_key_up<M>(self, listener: impl IntoListener<KeyEvent, M>) -> Self

A hardware key came up on the focused view, with the capture decision for this transition. It bubbles as Self::on_key_down does. A real release the source reports reaches the focused view even when its press went elsewhere; a window that loses the focus invents no releases.
Source§

fn capture_keys(self, capture: impl IntoReactive<KeyCapture>) -> Self

Keys consumed on this view or a focused descendant before native defaults, using mounted rules rather than a listener’s answer. The keys are canonical crate::keymap::Keystrokes, matched against the transition’s canonical shortcut stroke (the backend’s own matcher, not KeyEvent’s key or code); eligible app shortcuts and focused native inputs keep priority. Defaults to KeyCapture::None; removing the prop restores it.
Source§

fn on_context_menu<M>( self, listener: impl IntoListener<ContextMenuEvent, M>, ) -> Self

The secondary button was pressed over it (a right click, Control-click on Apple platforms): where, to open a menu at (page_x, page_y). The nearest element that listens hears it; a text input or selectable text nearer shows its own menu instead.
Source§

fn on_text_selection_change<M>( self, listener: impl IntoListener<TextSelectionEvent, M>, ) -> Self

The selection across the texts of a selectable view ([Self::selectable]) changed: the selected text, as a copy gives it, empty once nothing is selected, where it starts in the view’s whole text, the box around it in the view and in its root view, and the list items its ends are in (TSX onSelectionChange of a <View selectable>, { text, start, bounds, pageBounds, anchor, focus }). Only the outermost selectable view of an area reports it; an Input’s own selection is its on_selection_change.
Source§

fn on_focus<M>(self, listener: impl IntoListener<(), M>) -> Self

It took the keyboard focus: an input, or a view that takes presses reached by Tab (or focus()) on the platforms that move the focus between pressables.
Source§

fn on_blur<M>(self, listener: impl IntoListener<(), M>) -> Self

It lost the keyboard focus.
Source§

fn on_press<M>(self, listener: impl IntoListener<PressEvent, M>) -> Self

Handles presses: move || .., or move |e: &PressEvent| .. for where the pointer was, the modifier keys held and the click count (e.modifiers.shift for a Shift-click). A press from the keyboard or an assistive technology, and backends that do not report one, give PressEvent::default.
Source§

fn on_long_press<M>(self, listener: impl IntoListener<PressEvent, M>) -> Self

Handles presses held for about half a second.
Source§

fn on_press_down<M>(self, listener: impl IntoListener<PressEvent, M>) -> Self

A finger went down on the element.
Source§

fn on_press_up<M>(self, listener: impl IntoListener<PressEvent, M>) -> Self

The press ended, inside or outside the element.
Source§

fn on_layout<M>(self, listener: impl IntoListener<Bounds<Points>, M>) -> Self

Its frame changed (relative to its parent).
Source§

fn on_touch<M>(self, listener: impl IntoListener<TouchEvent, M>) -> Self

Touches on it or inside it, every phase (custom gestures): the elements around the finger hear them from it outwards. To have them alone, claim them (Interactive::claim_touches).
Source§

fn claim_touches(self, claim: TouchClaim) -> Self

Claims the touches of a gesture as claim says (TS: onStartShouldSetResponder, PanResponder): as the responder it hears them alone (on_responder_*), and native scroll views around it stop taking them over. Several claims may be given.
Source§

fn pan_activation(self, activation: PanActivation) -> Self

When its pans activate (TS: panActivation), decided on the main thread as the finger moves: its native pan (pan_values, on_pan_start) starts then, and only then, so a drawer’s pan that opens it to the right leaves the drags to the left to its content (PanActivation::default().direction(PanDirection::Right)), and one from the screen’s edge takes only those (PanActivation::default().edge(PanEdge::Left)). A claim on the pan (TouchClaim::on_pan) sets it too.
Source§

fn keep_touches(self, keep: bool) -> Self

As the responder, refuses to hand the touches over to an element around it that claims them (TS: onResponderTerminationRequest returning false); a native scroll view that started dragging first still takes them.
Source§

fn on_responder_grant<M>( self, listener: impl IntoListener<ResponderEvent, M>, ) -> Self

It became the responder (TS: onResponderGrant).
Source§

fn on_responder_reject<M>( self, listener: impl IntoListener<ResponderEvent, M>, ) -> Self

It claimed the touches, but the responder kept them (TS: onResponderReject).
Source§

fn on_responder_start<M>( self, listener: impl IntoListener<ResponderEvent, M>, ) -> Self

As the responder, a finger went down (the first one too, after the grant; TS: onResponderStart).
Source§

fn on_responder_move<M>( self, listener: impl IntoListener<ResponderEvent, M>, ) -> Self

As the responder, the fingers moved (TS: onResponderMove).
Source§

fn on_responder_end<M>( self, listener: impl IntoListener<ResponderEvent, M>, ) -> Self

As the responder, a finger lifted (TS: onResponderEnd).
Source§

fn on_responder_release<M>( self, listener: impl IntoListener<ResponderEvent, M>, ) -> Self

The last finger lifted: it is no longer the responder (TS: onResponderRelease).
Source§

fn on_responder_terminate<M>( self, listener: impl IntoListener<ResponderEvent, M>, ) -> Self

Another element or a native gesture took the touches over, or the system cancelled them (TS: onResponderTerminate).
Source§

fn pan_values( self, x: Option<&AnimatedValue>, y: Option<&AnimatedValue>, ) -> Self

Drags move these values natively (by the drag’s translation from where they were), with no engine work per frame; bind them to its transform to follow the finger. on_pan_end reports where they ended, to spring them on.
Source§

fn pan_enabled(self, enabled: impl IntoReactive<bool>) -> Self

Enables native pans without replacing their values or listeners. A disabled pan leaves presses and scrolling to the content.
Source§

fn pan_scroll_handoff(self, enabled: impl IntoReactive<bool>) -> Self

On iOS, a vertical pan shares descendant scroll views’ touches and follows only the downward distance left after scrolling to the top; on_pan_start waits until that distance moves its values. Other platforms keep their normal pan and scroll arbitration.
Source§

fn pinch_value(self, scale: &AnimatedValue) -> Self

Two-finger pinches scale scale natively (multiplying the value it has when the pinch starts; TS: pinch={{ scale }}); bind it to its transform (Element::bind_scale). on_pinch_start / on_pinch_end report the pinches.
Source§

fn rotation_value(self, angle: &AnimatedValue) -> Self

Two-finger rotations turn angle natively, in degrees (added to the value it has when the rotation starts; TS: rotation={{ angle }}); bind it to its transform (Element::bind_rotate).
Source§

fn on_pan_start<M>(self, listener: impl IntoListener<PanEvent, M>) -> Self

A drag started on it (the platform recognizes it).
Source§

fn on_pan_end<M>(self, listener: impl IntoListener<PanEvent, M>) -> Self

The drag ended, with its velocity.
Source§

fn on_pinch_start<M>(self, listener: impl IntoListener<GestureEvent, M>) -> Self

A pinch started (its scale).
Source§

fn on_pinch_end<M>(self, listener: impl IntoListener<GestureEvent, M>) -> Self

The pinch ended.
Source§

fn on_rotation_start<M>( self, listener: impl IntoListener<GestureEvent<Radians>, M>, ) -> Self

A two-finger rotation started (its angle).
Source§

fn on_rotation_end<M>( self, listener: impl IntoListener<GestureEvent<Radians>, M>, ) -> Self

The rotation ended.
Source§

fn on_accessibility_action<M>(self, listener: impl IntoListener<str, M>) -> Self

An assistive technology performed an action (its name).
Source§

fn on<M>( self, kind: EventKind, listener: impl IntoListener<EventPayload, M>, ) -> Self

Handles native event kind with its raw payload (the element listens to it).
Source§

fn hit_slop(self, insets: impl IntoReactive<EdgeInsets>) -> Self

Presses also count this far outside it.
Source§

fn long_press_delay(self, ms: f32) -> Self

How long a press must last to be a long press, in milliseconds.
Source§

fn ripple(self, ripple: Ripple) -> Self

The press ripple (Android).
Source§

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

The elevation shadow (Android).
Source§

fn backdrop_material(self, material: BackdropMaterial) -> Self

The system material of a backdrop blur (iOS).
Source§

fn scroll_edge_element( self, scroll_view: impl IntoReactive<Option<ElementRef>>, edge: ScrollEdge, ) -> Self

The scroll view it floats over and the edge of it it sits at (ios={{ scrollEdgeElement }}): a bottom toolbar, a floating button placed over a list. From iOS 26 the scroll edge effect of that scroll view takes its shape from what the view shows, as it does from a bar, so the content scrolled under it fades out instead of being cut by it. Elsewhere a fade the app draws under the view gives the same separation. None names none.
Source§

fn macos_backdrop( self, backdrop: impl IntoReactive<Option<MacOsBackdrop>>, ) -> Self

The native material the view draws with on macOS (macos={{ backdrop }}): an NSVisualEffectView, or none.
Source§

fn windows_backdrop( self, backdrop: impl IntoReactive<Option<WindowsBackdrop>>, ) -> Self

The system’s blur of what is behind a transparent window, under the view’s box and corners, on Windows 11 and later (windows={{ backdrop }}), or none.
Source§

fn test_id(self, id: &str) -> Self

The id UI tests find it by.
Source§

fn web_element(self, element: WebElement) -> Self

The HTML element the web draws the view as (a paragraph, a landmark, a list), for search engines and readers of the page’s markup, where role cannot say it: headings are role(AccessibilityRole::Header) with a level, links Links. The other platforms ignore it.
Source§

fn window_drag(self, enabled: impl IntoReactive<bool>) -> Self

Whether a desktop press drags the window and a double click follows the system’s title-bar behavior. The nearest explicit value wins; inputs and press/touch handlers inside a drag region stay interactive. On the native desktop backends (AppKit, Win32 and GTK), background clicks reach the app on release, including ancestor press handlers; dragging does not deliver a click. Set false on a child to exclude it from its parent’s drag region.
Source§

fn window_control(self, control: WindowControl) -> Self

Makes the view one of the system’s window buttons in a title bar the app draws (TS: desktop={{ windowControl }}): the platform hit-tests it as that button (the snap layouts over a maximize button on Windows) and carries out its press.
Source§

fn window_resize(self, edge: ResizeEdge) -> Self

Pressing the view resizes a frameless window by edge (TS: desktop={{ windowResize }}).
Source§

fn focusable(self, focusable: impl IntoReactive<bool>) -> Self

Whether the view is a stop of the keyboard focus (Tab): true makes any view one, whether or not it takes presses (a component that takes its keys while focused, through on_focus / on_blur and the keymap, without taking the presses of a pressable around it); false leaves a view that takes presses to the pointer, as a backdrop that closes a popover is. Unset, the views that take presses are stops (crate::ViewProps::focus_stop).
Source§

fn native_id(self, id: &str) -> Self

nativeID: names the view for others: inputs find an input accessory by it, and the embedding app a scroll view it watches (watchScroll).
Source§

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

Styles while pressed (native: nothing runs).
Source§

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

Styles while a pointer hovers it (iPad, Mac, mice).
Source§

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

Styles while focused.
Source§

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

Styles while focused and showing it (Tailwind’s focus-visible:; TS: focusVisibleStyle): the keyboard moved the focus there, or it is an input that edits. Focus a press gave shows Self::focus’s styles only: the ring for keyboard users goes here.
Source§

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

Styles while it or an element inside it is focused (Tailwind’s focus-within:; TS: focusWithinStyle): a field’s frame ringed while the input in it edits. An overlay’s content is inside the element the overlay is in.
Source§

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

Styles while Interactive::disabled (Tailwind’s disabled:).
Source§

fn disabled(self, disabled: impl IntoReactive<bool>) -> Self

No presses nor press feedback; screen readers say it is disabled.
Source§

fn selected_style(self, style: impl IntoReactive<Style>) -> Self

An app’s style while selected (accessibility_state selected; TS: a Button’s selectedStyle), as selected: classes apply.
Source§

fn checked_style(self, style: impl IntoReactive<Style>) -> Self

An app’s style while checked (accessibility_state checked, not mixed: a checkbox’s, a switch’s, a radio’s), as checked: classes apply.
Source§

fn indeterminate_style(self, style: impl IntoReactive<Style>) -> Self

An app’s style while indeterminate (accessibility_state checked mixed: a checkbox’s indeterminate), as indeterminate: classes apply.
Source§

fn expanded_style(self, style: impl IntoReactive<Style>) -> Self

An app’s style while expanded (accessibility_state expanded: a Popover’s or Menu’s trigger while its popup is open), as aria-expanded: classes apply.
Source§

fn pressed_style(self, style: impl IntoReactive<Style>) -> Self

An app’s style while a toggle button is on (accessibility_state pressed, not mixed), as aria-pressed: classes apply. Not .active(..), a press in progress.
Source§

fn project_checked(self, checked: impl IntoReactive<bool>) -> Self

Styles it as checked while checked holds (its checked: classes and Self::checked_style), as a part of a control that is: a switch’s track and thumb, a checkbox’s mark (gpui-base’s SwitchThumb::new(checked)). Screen readers hear it from the control alone, so the part is no second checkable element.
Source§

fn project_indeterminate(self, indeterminate: impl IntoReactive<bool>) -> Self

Styles it as indeterminate while indeterminate holds (its indeterminate: classes and Self::indeterminate_style), as a part of a control that is: a checkbox’s indicator (gpui-base’s CheckboxIndicator::state(CheckboxState::Indeterminate)). Screen readers hear it from the control alone.
Source§

fn project_disabled(self, disabled: impl IntoReactive<bool>) -> Self

Styles it as disabled while disabled holds (its disabled: classes and Self::disabled_style), as a part of a disabled control (gpui-base’s SwitchThumb::disabled). The control takes no presses and tells screen readers; the part keeps its own.
Source§

fn project_hovered(self, hovered: impl IntoReactive<bool>) -> Self

Styles it as hovered while hovered holds (its hover: classes, and the group-hover: classes inside it when it is a group), as a part whose hovers a component’s hit layer over it takes: a table’s row while the pointer is over it anywhere. Its mouse events stay the hit layer’s.
Source§

fn project_focused(self, focused: impl IntoReactive<bool>) -> Self

Styles it as focused while focused holds (its focus: classes and focus styles), as the part the keyboard is on inside a control that keeps the focus itself: the cell of a one-time-code input that takes the next character, the highlighted option of a list (NSH has no active descendant). The platform’s focus stays where it is. While the focus shows (the control’s focus-visible:) the part shows it too, so focus-visible: on it is the cursor the keyboard moves and stays off after a press.
Source§

fn project_group_active(self, group: &'static str) -> Self

Styles it as pressed while the group group around it is (its active: classes and Self::active styles), as a part of a control held down: a switch’s thumb that stretches while the switch is held. The press is the group’s as the platform reports it, the one the group’s own active: follows: it holds while the pointer is down and ends on release or cancel. Its styles change as for any other state: transition-* animates what it animates (a transform, colors, opacity), and layout (a width) changes at once. Screen readers hear nothing of it; the control takes the presses.
Source§

fn project_data(self, name: &'static str, on: impl IntoReactive<bool>) -> Self

Gives it the boolean data-* attribute name (without data-) while on holds, as Tailwind’s data-<name>: variant reads it: its data-<name>: classes apply, and with group the group-data-<name>: classes inside it (a calendar’s day at the start of a range: project_data("range-start", ..)). For what a component’s part shows beyond the states screen readers hear; the attribute tells them nothing. A view whose classes read none of its attributes sends nothing when they change.
Source§

impl IntoElement for View

Source§

fn into_element(self) -> AnyElement

As an element.
Source§

impl IntoTooltip for View

Source§

impl ParentElement for View

Source§

fn child<M>(self, child: impl IntoChild<M>) -> Self

Adds a child: an element, or the elements an Option, a Vec, an array or an iterator holds.
Source§

fn children(self, children: impl IntoIterator<Item = impl IntoElement>) -> Self

Adds children (an Option adds one or none).
Source§

fn slot( self, slot: Option<Slot>, place: impl FnOnce(SlotElement) -> SlotElement, ) -> Self

Places slot slot here when the app passed it, as place styles it (the closure gets the slot’s own node).
Source§

fn children_each<R: IntoElement>( self, children: impl Into<Children>, place: impl Fn(Child, Position) -> R + 'static, ) -> Self

Places the app’s JSX children here one by one: place(child, at) wraps each (runs again when the children change).
Source§

fn list<R: IntoElement>( self, items: Items, config: impl FnOnce(ListElement) -> ListElement, row: impl Fn(Child, Position) -> R + 'static, ) -> Self

Places the app’s virtualized list of items here: config lays the list out (size, columns, padding), row(content, at) wraps each row the app renders, once per cell (at follows the row the cell shows and the number of rows). Only rows near the viewport exist; the core recycles them.

Auto Trait Implementations§

§

impl !RefUnwindSafe for View

§

impl !Send for View

§

impl !Sync for View

§

impl !UnwindSafe for View

§

impl Forget for View

§

impl Freeze for View
where &'static str: Freeze, *const ArcInner<str> is !null: Freeze, PhantomData<ArcInner<str>>: Freeze, *const RcInner<StylePatch> is !null: Freeze, PhantomData<RcInner<StylePatch>>: Freeze, *const u8 is !null: Freeze, PhantomData<Prop>: Freeze, *const RareAttrs is !null: Freeze, PhantomData<RareAttrs>: Freeze, *const RcInner<Vec<(Variant, Declaration)>> is !null: Freeze, PhantomData<RcInner<Vec<(Variant, Declaration)>>>: Freeze, PhantomData<&'static str>: Freeze, PhantomData<Rc<dyn Fn(&mut StyleRefinement)>>: Freeze, PhantomData<(EventKind, Listener<EventPayload>)>: Freeze, *const RcInner<ResponderEl> is !null: Freeze, PhantomData<RcInner<ResponderEl>>: Freeze, PhantomData<ElNode>: Freeze, *const RcInner<dyn Fn(Child, Position) -> AnyElement> is !null: Freeze, PhantomData<RcInner<dyn Fn(Child, Position) -> AnyElement>>: Freeze, *const ListEl is !null: Freeze, PhantomData<ListEl>: Freeze, *const VirtualListEl is !null: Freeze, PhantomData<VirtualListEl>: Freeze, *const dyn AnyProps is !null: Freeze, PhantomData<dyn AnyProps>: Freeze, PhantomData<Listener<dyn Any>>: Freeze, *const (): Freeze, *const RcInner<dyn Fn() -> Vec<AnyElement>> is !null: Freeze, PhantomData<RcInner<dyn Fn() -> Vec<AnyElement>>>: Freeze, *const RcInner<dyn Fn() -> bool> is !null: Freeze, PhantomData<RcInner<dyn Fn() -> bool>>: Freeze, *const RcInner<dyn EachRows> is !null: Freeze, PhantomData<RcInner<dyn EachRows>>: Freeze, *const RcInner<dyn Fn(ComponentError, Reset) -> Vec<AnyElement>> is !null: Freeze, PhantomData<RcInner<dyn Fn(ComponentError, Reset) -> Vec<AnyElement>>>: Freeze, *const RcInner<dyn Fn() -> SharedString> is !null: Freeze, PhantomData<RcInner<dyn Fn() -> SharedString>>: Freeze, PhantomData<Rc<dyn Fn(&mut Attrs)>>: Freeze, PhantomData<Rc<dyn Fn(&mut ListConfig)>>: Freeze,

§

impl Move for View

§

impl Unpin for View
where &'static str: Unpin, Arc<str>: Unpin, Rc<StylePatch>: Unpin, *const u8 is !null: Unpin, *const LeafNode<String, Value> is !null: Unpin, Box<(String, Value)>: Unpin, Rc<dyn Any>: Unpin, Arc<Program>: Unpin, Arc<dyn Any + Send + Sync>: Unpin, Rc<Target>: Unpin, Arc<dyn AsRef<[u8]> + Send + Sync>: Unpin, Arc<Rgba>: Unpin, Arc<Value>: Unpin, Rc<ListDiff>: Unpin, Box<str>: Unpin, Box<[&'static str]>: Unpin, Rc<ClassList>: Unpin, Arc<Keymap>: Unpin, Arc<[Keystroke]>: Unpin, Arc<dyn Fn(WebResourceRequest) + Send + Sync>: Unpin, Box<RareAttrs>: Unpin, Rc<Vec<(Variant, Declaration)>>: Unpin, Rc<dyn Fn(&mut StyleRefinement)>: Unpin, Rc<dyn Fn(&EventPayload)>: Unpin, Rc<ResponderEl>: Unpin, Rc<dyn Fn(Child, Position) -> AnyElement>: Unpin, Box<ListEl>: Unpin, Box<VirtualListEl>: Unpin, Box<dyn AnyProps>: Unpin, Rc<dyn Fn(&(dyn Any + 'static))>: Unpin, *const (): Unpin, Rc<dyn Fn() -> Vec<AnyElement>>: Unpin, Rc<dyn Fn() -> bool>: Unpin, Rc<dyn EachRows>: Unpin, Rc<dyn Fn(ComponentError, Reset) -> Vec<AnyElement>>: Unpin, Rc<dyn Fn() -> SharedString>: Unpin, Rc<dyn Fn(&mut Attrs)>: Unpin, Rc<dyn Fn(&mut ListConfig)>: Unpin,

§

impl UnsafeUnpin for View
where &'static str: UnsafeUnpin, *const ArcInner<str> is !null: UnsafeUnpin, PhantomData<ArcInner<str>>: UnsafeUnpin, *const RcInner<StylePatch> is !null: UnsafeUnpin, PhantomData<RcInner<StylePatch>>: UnsafeUnpin, *const u8 is !null: UnsafeUnpin, PhantomData<Prop>: UnsafeUnpin, *const RareAttrs is !null: UnsafeUnpin, PhantomData<RareAttrs>: UnsafeUnpin, *const RcInner<Vec<(Variant, Declaration)>> is !null: UnsafeUnpin, PhantomData<RcInner<Vec<(Variant, Declaration)>>>: UnsafeUnpin, PhantomData<&'static str>: UnsafeUnpin, PhantomData<Rc<dyn Fn(&mut StyleRefinement)>>: UnsafeUnpin, PhantomData<(EventKind, Listener<EventPayload>)>: UnsafeUnpin, *const RcInner<ResponderEl> is !null: UnsafeUnpin, PhantomData<RcInner<ResponderEl>>: UnsafeUnpin, PhantomData<ElNode>: UnsafeUnpin, *const RcInner<dyn Fn(Child, Position) -> AnyElement> is !null: UnsafeUnpin, PhantomData<RcInner<dyn Fn(Child, Position) -> AnyElement>>: UnsafeUnpin, *const ListEl is !null: UnsafeUnpin, PhantomData<ListEl>: UnsafeUnpin, *const VirtualListEl is !null: UnsafeUnpin, PhantomData<VirtualListEl>: UnsafeUnpin, *const dyn AnyProps is !null: UnsafeUnpin, PhantomData<dyn AnyProps>: UnsafeUnpin, PhantomData<Listener<dyn Any>>: UnsafeUnpin, *const (): UnsafeUnpin, *const RcInner<dyn Fn() -> Vec<AnyElement>> is !null: UnsafeUnpin, PhantomData<RcInner<dyn Fn() -> Vec<AnyElement>>>: UnsafeUnpin, *const RcInner<dyn Fn() -> bool> is !null: UnsafeUnpin, PhantomData<RcInner<dyn Fn() -> bool>>: UnsafeUnpin, *const RcInner<dyn EachRows> is !null: UnsafeUnpin, PhantomData<RcInner<dyn EachRows>>: UnsafeUnpin, *const RcInner<dyn Fn(ComponentError, Reset) -> Vec<AnyElement>> is !null: UnsafeUnpin, PhantomData<RcInner<dyn Fn(ComponentError, Reset) -> Vec<AnyElement>>>: UnsafeUnpin, *const RcInner<dyn Fn() -> SharedString> is !null: UnsafeUnpin, PhantomData<RcInner<dyn Fn() -> SharedString>>: UnsafeUnpin, PhantomData<Rc<dyn Fn(&mut Attrs)>>: UnsafeUnpin, PhantomData<Rc<dyn Fn(&mut ListConfig)>>: UnsafeUnpin,

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

impl<T> FluentBuilder for T
where T: Element,

Source§

fn when(self, condition: bool, then: impl FnOnce(Self) -> Self) -> Self

then(self) when condition holds.
Source§

fn when_some<T>( self, option: Option<T>, then: impl FnOnce(Self, T) -> Self, ) -> Self

then(self, value) when option has one.
Source§

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

f(self).
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> IntoElements for T
where T: IntoElement,

Source§

fn into_elements(self) -> Vec<AnyElement>

As elements.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> Styled for T
where T: Element,

Source§

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

The styles being built.
Source§

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

Padding on all sides
Source§

fn p_0(self) -> Self

Padding on all sides: 0pt.
Source§

fn p_0p5(self) -> Self

Padding on all sides: 2pt.
Source§

fn p_1(self) -> Self

Padding on all sides: 4pt.
Source§

fn p_1p5(self) -> Self

Padding on all sides: 6pt.
Source§

fn p_2(self) -> Self

Padding on all sides: 8pt.
Source§

fn p_2p5(self) -> Self

Padding on all sides: 10pt.
Source§

fn p_3(self) -> Self

Padding on all sides: 12pt.
Source§

fn p_3p5(self) -> Self

Padding on all sides: 14pt.
Source§

fn p_4(self) -> Self

Padding on all sides: 16pt.
Source§

fn p_5(self) -> Self

Padding on all sides: 20pt.
Source§

fn p_6(self) -> Self

Padding on all sides: 24pt.
Source§

fn p_7(self) -> Self

Padding on all sides: 28pt.
Source§

fn p_8(self) -> Self

Padding on all sides: 32pt.
Source§

fn p_9(self) -> Self

Padding on all sides: 36pt.
Source§

fn p_10(self) -> Self

Padding on all sides: 40pt.
Source§

fn p_11(self) -> Self

Padding on all sides: 44pt.
Source§

fn p_12(self) -> Self

Padding on all sides: 48pt.
Source§

fn p_14(self) -> Self

Padding on all sides: 56pt.
Source§

fn p_16(self) -> Self

Padding on all sides: 64pt.
Source§

fn p_20(self) -> Self

Padding on all sides: 80pt.
Source§

fn p_24(self) -> Self

Padding on all sides: 96pt.
Source§

fn p_28(self) -> Self

Padding on all sides: 112pt.
Source§

fn p_32(self) -> Self

Padding on all sides: 128pt.
Source§

fn p_36(self) -> Self

Padding on all sides: 144pt.
Source§

fn p_40(self) -> Self

Padding on all sides: 160pt.
Source§

fn p_44(self) -> Self

Padding on all sides: 176pt.
Source§

fn p_48(self) -> Self

Padding on all sides: 192pt.
Source§

fn p_52(self) -> Self

Padding on all sides: 208pt.
Source§

fn p_56(self) -> Self

Padding on all sides: 224pt.
Source§

fn p_60(self) -> Self

Padding on all sides: 240pt.
Source§

fn p_64(self) -> Self

Padding on all sides: 256pt.
Source§

fn p_72(self) -> Self

Padding on all sides: 288pt.
Source§

fn p_80(self) -> Self

Padding on all sides: 320pt.
Source§

fn p_96(self) -> Self

Padding on all sides: 384pt.
Source§

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

Horizontal padding
Source§

fn px_0(self) -> Self

Horizontal padding: 0pt.
Source§

fn px_0p5(self) -> Self

Horizontal padding: 2pt.
Source§

fn px_1(self) -> Self

Horizontal padding: 4pt.
Source§

fn px_1p5(self) -> Self

Horizontal padding: 6pt.
Source§

fn px_2(self) -> Self

Horizontal padding: 8pt.
Source§

fn px_2p5(self) -> Self

Horizontal padding: 10pt.
Source§

fn px_3(self) -> Self

Horizontal padding: 12pt.
Source§

fn px_3p5(self) -> Self

Horizontal padding: 14pt.
Source§

fn px_4(self) -> Self

Horizontal padding: 16pt.
Source§

fn px_5(self) -> Self

Horizontal padding: 20pt.
Source§

fn px_6(self) -> Self

Horizontal padding: 24pt.
Source§

fn px_7(self) -> Self

Horizontal padding: 28pt.
Source§

fn px_8(self) -> Self

Horizontal padding: 32pt.
Source§

fn px_9(self) -> Self

Horizontal padding: 36pt.
Source§

fn px_10(self) -> Self

Horizontal padding: 40pt.
Source§

fn px_11(self) -> Self

Horizontal padding: 44pt.
Source§

fn px_12(self) -> Self

Horizontal padding: 48pt.
Source§

fn px_14(self) -> Self

Horizontal padding: 56pt.
Source§

fn px_16(self) -> Self

Horizontal padding: 64pt.
Source§

fn px_20(self) -> Self

Horizontal padding: 80pt.
Source§

fn px_24(self) -> Self

Horizontal padding: 96pt.
Source§

fn px_28(self) -> Self

Horizontal padding: 112pt.
Source§

fn px_32(self) -> Self

Horizontal padding: 128pt.
Source§

fn px_36(self) -> Self

Horizontal padding: 144pt.
Source§

fn px_40(self) -> Self

Horizontal padding: 160pt.
Source§

fn px_44(self) -> Self

Horizontal padding: 176pt.
Source§

fn px_48(self) -> Self

Horizontal padding: 192pt.
Source§

fn px_52(self) -> Self

Horizontal padding: 208pt.
Source§

fn px_56(self) -> Self

Horizontal padding: 224pt.
Source§

fn px_60(self) -> Self

Horizontal padding: 240pt.
Source§

fn px_64(self) -> Self

Horizontal padding: 256pt.
Source§

fn px_72(self) -> Self

Horizontal padding: 288pt.
Source§

fn px_80(self) -> Self

Horizontal padding: 320pt.
Source§

fn px_96(self) -> Self

Horizontal padding: 384pt.
Source§

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

Vertical padding
Source§

fn py_0(self) -> Self

Vertical padding: 0pt.
Source§

fn py_0p5(self) -> Self

Vertical padding: 2pt.
Source§

fn py_1(self) -> Self

Vertical padding: 4pt.
Source§

fn py_1p5(self) -> Self

Vertical padding: 6pt.
Source§

fn py_2(self) -> Self

Vertical padding: 8pt.
Source§

fn py_2p5(self) -> Self

Vertical padding: 10pt.
Source§

fn py_3(self) -> Self

Vertical padding: 12pt.
Source§

fn py_3p5(self) -> Self

Vertical padding: 14pt.
Source§

fn py_4(self) -> Self

Vertical padding: 16pt.
Source§

fn py_5(self) -> Self

Vertical padding: 20pt.
Source§

fn py_6(self) -> Self

Vertical padding: 24pt.
Source§

fn py_7(self) -> Self

Vertical padding: 28pt.
Source§

fn py_8(self) -> Self

Vertical padding: 32pt.
Source§

fn py_9(self) -> Self

Vertical padding: 36pt.
Source§

fn py_10(self) -> Self

Vertical padding: 40pt.
Source§

fn py_11(self) -> Self

Vertical padding: 44pt.
Source§

fn py_12(self) -> Self

Vertical padding: 48pt.
Source§

fn py_14(self) -> Self

Vertical padding: 56pt.
Source§

fn py_16(self) -> Self

Vertical padding: 64pt.
Source§

fn py_20(self) -> Self

Vertical padding: 80pt.
Source§

fn py_24(self) -> Self

Vertical padding: 96pt.
Source§

fn py_28(self) -> Self

Vertical padding: 112pt.
Source§

fn py_32(self) -> Self

Vertical padding: 128pt.
Source§

fn py_36(self) -> Self

Vertical padding: 144pt.
Source§

fn py_40(self) -> Self

Vertical padding: 160pt.
Source§

fn py_44(self) -> Self

Vertical padding: 176pt.
Source§

fn py_48(self) -> Self

Vertical padding: 192pt.
Source§

fn py_52(self) -> Self

Vertical padding: 208pt.
Source§

fn py_56(self) -> Self

Vertical padding: 224pt.
Source§

fn py_60(self) -> Self

Vertical padding: 240pt.
Source§

fn py_64(self) -> Self

Vertical padding: 256pt.
Source§

fn py_72(self) -> Self

Vertical padding: 288pt.
Source§

fn py_80(self) -> Self

Vertical padding: 320pt.
Source§

fn py_96(self) -> Self

Vertical padding: 384pt.
Source§

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

Top padding
Source§

fn pt_0(self) -> Self

Top padding: 0pt.
Source§

fn pt_0p5(self) -> Self

Top padding: 2pt.
Source§

fn pt_1(self) -> Self

Top padding: 4pt.
Source§

fn pt_1p5(self) -> Self

Top padding: 6pt.
Source§

fn pt_2(self) -> Self

Top padding: 8pt.
Source§

fn pt_2p5(self) -> Self

Top padding: 10pt.
Source§

fn pt_3(self) -> Self

Top padding: 12pt.
Source§

fn pt_3p5(self) -> Self

Top padding: 14pt.
Source§

fn pt_4(self) -> Self

Top padding: 16pt.
Source§

fn pt_5(self) -> Self

Top padding: 20pt.
Source§

fn pt_6(self) -> Self

Top padding: 24pt.
Source§

fn pt_7(self) -> Self

Top padding: 28pt.
Source§

fn pt_8(self) -> Self

Top padding: 32pt.
Source§

fn pt_9(self) -> Self

Top padding: 36pt.
Source§

fn pt_10(self) -> Self

Top padding: 40pt.
Source§

fn pt_11(self) -> Self

Top padding: 44pt.
Source§

fn pt_12(self) -> Self

Top padding: 48pt.
Source§

fn pt_14(self) -> Self

Top padding: 56pt.
Source§

fn pt_16(self) -> Self

Top padding: 64pt.
Source§

fn pt_20(self) -> Self

Top padding: 80pt.
Source§

fn pt_24(self) -> Self

Top padding: 96pt.
Source§

fn pt_28(self) -> Self

Top padding: 112pt.
Source§

fn pt_32(self) -> Self

Top padding: 128pt.
Source§

fn pt_36(self) -> Self

Top padding: 144pt.
Source§

fn pt_40(self) -> Self

Top padding: 160pt.
Source§

fn pt_44(self) -> Self

Top padding: 176pt.
Source§

fn pt_48(self) -> Self

Top padding: 192pt.
Source§

fn pt_52(self) -> Self

Top padding: 208pt.
Source§

fn pt_56(self) -> Self

Top padding: 224pt.
Source§

fn pt_60(self) -> Self

Top padding: 240pt.
Source§

fn pt_64(self) -> Self

Top padding: 256pt.
Source§

fn pt_72(self) -> Self

Top padding: 288pt.
Source§

fn pt_80(self) -> Self

Top padding: 320pt.
Source§

fn pt_96(self) -> Self

Top padding: 384pt.
Source§

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

Right padding
Source§

fn pr_0(self) -> Self

Right padding: 0pt.
Source§

fn pr_0p5(self) -> Self

Right padding: 2pt.
Source§

fn pr_1(self) -> Self

Right padding: 4pt.
Source§

fn pr_1p5(self) -> Self

Right padding: 6pt.
Source§

fn pr_2(self) -> Self

Right padding: 8pt.
Source§

fn pr_2p5(self) -> Self

Right padding: 10pt.
Source§

fn pr_3(self) -> Self

Right padding: 12pt.
Source§

fn pr_3p5(self) -> Self

Right padding: 14pt.
Source§

fn pr_4(self) -> Self

Right padding: 16pt.
Source§

fn pr_5(self) -> Self

Right padding: 20pt.
Source§

fn pr_6(self) -> Self

Right padding: 24pt.
Source§

fn pr_7(self) -> Self

Right padding: 28pt.
Source§

fn pr_8(self) -> Self

Right padding: 32pt.
Source§

fn pr_9(self) -> Self

Right padding: 36pt.
Source§

fn pr_10(self) -> Self

Right padding: 40pt.
Source§

fn pr_11(self) -> Self

Right padding: 44pt.
Source§

fn pr_12(self) -> Self

Right padding: 48pt.
Source§

fn pr_14(self) -> Self

Right padding: 56pt.
Source§

fn pr_16(self) -> Self

Right padding: 64pt.
Source§

fn pr_20(self) -> Self

Right padding: 80pt.
Source§

fn pr_24(self) -> Self

Right padding: 96pt.
Source§

fn pr_28(self) -> Self

Right padding: 112pt.
Source§

fn pr_32(self) -> Self

Right padding: 128pt.
Source§

fn pr_36(self) -> Self

Right padding: 144pt.
Source§

fn pr_40(self) -> Self

Right padding: 160pt.
Source§

fn pr_44(self) -> Self

Right padding: 176pt.
Source§

fn pr_48(self) -> Self

Right padding: 192pt.
Source§

fn pr_52(self) -> Self

Right padding: 208pt.
Source§

fn pr_56(self) -> Self

Right padding: 224pt.
Source§

fn pr_60(self) -> Self

Right padding: 240pt.
Source§

fn pr_64(self) -> Self

Right padding: 256pt.
Source§

fn pr_72(self) -> Self

Right padding: 288pt.
Source§

fn pr_80(self) -> Self

Right padding: 320pt.
Source§

fn pr_96(self) -> Self

Right padding: 384pt.
Source§

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

Bottom padding
Source§

fn pb_0(self) -> Self

Bottom padding: 0pt.
Source§

fn pb_0p5(self) -> Self

Bottom padding: 2pt.
Source§

fn pb_1(self) -> Self

Bottom padding: 4pt.
Source§

fn pb_1p5(self) -> Self

Bottom padding: 6pt.
Source§

fn pb_2(self) -> Self

Bottom padding: 8pt.
Source§

fn pb_2p5(self) -> Self

Bottom padding: 10pt.
Source§

fn pb_3(self) -> Self

Bottom padding: 12pt.
Source§

fn pb_3p5(self) -> Self

Bottom padding: 14pt.
Source§

fn pb_4(self) -> Self

Bottom padding: 16pt.
Source§

fn pb_5(self) -> Self

Bottom padding: 20pt.
Source§

fn pb_6(self) -> Self

Bottom padding: 24pt.
Source§

fn pb_7(self) -> Self

Bottom padding: 28pt.
Source§

fn pb_8(self) -> Self

Bottom padding: 32pt.
Source§

fn pb_9(self) -> Self

Bottom padding: 36pt.
Source§

fn pb_10(self) -> Self

Bottom padding: 40pt.
Source§

fn pb_11(self) -> Self

Bottom padding: 44pt.
Source§

fn pb_12(self) -> Self

Bottom padding: 48pt.
Source§

fn pb_14(self) -> Self

Bottom padding: 56pt.
Source§

fn pb_16(self) -> Self

Bottom padding: 64pt.
Source§

fn pb_20(self) -> Self

Bottom padding: 80pt.
Source§

fn pb_24(self) -> Self

Bottom padding: 96pt.
Source§

fn pb_28(self) -> Self

Bottom padding: 112pt.
Source§

fn pb_32(self) -> Self

Bottom padding: 128pt.
Source§

fn pb_36(self) -> Self

Bottom padding: 144pt.
Source§

fn pb_40(self) -> Self

Bottom padding: 160pt.
Source§

fn pb_44(self) -> Self

Bottom padding: 176pt.
Source§

fn pb_48(self) -> Self

Bottom padding: 192pt.
Source§

fn pb_52(self) -> Self

Bottom padding: 208pt.
Source§

fn pb_56(self) -> Self

Bottom padding: 224pt.
Source§

fn pb_60(self) -> Self

Bottom padding: 240pt.
Source§

fn pb_64(self) -> Self

Bottom padding: 256pt.
Source§

fn pb_72(self) -> Self

Bottom padding: 288pt.
Source§

fn pb_80(self) -> Self

Bottom padding: 320pt.
Source§

fn pb_96(self) -> Self

Bottom padding: 384pt.
Source§

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

Left padding
Source§

fn pl_0(self) -> Self

Left padding: 0pt.
Source§

fn pl_0p5(self) -> Self

Left padding: 2pt.
Source§

fn pl_1(self) -> Self

Left padding: 4pt.
Source§

fn pl_1p5(self) -> Self

Left padding: 6pt.
Source§

fn pl_2(self) -> Self

Left padding: 8pt.
Source§

fn pl_2p5(self) -> Self

Left padding: 10pt.
Source§

fn pl_3(self) -> Self

Left padding: 12pt.
Source§

fn pl_3p5(self) -> Self

Left padding: 14pt.
Source§

fn pl_4(self) -> Self

Left padding: 16pt.
Source§

fn pl_5(self) -> Self

Left padding: 20pt.
Source§

fn pl_6(self) -> Self

Left padding: 24pt.
Source§

fn pl_7(self) -> Self

Left padding: 28pt.
Source§

fn pl_8(self) -> Self

Left padding: 32pt.
Source§

fn pl_9(self) -> Self

Left padding: 36pt.
Source§

fn pl_10(self) -> Self

Left padding: 40pt.
Source§

fn pl_11(self) -> Self

Left padding: 44pt.
Source§

fn pl_12(self) -> Self

Left padding: 48pt.
Source§

fn pl_14(self) -> Self

Left padding: 56pt.
Source§

fn pl_16(self) -> Self

Left padding: 64pt.
Source§

fn pl_20(self) -> Self

Left padding: 80pt.
Source§

fn pl_24(self) -> Self

Left padding: 96pt.
Source§

fn pl_28(self) -> Self

Left padding: 112pt.
Source§

fn pl_32(self) -> Self

Left padding: 128pt.
Source§

fn pl_36(self) -> Self

Left padding: 144pt.
Source§

fn pl_40(self) -> Self

Left padding: 160pt.
Source§

fn pl_44(self) -> Self

Left padding: 176pt.
Source§

fn pl_48(self) -> Self

Left padding: 192pt.
Source§

fn pl_52(self) -> Self

Left padding: 208pt.
Source§

fn pl_56(self) -> Self

Left padding: 224pt.
Source§

fn pl_60(self) -> Self

Left padding: 240pt.
Source§

fn pl_64(self) -> Self

Left padding: 256pt.
Source§

fn pl_72(self) -> Self

Left padding: 288pt.
Source§

fn pl_80(self) -> Self

Left padding: 320pt.
Source§

fn pl_96(self) -> Self

Left padding: 384pt.
Source§

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

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

fn ps_0(self) -> Self

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

fn ps_0p5(self) -> Self

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

fn ps_1(self) -> Self

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

fn ps_1p5(self) -> Self

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

fn ps_2(self) -> Self

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

fn ps_2p5(self) -> Self

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

fn ps_3(self) -> Self

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

fn ps_3p5(self) -> Self

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

fn ps_4(self) -> Self

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

fn ps_5(self) -> Self

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

fn ps_6(self) -> Self

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

fn ps_7(self) -> Self

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

fn ps_8(self) -> Self

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

fn ps_9(self) -> Self

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

fn ps_10(self) -> Self

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

fn ps_11(self) -> Self

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

fn ps_12(self) -> Self

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

fn ps_14(self) -> Self

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

fn ps_16(self) -> Self

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

fn ps_20(self) -> Self

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

fn ps_24(self) -> Self

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

fn ps_28(self) -> Self

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

fn ps_32(self) -> Self

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

fn ps_36(self) -> Self

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

fn ps_40(self) -> Self

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

fn ps_44(self) -> Self

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

fn ps_48(self) -> Self

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

fn ps_52(self) -> Self

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

fn ps_56(self) -> Self

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

fn ps_60(self) -> Self

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

fn ps_64(self) -> Self

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

fn ps_72(self) -> Self

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

fn ps_80(self) -> Self

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

fn ps_96(self) -> Self

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

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

Trailing padding
Source§

fn pe_0(self) -> Self

Trailing padding: 0pt.
Source§

fn pe_0p5(self) -> Self

Trailing padding: 2pt.
Source§

fn pe_1(self) -> Self

Trailing padding: 4pt.
Source§

fn pe_1p5(self) -> Self

Trailing padding: 6pt.
Source§

fn pe_2(self) -> Self

Trailing padding: 8pt.
Source§

fn pe_2p5(self) -> Self

Trailing padding: 10pt.
Source§

fn pe_3(self) -> Self

Trailing padding: 12pt.
Source§

fn pe_3p5(self) -> Self

Trailing padding: 14pt.
Source§

fn pe_4(self) -> Self

Trailing padding: 16pt.
Source§

fn pe_5(self) -> Self

Trailing padding: 20pt.
Source§

fn pe_6(self) -> Self

Trailing padding: 24pt.
Source§

fn pe_7(self) -> Self

Trailing padding: 28pt.
Source§

fn pe_8(self) -> Self

Trailing padding: 32pt.
Source§

fn pe_9(self) -> Self

Trailing padding: 36pt.
Source§

fn pe_10(self) -> Self

Trailing padding: 40pt.
Source§

fn pe_11(self) -> Self

Trailing padding: 44pt.
Source§

fn pe_12(self) -> Self

Trailing padding: 48pt.
Source§

fn pe_14(self) -> Self

Trailing padding: 56pt.
Source§

fn pe_16(self) -> Self

Trailing padding: 64pt.
Source§

fn pe_20(self) -> Self

Trailing padding: 80pt.
Source§

fn pe_24(self) -> Self

Trailing padding: 96pt.
Source§

fn pe_28(self) -> Self

Trailing padding: 112pt.
Source§

fn pe_32(self) -> Self

Trailing padding: 128pt.
Source§

fn pe_36(self) -> Self

Trailing padding: 144pt.
Source§

fn pe_40(self) -> Self

Trailing padding: 160pt.
Source§

fn pe_44(self) -> Self

Trailing padding: 176pt.
Source§

fn pe_48(self) -> Self

Trailing padding: 192pt.
Source§

fn pe_52(self) -> Self

Trailing padding: 208pt.
Source§

fn pe_56(self) -> Self

Trailing padding: 224pt.
Source§

fn pe_60(self) -> Self

Trailing padding: 240pt.
Source§

fn pe_64(self) -> Self

Trailing padding: 256pt.
Source§

fn pe_72(self) -> Self

Trailing padding: 288pt.
Source§

fn pe_80(self) -> Self

Trailing padding: 320pt.
Source§

fn pe_96(self) -> Self

Trailing padding: 384pt.
Source§

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

Margin on all sides
Source§

fn m_0(self) -> Self

Margin on all sides: 0pt.
Source§

fn m_0p5(self) -> Self

Margin on all sides: 2pt.
Source§

fn m_1(self) -> Self

Margin on all sides: 4pt.
Source§

fn m_1p5(self) -> Self

Margin on all sides: 6pt.
Source§

fn m_2(self) -> Self

Margin on all sides: 8pt.
Source§

fn m_2p5(self) -> Self

Margin on all sides: 10pt.
Source§

fn m_3(self) -> Self

Margin on all sides: 12pt.
Source§

fn m_3p5(self) -> Self

Margin on all sides: 14pt.
Source§

fn m_4(self) -> Self

Margin on all sides: 16pt.
Source§

fn m_5(self) -> Self

Margin on all sides: 20pt.
Source§

fn m_6(self) -> Self

Margin on all sides: 24pt.
Source§

fn m_7(self) -> Self

Margin on all sides: 28pt.
Source§

fn m_8(self) -> Self

Margin on all sides: 32pt.
Source§

fn m_9(self) -> Self

Margin on all sides: 36pt.
Source§

fn m_10(self) -> Self

Margin on all sides: 40pt.
Source§

fn m_11(self) -> Self

Margin on all sides: 44pt.
Source§

fn m_12(self) -> Self

Margin on all sides: 48pt.
Source§

fn m_14(self) -> Self

Margin on all sides: 56pt.
Source§

fn m_16(self) -> Self

Margin on all sides: 64pt.
Source§

fn m_20(self) -> Self

Margin on all sides: 80pt.
Source§

fn m_24(self) -> Self

Margin on all sides: 96pt.
Source§

fn m_28(self) -> Self

Margin on all sides: 112pt.
Source§

fn m_32(self) -> Self

Margin on all sides: 128pt.
Source§

fn m_36(self) -> Self

Margin on all sides: 144pt.
Source§

fn m_40(self) -> Self

Margin on all sides: 160pt.
Source§

fn m_44(self) -> Self

Margin on all sides: 176pt.
Source§

fn m_48(self) -> Self

Margin on all sides: 192pt.
Source§

fn m_52(self) -> Self

Margin on all sides: 208pt.
Source§

fn m_56(self) -> Self

Margin on all sides: 224pt.
Source§

fn m_60(self) -> Self

Margin on all sides: 240pt.
Source§

fn m_64(self) -> Self

Margin on all sides: 256pt.
Source§

fn m_72(self) -> Self

Margin on all sides: 288pt.
Source§

fn m_80(self) -> Self

Margin on all sides: 320pt.
Source§

fn m_96(self) -> Self

Margin on all sides: 384pt.
Source§

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

Horizontal margin
Source§

fn mx_0(self) -> Self

Horizontal margin: 0pt.
Source§

fn mx_0p5(self) -> Self

Horizontal margin: 2pt.
Source§

fn mx_1(self) -> Self

Horizontal margin: 4pt.
Source§

fn mx_1p5(self) -> Self

Horizontal margin: 6pt.
Source§

fn mx_2(self) -> Self

Horizontal margin: 8pt.
Source§

fn mx_2p5(self) -> Self

Horizontal margin: 10pt.
Source§

fn mx_3(self) -> Self

Horizontal margin: 12pt.
Source§

fn mx_3p5(self) -> Self

Horizontal margin: 14pt.
Source§

fn mx_4(self) -> Self

Horizontal margin: 16pt.
Source§

fn mx_5(self) -> Self

Horizontal margin: 20pt.
Source§

fn mx_6(self) -> Self

Horizontal margin: 24pt.
Source§

fn mx_7(self) -> Self

Horizontal margin: 28pt.
Source§

fn mx_8(self) -> Self

Horizontal margin: 32pt.
Source§

fn mx_9(self) -> Self

Horizontal margin: 36pt.
Source§

fn mx_10(self) -> Self

Horizontal margin: 40pt.
Source§

fn mx_11(self) -> Self

Horizontal margin: 44pt.
Source§

fn mx_12(self) -> Self

Horizontal margin: 48pt.
Source§

fn mx_14(self) -> Self

Horizontal margin: 56pt.
Source§

fn mx_16(self) -> Self

Horizontal margin: 64pt.
Source§

fn mx_20(self) -> Self

Horizontal margin: 80pt.
Source§

fn mx_24(self) -> Self

Horizontal margin: 96pt.
Source§

fn mx_28(self) -> Self

Horizontal margin: 112pt.
Source§

fn mx_32(self) -> Self

Horizontal margin: 128pt.
Source§

fn mx_36(self) -> Self

Horizontal margin: 144pt.
Source§

fn mx_40(self) -> Self

Horizontal margin: 160pt.
Source§

fn mx_44(self) -> Self

Horizontal margin: 176pt.
Source§

fn mx_48(self) -> Self

Horizontal margin: 192pt.
Source§

fn mx_52(self) -> Self

Horizontal margin: 208pt.
Source§

fn mx_56(self) -> Self

Horizontal margin: 224pt.
Source§

fn mx_60(self) -> Self

Horizontal margin: 240pt.
Source§

fn mx_64(self) -> Self

Horizontal margin: 256pt.
Source§

fn mx_72(self) -> Self

Horizontal margin: 288pt.
Source§

fn mx_80(self) -> Self

Horizontal margin: 320pt.
Source§

fn mx_96(self) -> Self

Horizontal margin: 384pt.
Source§

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

Vertical margin
Source§

fn my_0(self) -> Self

Vertical margin: 0pt.
Source§

fn my_0p5(self) -> Self

Vertical margin: 2pt.
Source§

fn my_1(self) -> Self

Vertical margin: 4pt.
Source§

fn my_1p5(self) -> Self

Vertical margin: 6pt.
Source§

fn my_2(self) -> Self

Vertical margin: 8pt.
Source§

fn my_2p5(self) -> Self

Vertical margin: 10pt.
Source§

fn my_3(self) -> Self

Vertical margin: 12pt.
Source§

fn my_3p5(self) -> Self

Vertical margin: 14pt.
Source§

fn my_4(self) -> Self

Vertical margin: 16pt.
Source§

fn my_5(self) -> Self

Vertical margin: 20pt.
Source§

fn my_6(self) -> Self

Vertical margin: 24pt.
Source§

fn my_7(self) -> Self

Vertical margin: 28pt.
Source§

fn my_8(self) -> Self

Vertical margin: 32pt.
Source§

fn my_9(self) -> Self

Vertical margin: 36pt.
Source§

fn my_10(self) -> Self

Vertical margin: 40pt.
Source§

fn my_11(self) -> Self

Vertical margin: 44pt.
Source§

fn my_12(self) -> Self

Vertical margin: 48pt.
Source§

fn my_14(self) -> Self

Vertical margin: 56pt.
Source§

fn my_16(self) -> Self

Vertical margin: 64pt.
Source§

fn my_20(self) -> Self

Vertical margin: 80pt.
Source§

fn my_24(self) -> Self

Vertical margin: 96pt.
Source§

fn my_28(self) -> Self

Vertical margin: 112pt.
Source§

fn my_32(self) -> Self

Vertical margin: 128pt.
Source§

fn my_36(self) -> Self

Vertical margin: 144pt.
Source§

fn my_40(self) -> Self

Vertical margin: 160pt.
Source§

fn my_44(self) -> Self

Vertical margin: 176pt.
Source§

fn my_48(self) -> Self

Vertical margin: 192pt.
Source§

fn my_52(self) -> Self

Vertical margin: 208pt.
Source§

fn my_56(self) -> Self

Vertical margin: 224pt.
Source§

fn my_60(self) -> Self

Vertical margin: 240pt.
Source§

fn my_64(self) -> Self

Vertical margin: 256pt.
Source§

fn my_72(self) -> Self

Vertical margin: 288pt.
Source§

fn my_80(self) -> Self

Vertical margin: 320pt.
Source§

fn my_96(self) -> Self

Vertical margin: 384pt.
Source§

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

Top margin
Source§

fn mt_0(self) -> Self

Top margin: 0pt.
Source§

fn mt_0p5(self) -> Self

Top margin: 2pt.
Source§

fn mt_1(self) -> Self

Top margin: 4pt.
Source§

fn mt_1p5(self) -> Self

Top margin: 6pt.
Source§

fn mt_2(self) -> Self

Top margin: 8pt.
Source§

fn mt_2p5(self) -> Self

Top margin: 10pt.
Source§

fn mt_3(self) -> Self

Top margin: 12pt.
Source§

fn mt_3p5(self) -> Self

Top margin: 14pt.
Source§

fn mt_4(self) -> Self

Top margin: 16pt.
Source§

fn mt_5(self) -> Self

Top margin: 20pt.
Source§

fn mt_6(self) -> Self

Top margin: 24pt.
Source§

fn mt_7(self) -> Self

Top margin: 28pt.
Source§

fn mt_8(self) -> Self

Top margin: 32pt.
Source§

fn mt_9(self) -> Self

Top margin: 36pt.
Source§

fn mt_10(self) -> Self

Top margin: 40pt.
Source§

fn mt_11(self) -> Self

Top margin: 44pt.
Source§

fn mt_12(self) -> Self

Top margin: 48pt.
Source§

fn mt_14(self) -> Self

Top margin: 56pt.
Source§

fn mt_16(self) -> Self

Top margin: 64pt.
Source§

fn mt_20(self) -> Self

Top margin: 80pt.
Source§

fn mt_24(self) -> Self

Top margin: 96pt.
Source§

fn mt_28(self) -> Self

Top margin: 112pt.
Source§

fn mt_32(self) -> Self

Top margin: 128pt.
Source§

fn mt_36(self) -> Self

Top margin: 144pt.
Source§

fn mt_40(self) -> Self

Top margin: 160pt.
Source§

fn mt_44(self) -> Self

Top margin: 176pt.
Source§

fn mt_48(self) -> Self

Top margin: 192pt.
Source§

fn mt_52(self) -> Self

Top margin: 208pt.
Source§

fn mt_56(self) -> Self

Top margin: 224pt.
Source§

fn mt_60(self) -> Self

Top margin: 240pt.
Source§

fn mt_64(self) -> Self

Top margin: 256pt.
Source§

fn mt_72(self) -> Self

Top margin: 288pt.
Source§

fn mt_80(self) -> Self

Top margin: 320pt.
Source§

fn mt_96(self) -> Self

Top margin: 384pt.
Source§

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

Right margin
Source§

fn mr_0(self) -> Self

Right margin: 0pt.
Source§

fn mr_0p5(self) -> Self

Right margin: 2pt.
Source§

fn mr_1(self) -> Self

Right margin: 4pt.
Source§

fn mr_1p5(self) -> Self

Right margin: 6pt.
Source§

fn mr_2(self) -> Self

Right margin: 8pt.
Source§

fn mr_2p5(self) -> Self

Right margin: 10pt.
Source§

fn mr_3(self) -> Self

Right margin: 12pt.
Source§

fn mr_3p5(self) -> Self

Right margin: 14pt.
Source§

fn mr_4(self) -> Self

Right margin: 16pt.
Source§

fn mr_5(self) -> Self

Right margin: 20pt.
Source§

fn mr_6(self) -> Self

Right margin: 24pt.
Source§

fn mr_7(self) -> Self

Right margin: 28pt.
Source§

fn mr_8(self) -> Self

Right margin: 32pt.
Source§

fn mr_9(self) -> Self

Right margin: 36pt.
Source§

fn mr_10(self) -> Self

Right margin: 40pt.
Source§

fn mr_11(self) -> Self

Right margin: 44pt.
Source§

fn mr_12(self) -> Self

Right margin: 48pt.
Source§

fn mr_14(self) -> Self

Right margin: 56pt.
Source§

fn mr_16(self) -> Self

Right margin: 64pt.
Source§

fn mr_20(self) -> Self

Right margin: 80pt.
Source§

fn mr_24(self) -> Self

Right margin: 96pt.
Source§

fn mr_28(self) -> Self

Right margin: 112pt.
Source§

fn mr_32(self) -> Self

Right margin: 128pt.
Source§

fn mr_36(self) -> Self

Right margin: 144pt.
Source§

fn mr_40(self) -> Self

Right margin: 160pt.
Source§

fn mr_44(self) -> Self

Right margin: 176pt.
Source§

fn mr_48(self) -> Self

Right margin: 192pt.
Source§

fn mr_52(self) -> Self

Right margin: 208pt.
Source§

fn mr_56(self) -> Self

Right margin: 224pt.
Source§

fn mr_60(self) -> Self

Right margin: 240pt.
Source§

fn mr_64(self) -> Self

Right margin: 256pt.
Source§

fn mr_72(self) -> Self

Right margin: 288pt.
Source§

fn mr_80(self) -> Self

Right margin: 320pt.
Source§

fn mr_96(self) -> Self

Right margin: 384pt.
Source§

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

Bottom margin
Source§

fn mb_0(self) -> Self

Bottom margin: 0pt.
Source§

fn mb_0p5(self) -> Self

Bottom margin: 2pt.
Source§

fn mb_1(self) -> Self

Bottom margin: 4pt.
Source§

fn mb_1p5(self) -> Self

Bottom margin: 6pt.
Source§

fn mb_2(self) -> Self

Bottom margin: 8pt.
Source§

fn mb_2p5(self) -> Self

Bottom margin: 10pt.
Source§

fn mb_3(self) -> Self

Bottom margin: 12pt.
Source§

fn mb_3p5(self) -> Self

Bottom margin: 14pt.
Source§

fn mb_4(self) -> Self

Bottom margin: 16pt.
Source§

fn mb_5(self) -> Self

Bottom margin: 20pt.
Source§

fn mb_6(self) -> Self

Bottom margin: 24pt.
Source§

fn mb_7(self) -> Self

Bottom margin: 28pt.
Source§

fn mb_8(self) -> Self

Bottom margin: 32pt.
Source§

fn mb_9(self) -> Self

Bottom margin: 36pt.
Source§

fn mb_10(self) -> Self

Bottom margin: 40pt.
Source§

fn mb_11(self) -> Self

Bottom margin: 44pt.
Source§

fn mb_12(self) -> Self

Bottom margin: 48pt.
Source§

fn mb_14(self) -> Self

Bottom margin: 56pt.
Source§

fn mb_16(self) -> Self

Bottom margin: 64pt.
Source§

fn mb_20(self) -> Self

Bottom margin: 80pt.
Source§

fn mb_24(self) -> Self

Bottom margin: 96pt.
Source§

fn mb_28(self) -> Self

Bottom margin: 112pt.
Source§

fn mb_32(self) -> Self

Bottom margin: 128pt.
Source§

fn mb_36(self) -> Self

Bottom margin: 144pt.
Source§

fn mb_40(self) -> Self

Bottom margin: 160pt.
Source§

fn mb_44(self) -> Self

Bottom margin: 176pt.
Source§

fn mb_48(self) -> Self

Bottom margin: 192pt.
Source§

fn mb_52(self) -> Self

Bottom margin: 208pt.
Source§

fn mb_56(self) -> Self

Bottom margin: 224pt.
Source§

fn mb_60(self) -> Self

Bottom margin: 240pt.
Source§

fn mb_64(self) -> Self

Bottom margin: 256pt.
Source§

fn mb_72(self) -> Self

Bottom margin: 288pt.
Source§

fn mb_80(self) -> Self

Bottom margin: 320pt.
Source§

fn mb_96(self) -> Self

Bottom margin: 384pt.
Source§

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

Left margin
Source§

fn ml_0(self) -> Self

Left margin: 0pt.
Source§

fn ml_0p5(self) -> Self

Left margin: 2pt.
Source§

fn ml_1(self) -> Self

Left margin: 4pt.
Source§

fn ml_1p5(self) -> Self

Left margin: 6pt.
Source§

fn ml_2(self) -> Self

Left margin: 8pt.
Source§

fn ml_2p5(self) -> Self

Left margin: 10pt.
Source§

fn ml_3(self) -> Self

Left margin: 12pt.
Source§

fn ml_3p5(self) -> Self

Left margin: 14pt.
Source§

fn ml_4(self) -> Self

Left margin: 16pt.
Source§

fn ml_5(self) -> Self

Left margin: 20pt.
Source§

fn ml_6(self) -> Self

Left margin: 24pt.
Source§

fn ml_7(self) -> Self

Left margin: 28pt.
Source§

fn ml_8(self) -> Self

Left margin: 32pt.
Source§

fn ml_9(self) -> Self

Left margin: 36pt.
Source§

fn ml_10(self) -> Self

Left margin: 40pt.
Source§

fn ml_11(self) -> Self

Left margin: 44pt.
Source§

fn ml_12(self) -> Self

Left margin: 48pt.
Source§

fn ml_14(self) -> Self

Left margin: 56pt.
Source§

fn ml_16(self) -> Self

Left margin: 64pt.
Source§

fn ml_20(self) -> Self

Left margin: 80pt.
Source§

fn ml_24(self) -> Self

Left margin: 96pt.
Source§

fn ml_28(self) -> Self

Left margin: 112pt.
Source§

fn ml_32(self) -> Self

Left margin: 128pt.
Source§

fn ml_36(self) -> Self

Left margin: 144pt.
Source§

fn ml_40(self) -> Self

Left margin: 160pt.
Source§

fn ml_44(self) -> Self

Left margin: 176pt.
Source§

fn ml_48(self) -> Self

Left margin: 192pt.
Source§

fn ml_52(self) -> Self

Left margin: 208pt.
Source§

fn ml_56(self) -> Self

Left margin: 224pt.
Source§

fn ml_60(self) -> Self

Left margin: 240pt.
Source§

fn ml_64(self) -> Self

Left margin: 256pt.
Source§

fn ml_72(self) -> Self

Left margin: 288pt.
Source§

fn ml_80(self) -> Self

Left margin: 320pt.
Source§

fn ml_96(self) -> Self

Left margin: 384pt.
Source§

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

Leading margin
Source§

fn ms_0(self) -> Self

Leading margin: 0pt.
Source§

fn ms_0p5(self) -> Self

Leading margin: 2pt.
Source§

fn ms_1(self) -> Self

Leading margin: 4pt.
Source§

fn ms_1p5(self) -> Self

Leading margin: 6pt.
Source§

fn ms_2(self) -> Self

Leading margin: 8pt.
Source§

fn ms_2p5(self) -> Self

Leading margin: 10pt.
Source§

fn ms_3(self) -> Self

Leading margin: 12pt.
Source§

fn ms_3p5(self) -> Self

Leading margin: 14pt.
Source§

fn ms_4(self) -> Self

Leading margin: 16pt.
Source§

fn ms_5(self) -> Self

Leading margin: 20pt.
Source§

fn ms_6(self) -> Self

Leading margin: 24pt.
Source§

fn ms_7(self) -> Self

Leading margin: 28pt.
Source§

fn ms_8(self) -> Self

Leading margin: 32pt.
Source§

fn ms_9(self) -> Self

Leading margin: 36pt.
Source§

fn ms_10(self) -> Self

Leading margin: 40pt.
Source§

fn ms_11(self) -> Self

Leading margin: 44pt.
Source§

fn ms_12(self) -> Self

Leading margin: 48pt.
Source§

fn ms_14(self) -> Self

Leading margin: 56pt.
Source§

fn ms_16(self) -> Self

Leading margin: 64pt.
Source§

fn ms_20(self) -> Self

Leading margin: 80pt.
Source§

fn ms_24(self) -> Self

Leading margin: 96pt.
Source§

fn ms_28(self) -> Self

Leading margin: 112pt.
Source§

fn ms_32(self) -> Self

Leading margin: 128pt.
Source§

fn ms_36(self) -> Self

Leading margin: 144pt.
Source§

fn ms_40(self) -> Self

Leading margin: 160pt.
Source§

fn ms_44(self) -> Self

Leading margin: 176pt.
Source§

fn ms_48(self) -> Self

Leading margin: 192pt.
Source§

fn ms_52(self) -> Self

Leading margin: 208pt.
Source§

fn ms_56(self) -> Self

Leading margin: 224pt.
Source§

fn ms_60(self) -> Self

Leading margin: 240pt.
Source§

fn ms_64(self) -> Self

Leading margin: 256pt.
Source§

fn ms_72(self) -> Self

Leading margin: 288pt.
Source§

fn ms_80(self) -> Self

Leading margin: 320pt.
Source§

fn ms_96(self) -> Self

Leading margin: 384pt.
Source§

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

Trailing margin
Source§

fn me_0(self) -> Self

Trailing margin: 0pt.
Source§

fn me_0p5(self) -> Self

Trailing margin: 2pt.
Source§

fn me_1(self) -> Self

Trailing margin: 4pt.
Source§

fn me_1p5(self) -> Self

Trailing margin: 6pt.
Source§

fn me_2(self) -> Self

Trailing margin: 8pt.
Source§

fn me_2p5(self) -> Self

Trailing margin: 10pt.
Source§

fn me_3(self) -> Self

Trailing margin: 12pt.
Source§

fn me_3p5(self) -> Self

Trailing margin: 14pt.
Source§

fn me_4(self) -> Self

Trailing margin: 16pt.
Source§

fn me_5(self) -> Self

Trailing margin: 20pt.
Source§

fn me_6(self) -> Self

Trailing margin: 24pt.
Source§

fn me_7(self) -> Self

Trailing margin: 28pt.
Source§

fn me_8(self) -> Self

Trailing margin: 32pt.
Source§

fn me_9(self) -> Self

Trailing margin: 36pt.
Source§

fn me_10(self) -> Self

Trailing margin: 40pt.
Source§

fn me_11(self) -> Self

Trailing margin: 44pt.
Source§

fn me_12(self) -> Self

Trailing margin: 48pt.
Source§

fn me_14(self) -> Self

Trailing margin: 56pt.
Source§

fn me_16(self) -> Self

Trailing margin: 64pt.
Source§

fn me_20(self) -> Self

Trailing margin: 80pt.
Source§

fn me_24(self) -> Self

Trailing margin: 96pt.
Source§

fn me_28(self) -> Self

Trailing margin: 112pt.
Source§

fn me_32(self) -> Self

Trailing margin: 128pt.
Source§

fn me_36(self) -> Self

Trailing margin: 144pt.
Source§

fn me_40(self) -> Self

Trailing margin: 160pt.
Source§

fn me_44(self) -> Self

Trailing margin: 176pt.
Source§

fn me_48(self) -> Self

Trailing margin: 192pt.
Source§

fn me_52(self) -> Self

Trailing margin: 208pt.
Source§

fn me_56(self) -> Self

Trailing margin: 224pt.
Source§

fn me_60(self) -> Self

Trailing margin: 240pt.
Source§

fn me_64(self) -> Self

Trailing margin: 256pt.
Source§

fn me_72(self) -> Self

Trailing margin: 288pt.
Source§

fn me_80(self) -> Self

Trailing margin: 320pt.
Source§

fn me_96(self) -> Self

Trailing margin: 384pt.
Source§

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

Space between children
Source§

fn gap_0(self) -> Self

Space between children: 0pt.
Source§

fn gap_0p5(self) -> Self

Space between children: 2pt.
Source§

fn gap_1(self) -> Self

Space between children: 4pt.
Source§

fn gap_1p5(self) -> Self

Space between children: 6pt.
Source§

fn gap_2(self) -> Self

Space between children: 8pt.
Source§

fn gap_2p5(self) -> Self

Space between children: 10pt.
Source§

fn gap_3(self) -> Self

Space between children: 12pt.
Source§

fn gap_3p5(self) -> Self

Space between children: 14pt.
Source§

fn gap_4(self) -> Self

Space between children: 16pt.
Source§

fn gap_5(self) -> Self

Space between children: 20pt.
Source§

fn gap_6(self) -> Self

Space between children: 24pt.
Source§

fn gap_7(self) -> Self

Space between children: 28pt.
Source§

fn gap_8(self) -> Self

Space between children: 32pt.
Source§

fn gap_9(self) -> Self

Space between children: 36pt.
Source§

fn gap_10(self) -> Self

Space between children: 40pt.
Source§

fn gap_11(self) -> Self

Space between children: 44pt.
Source§

fn gap_12(self) -> Self

Space between children: 48pt.
Source§

fn gap_14(self) -> Self

Space between children: 56pt.
Source§

fn gap_16(self) -> Self

Space between children: 64pt.
Source§

fn gap_20(self) -> Self

Space between children: 80pt.
Source§

fn gap_24(self) -> Self

Space between children: 96pt.
Source§

fn gap_28(self) -> Self

Space between children: 112pt.
Source§

fn gap_32(self) -> Self

Space between children: 128pt.
Source§

fn gap_36(self) -> Self

Space between children: 144pt.
Source§

fn gap_40(self) -> Self

Space between children: 160pt.
Source§

fn gap_44(self) -> Self

Space between children: 176pt.
Source§

fn gap_48(self) -> Self

Space between children: 192pt.
Source§

fn gap_52(self) -> Self

Space between children: 208pt.
Source§

fn gap_56(self) -> Self

Space between children: 224pt.
Source§

fn gap_60(self) -> Self

Space between children: 240pt.
Source§

fn gap_64(self) -> Self

Space between children: 256pt.
Source§

fn gap_72(self) -> Self

Space between children: 288pt.
Source§

fn gap_80(self) -> Self

Space between children: 320pt.
Source§

fn gap_96(self) -> Self

Space between children: 384pt.
Source§

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

Space between columns
Source§

fn gap_x_0(self) -> Self

Space between columns: 0pt.
Source§

fn gap_x_0p5(self) -> Self

Space between columns: 2pt.
Source§

fn gap_x_1(self) -> Self

Space between columns: 4pt.
Source§

fn gap_x_1p5(self) -> Self

Space between columns: 6pt.
Source§

fn gap_x_2(self) -> Self

Space between columns: 8pt.
Source§

fn gap_x_2p5(self) -> Self

Space between columns: 10pt.
Source§

fn gap_x_3(self) -> Self

Space between columns: 12pt.
Source§

fn gap_x_3p5(self) -> Self

Space between columns: 14pt.
Source§

fn gap_x_4(self) -> Self

Space between columns: 16pt.
Source§

fn gap_x_5(self) -> Self

Space between columns: 20pt.
Source§

fn gap_x_6(self) -> Self

Space between columns: 24pt.
Source§

fn gap_x_7(self) -> Self

Space between columns: 28pt.
Source§

fn gap_x_8(self) -> Self

Space between columns: 32pt.
Source§

fn gap_x_9(self) -> Self

Space between columns: 36pt.
Source§

fn gap_x_10(self) -> Self

Space between columns: 40pt.
Source§

fn gap_x_11(self) -> Self

Space between columns: 44pt.
Source§

fn gap_x_12(self) -> Self

Space between columns: 48pt.
Source§

fn gap_x_14(self) -> Self

Space between columns: 56pt.
Source§

fn gap_x_16(self) -> Self

Space between columns: 64pt.
Source§

fn gap_x_20(self) -> Self

Space between columns: 80pt.
Source§

fn gap_x_24(self) -> Self

Space between columns: 96pt.
Source§

fn gap_x_28(self) -> Self

Space between columns: 112pt.
Source§

fn gap_x_32(self) -> Self

Space between columns: 128pt.
Source§

fn gap_x_36(self) -> Self

Space between columns: 144pt.
Source§

fn gap_x_40(self) -> Self

Space between columns: 160pt.
Source§

fn gap_x_44(self) -> Self

Space between columns: 176pt.
Source§

fn gap_x_48(self) -> Self

Space between columns: 192pt.
Source§

fn gap_x_52(self) -> Self

Space between columns: 208pt.
Source§

fn gap_x_56(self) -> Self

Space between columns: 224pt.
Source§

fn gap_x_60(self) -> Self

Space between columns: 240pt.
Source§

fn gap_x_64(self) -> Self

Space between columns: 256pt.
Source§

fn gap_x_72(self) -> Self

Space between columns: 288pt.
Source§

fn gap_x_80(self) -> Self

Space between columns: 320pt.
Source§

fn gap_x_96(self) -> Self

Space between columns: 384pt.
Source§

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

Space between rows
Source§

fn gap_y_0(self) -> Self

Space between rows: 0pt.
Source§

fn gap_y_0p5(self) -> Self

Space between rows: 2pt.
Source§

fn gap_y_1(self) -> Self

Space between rows: 4pt.
Source§

fn gap_y_1p5(self) -> Self

Space between rows: 6pt.
Source§

fn gap_y_2(self) -> Self

Space between rows: 8pt.
Source§

fn gap_y_2p5(self) -> Self

Space between rows: 10pt.
Source§

fn gap_y_3(self) -> Self

Space between rows: 12pt.
Source§

fn gap_y_3p5(self) -> Self

Space between rows: 14pt.
Source§

fn gap_y_4(self) -> Self

Space between rows: 16pt.
Source§

fn gap_y_5(self) -> Self

Space between rows: 20pt.
Source§

fn gap_y_6(self) -> Self

Space between rows: 24pt.
Source§

fn gap_y_7(self) -> Self

Space between rows: 28pt.
Source§

fn gap_y_8(self) -> Self

Space between rows: 32pt.
Source§

fn gap_y_9(self) -> Self

Space between rows: 36pt.
Source§

fn gap_y_10(self) -> Self

Space between rows: 40pt.
Source§

fn gap_y_11(self) -> Self

Space between rows: 44pt.
Source§

fn gap_y_12(self) -> Self

Space between rows: 48pt.
Source§

fn gap_y_14(self) -> Self

Space between rows: 56pt.
Source§

fn gap_y_16(self) -> Self

Space between rows: 64pt.
Source§

fn gap_y_20(self) -> Self

Space between rows: 80pt.
Source§

fn gap_y_24(self) -> Self

Space between rows: 96pt.
Source§

fn gap_y_28(self) -> Self

Space between rows: 112pt.
Source§

fn gap_y_32(self) -> Self

Space between rows: 128pt.
Source§

fn gap_y_36(self) -> Self

Space between rows: 144pt.
Source§

fn gap_y_40(self) -> Self

Space between rows: 160pt.
Source§

fn gap_y_44(self) -> Self

Space between rows: 176pt.
Source§

fn gap_y_48(self) -> Self

Space between rows: 192pt.
Source§

fn gap_y_52(self) -> Self

Space between rows: 208pt.
Source§

fn gap_y_56(self) -> Self

Space between rows: 224pt.
Source§

fn gap_y_60(self) -> Self

Space between rows: 240pt.
Source§

fn gap_y_64(self) -> Self

Space between rows: 256pt.
Source§

fn gap_y_72(self) -> Self

Space between rows: 288pt.
Source§

fn gap_y_80(self) -> Self

Space between rows: 320pt.
Source§

fn gap_y_96(self) -> Self

Space between rows: 384pt.
Source§

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

Width
Source§

fn w_0(self) -> Self

Width: 0pt.
Source§

fn w_0p5(self) -> Self

Width: 2pt.
Source§

fn w_1(self) -> Self

Width: 4pt.
Source§

fn w_1p5(self) -> Self

Width: 6pt.
Source§

fn w_2(self) -> Self

Width: 8pt.
Source§

fn w_2p5(self) -> Self

Width: 10pt.
Source§

fn w_3(self) -> Self

Width: 12pt.
Source§

fn w_3p5(self) -> Self

Width: 14pt.
Source§

fn w_4(self) -> Self

Width: 16pt.
Source§

fn w_5(self) -> Self

Width: 20pt.
Source§

fn w_6(self) -> Self

Width: 24pt.
Source§

fn w_7(self) -> Self

Width: 28pt.
Source§

fn w_8(self) -> Self

Width: 32pt.
Source§

fn w_9(self) -> Self

Width: 36pt.
Source§

fn w_10(self) -> Self

Width: 40pt.
Source§

fn w_11(self) -> Self

Width: 44pt.
Source§

fn w_12(self) -> Self

Width: 48pt.
Source§

fn w_14(self) -> Self

Width: 56pt.
Source§

fn w_16(self) -> Self

Width: 64pt.
Source§

fn w_20(self) -> Self

Width: 80pt.
Source§

fn w_24(self) -> Self

Width: 96pt.
Source§

fn w_28(self) -> Self

Width: 112pt.
Source§

fn w_32(self) -> Self

Width: 128pt.
Source§

fn w_36(self) -> Self

Width: 144pt.
Source§

fn w_40(self) -> Self

Width: 160pt.
Source§

fn w_44(self) -> Self

Width: 176pt.
Source§

fn w_48(self) -> Self

Width: 192pt.
Source§

fn w_52(self) -> Self

Width: 208pt.
Source§

fn w_56(self) -> Self

Width: 224pt.
Source§

fn w_60(self) -> Self

Width: 240pt.
Source§

fn w_64(self) -> Self

Width: 256pt.
Source§

fn w_72(self) -> Self

Width: 288pt.
Source§

fn w_80(self) -> Self

Width: 320pt.
Source§

fn w_96(self) -> Self

Width: 384pt.
Source§

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

Height
Source§

fn h_0(self) -> Self

Height: 0pt.
Source§

fn h_0p5(self) -> Self

Height: 2pt.
Source§

fn h_1(self) -> Self

Height: 4pt.
Source§

fn h_1p5(self) -> Self

Height: 6pt.
Source§

fn h_2(self) -> Self

Height: 8pt.
Source§

fn h_2p5(self) -> Self

Height: 10pt.
Source§

fn h_3(self) -> Self

Height: 12pt.
Source§

fn h_3p5(self) -> Self

Height: 14pt.
Source§

fn h_4(self) -> Self

Height: 16pt.
Source§

fn h_5(self) -> Self

Height: 20pt.
Source§

fn h_6(self) -> Self

Height: 24pt.
Source§

fn h_7(self) -> Self

Height: 28pt.
Source§

fn h_8(self) -> Self

Height: 32pt.
Source§

fn h_9(self) -> Self

Height: 36pt.
Source§

fn h_10(self) -> Self

Height: 40pt.
Source§

fn h_11(self) -> Self

Height: 44pt.
Source§

fn h_12(self) -> Self

Height: 48pt.
Source§

fn h_14(self) -> Self

Height: 56pt.
Source§

fn h_16(self) -> Self

Height: 64pt.
Source§

fn h_20(self) -> Self

Height: 80pt.
Source§

fn h_24(self) -> Self

Height: 96pt.
Source§

fn h_28(self) -> Self

Height: 112pt.
Source§

fn h_32(self) -> Self

Height: 128pt.
Source§

fn h_36(self) -> Self

Height: 144pt.
Source§

fn h_40(self) -> Self

Height: 160pt.
Source§

fn h_44(self) -> Self

Height: 176pt.
Source§

fn h_48(self) -> Self

Height: 192pt.
Source§

fn h_52(self) -> Self

Height: 208pt.
Source§

fn h_56(self) -> Self

Height: 224pt.
Source§

fn h_60(self) -> Self

Height: 240pt.
Source§

fn h_64(self) -> Self

Height: 256pt.
Source§

fn h_72(self) -> Self

Height: 288pt.
Source§

fn h_80(self) -> Self

Height: 320pt.
Source§

fn h_96(self) -> Self

Height: 384pt.
Source§

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

Width and height
Source§

fn size_0(self) -> Self

Width and height: 0pt.
Source§

fn size_0p5(self) -> Self

Width and height: 2pt.
Source§

fn size_1(self) -> Self

Width and height: 4pt.
Source§

fn size_1p5(self) -> Self

Width and height: 6pt.
Source§

fn size_2(self) -> Self

Width and height: 8pt.
Source§

fn size_2p5(self) -> Self

Width and height: 10pt.
Source§

fn size_3(self) -> Self

Width and height: 12pt.
Source§

fn size_3p5(self) -> Self

Width and height: 14pt.
Source§

fn size_4(self) -> Self

Width and height: 16pt.
Source§

fn size_5(self) -> Self

Width and height: 20pt.
Source§

fn size_6(self) -> Self

Width and height: 24pt.
Source§

fn size_7(self) -> Self

Width and height: 28pt.
Source§

fn size_8(self) -> Self

Width and height: 32pt.
Source§

fn size_9(self) -> Self

Width and height: 36pt.
Source§

fn size_10(self) -> Self

Width and height: 40pt.
Source§

fn size_11(self) -> Self

Width and height: 44pt.
Source§

fn size_12(self) -> Self

Width and height: 48pt.
Source§

fn size_14(self) -> Self

Width and height: 56pt.
Source§

fn size_16(self) -> Self

Width and height: 64pt.
Source§

fn size_20(self) -> Self

Width and height: 80pt.
Source§

fn size_24(self) -> Self

Width and height: 96pt.
Source§

fn size_28(self) -> Self

Width and height: 112pt.
Source§

fn size_32(self) -> Self

Width and height: 128pt.
Source§

fn size_36(self) -> Self

Width and height: 144pt.
Source§

fn size_40(self) -> Self

Width and height: 160pt.
Source§

fn size_44(self) -> Self

Width and height: 176pt.
Source§

fn size_48(self) -> Self

Width and height: 192pt.
Source§

fn size_52(self) -> Self

Width and height: 208pt.
Source§

fn size_56(self) -> Self

Width and height: 224pt.
Source§

fn size_60(self) -> Self

Width and height: 240pt.
Source§

fn size_64(self) -> Self

Width and height: 256pt.
Source§

fn size_72(self) -> Self

Width and height: 288pt.
Source§

fn size_80(self) -> Self

Width and height: 320pt.
Source§

fn size_96(self) -> Self

Width and height: 384pt.
Source§

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

Minimum width
Source§

fn min_w_0(self) -> Self

Minimum width: 0pt.
Source§

fn min_w_0p5(self) -> Self

Minimum width: 2pt.
Source§

fn min_w_1(self) -> Self

Minimum width: 4pt.
Source§

fn min_w_1p5(self) -> Self

Minimum width: 6pt.
Source§

fn min_w_2(self) -> Self

Minimum width: 8pt.
Source§

fn min_w_2p5(self) -> Self

Minimum width: 10pt.
Source§

fn min_w_3(self) -> Self

Minimum width: 12pt.
Source§

fn min_w_3p5(self) -> Self

Minimum width: 14pt.
Source§

fn min_w_4(self) -> Self

Minimum width: 16pt.
Source§

fn min_w_5(self) -> Self

Minimum width: 20pt.
Source§

fn min_w_6(self) -> Self

Minimum width: 24pt.
Source§

fn min_w_7(self) -> Self

Minimum width: 28pt.
Source§

fn min_w_8(self) -> Self

Minimum width: 32pt.
Source§

fn min_w_9(self) -> Self

Minimum width: 36pt.
Source§

fn min_w_10(self) -> Self

Minimum width: 40pt.
Source§

fn min_w_11(self) -> Self

Minimum width: 44pt.
Source§

fn min_w_12(self) -> Self

Minimum width: 48pt.
Source§

fn min_w_14(self) -> Self

Minimum width: 56pt.
Source§

fn min_w_16(self) -> Self

Minimum width: 64pt.
Source§

fn min_w_20(self) -> Self

Minimum width: 80pt.
Source§

fn min_w_24(self) -> Self

Minimum width: 96pt.
Source§

fn min_w_28(self) -> Self

Minimum width: 112pt.
Source§

fn min_w_32(self) -> Self

Minimum width: 128pt.
Source§

fn min_w_36(self) -> Self

Minimum width: 144pt.
Source§

fn min_w_40(self) -> Self

Minimum width: 160pt.
Source§

fn min_w_44(self) -> Self

Minimum width: 176pt.
Source§

fn min_w_48(self) -> Self

Minimum width: 192pt.
Source§

fn min_w_52(self) -> Self

Minimum width: 208pt.
Source§

fn min_w_56(self) -> Self

Minimum width: 224pt.
Source§

fn min_w_60(self) -> Self

Minimum width: 240pt.
Source§

fn min_w_64(self) -> Self

Minimum width: 256pt.
Source§

fn min_w_72(self) -> Self

Minimum width: 288pt.
Source§

fn min_w_80(self) -> Self

Minimum width: 320pt.
Source§

fn min_w_96(self) -> Self

Minimum width: 384pt.
Source§

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

Minimum height
Source§

fn min_h_0(self) -> Self

Minimum height: 0pt.
Source§

fn min_h_0p5(self) -> Self

Minimum height: 2pt.
Source§

fn min_h_1(self) -> Self

Minimum height: 4pt.
Source§

fn min_h_1p5(self) -> Self

Minimum height: 6pt.
Source§

fn min_h_2(self) -> Self

Minimum height: 8pt.
Source§

fn min_h_2p5(self) -> Self

Minimum height: 10pt.
Source§

fn min_h_3(self) -> Self

Minimum height: 12pt.
Source§

fn min_h_3p5(self) -> Self

Minimum height: 14pt.
Source§

fn min_h_4(self) -> Self

Minimum height: 16pt.
Source§

fn min_h_5(self) -> Self

Minimum height: 20pt.
Source§

fn min_h_6(self) -> Self

Minimum height: 24pt.
Source§

fn min_h_7(self) -> Self

Minimum height: 28pt.
Source§

fn min_h_8(self) -> Self

Minimum height: 32pt.
Source§

fn min_h_9(self) -> Self

Minimum height: 36pt.
Source§

fn min_h_10(self) -> Self

Minimum height: 40pt.
Source§

fn min_h_11(self) -> Self

Minimum height: 44pt.
Source§

fn min_h_12(self) -> Self

Minimum height: 48pt.
Source§

fn min_h_14(self) -> Self

Minimum height: 56pt.
Source§

fn min_h_16(self) -> Self

Minimum height: 64pt.
Source§

fn min_h_20(self) -> Self

Minimum height: 80pt.
Source§

fn min_h_24(self) -> Self

Minimum height: 96pt.
Source§

fn min_h_28(self) -> Self

Minimum height: 112pt.
Source§

fn min_h_32(self) -> Self

Minimum height: 128pt.
Source§

fn min_h_36(self) -> Self

Minimum height: 144pt.
Source§

fn min_h_40(self) -> Self

Minimum height: 160pt.
Source§

fn min_h_44(self) -> Self

Minimum height: 176pt.
Source§

fn min_h_48(self) -> Self

Minimum height: 192pt.
Source§

fn min_h_52(self) -> Self

Minimum height: 208pt.
Source§

fn min_h_56(self) -> Self

Minimum height: 224pt.
Source§

fn min_h_60(self) -> Self

Minimum height: 240pt.
Source§

fn min_h_64(self) -> Self

Minimum height: 256pt.
Source§

fn min_h_72(self) -> Self

Minimum height: 288pt.
Source§

fn min_h_80(self) -> Self

Minimum height: 320pt.
Source§

fn min_h_96(self) -> Self

Minimum height: 384pt.
Source§

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

Maximum width
Source§

fn max_w_0(self) -> Self

Maximum width: 0pt.
Source§

fn max_w_0p5(self) -> Self

Maximum width: 2pt.
Source§

fn max_w_1(self) -> Self

Maximum width: 4pt.
Source§

fn max_w_1p5(self) -> Self

Maximum width: 6pt.
Source§

fn max_w_2(self) -> Self

Maximum width: 8pt.
Source§

fn max_w_2p5(self) -> Self

Maximum width: 10pt.
Source§

fn max_w_3(self) -> Self

Maximum width: 12pt.
Source§

fn max_w_3p5(self) -> Self

Maximum width: 14pt.
Source§

fn max_w_4(self) -> Self

Maximum width: 16pt.
Source§

fn max_w_5(self) -> Self

Maximum width: 20pt.
Source§

fn max_w_6(self) -> Self

Maximum width: 24pt.
Source§

fn max_w_7(self) -> Self

Maximum width: 28pt.
Source§

fn max_w_8(self) -> Self

Maximum width: 32pt.
Source§

fn max_w_9(self) -> Self

Maximum width: 36pt.
Source§

fn max_w_10(self) -> Self

Maximum width: 40pt.
Source§

fn max_w_11(self) -> Self

Maximum width: 44pt.
Source§

fn max_w_12(self) -> Self

Maximum width: 48pt.
Source§

fn max_w_14(self) -> Self

Maximum width: 56pt.
Source§

fn max_w_16(self) -> Self

Maximum width: 64pt.
Source§

fn max_w_20(self) -> Self

Maximum width: 80pt.
Source§

fn max_w_24(self) -> Self

Maximum width: 96pt.
Source§

fn max_w_28(self) -> Self

Maximum width: 112pt.
Source§

fn max_w_32(self) -> Self

Maximum width: 128pt.
Source§

fn max_w_36(self) -> Self

Maximum width: 144pt.
Source§

fn max_w_40(self) -> Self

Maximum width: 160pt.
Source§

fn max_w_44(self) -> Self

Maximum width: 176pt.
Source§

fn max_w_48(self) -> Self

Maximum width: 192pt.
Source§

fn max_w_52(self) -> Self

Maximum width: 208pt.
Source§

fn max_w_56(self) -> Self

Maximum width: 224pt.
Source§

fn max_w_60(self) -> Self

Maximum width: 240pt.
Source§

fn max_w_64(self) -> Self

Maximum width: 256pt.
Source§

fn max_w_72(self) -> Self

Maximum width: 288pt.
Source§

fn max_w_80(self) -> Self

Maximum width: 320pt.
Source§

fn max_w_96(self) -> Self

Maximum width: 384pt.
Source§

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

Maximum height
Source§

fn max_h_0(self) -> Self

Maximum height: 0pt.
Source§

fn max_h_0p5(self) -> Self

Maximum height: 2pt.
Source§

fn max_h_1(self) -> Self

Maximum height: 4pt.
Source§

fn max_h_1p5(self) -> Self

Maximum height: 6pt.
Source§

fn max_h_2(self) -> Self

Maximum height: 8pt.
Source§

fn max_h_2p5(self) -> Self

Maximum height: 10pt.
Source§

fn max_h_3(self) -> Self

Maximum height: 12pt.
Source§

fn max_h_3p5(self) -> Self

Maximum height: 14pt.
Source§

fn max_h_4(self) -> Self

Maximum height: 16pt.
Source§

fn max_h_5(self) -> Self

Maximum height: 20pt.
Source§

fn max_h_6(self) -> Self

Maximum height: 24pt.
Source§

fn max_h_7(self) -> Self

Maximum height: 28pt.
Source§

fn max_h_8(self) -> Self

Maximum height: 32pt.
Source§

fn max_h_9(self) -> Self

Maximum height: 36pt.
Source§

fn max_h_10(self) -> Self

Maximum height: 40pt.
Source§

fn max_h_11(self) -> Self

Maximum height: 44pt.
Source§

fn max_h_12(self) -> Self

Maximum height: 48pt.
Source§

fn max_h_14(self) -> Self

Maximum height: 56pt.
Source§

fn max_h_16(self) -> Self

Maximum height: 64pt.
Source§

fn max_h_20(self) -> Self

Maximum height: 80pt.
Source§

fn max_h_24(self) -> Self

Maximum height: 96pt.
Source§

fn max_h_28(self) -> Self

Maximum height: 112pt.
Source§

fn max_h_32(self) -> Self

Maximum height: 128pt.
Source§

fn max_h_36(self) -> Self

Maximum height: 144pt.
Source§

fn max_h_40(self) -> Self

Maximum height: 160pt.
Source§

fn max_h_44(self) -> Self

Maximum height: 176pt.
Source§

fn max_h_48(self) -> Self

Maximum height: 192pt.
Source§

fn max_h_52(self) -> Self

Maximum height: 208pt.
Source§

fn max_h_56(self) -> Self

Maximum height: 224pt.
Source§

fn max_h_60(self) -> Self

Maximum height: 240pt.
Source§

fn max_h_64(self) -> Self

Maximum height: 256pt.
Source§

fn max_h_72(self) -> Self

Maximum height: 288pt.
Source§

fn max_h_80(self) -> Self

Maximum height: 320pt.
Source§

fn max_h_96(self) -> Self

Maximum height: 384pt.
Source§

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

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

fn top_0(self) -> Self

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

fn top_0p5(self) -> Self

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

fn top_1(self) -> Self

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

fn top_1p5(self) -> Self

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

fn top_2(self) -> Self

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

fn top_2p5(self) -> Self

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

fn top_3(self) -> Self

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

fn top_3p5(self) -> Self

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

fn top_4(self) -> Self

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

fn top_5(self) -> Self

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

fn top_6(self) -> Self

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

fn top_7(self) -> Self

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

fn top_8(self) -> Self

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

fn top_9(self) -> Self

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

fn top_10(self) -> Self

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

fn top_11(self) -> Self

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

fn top_12(self) -> Self

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

fn top_14(self) -> Self

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

fn top_16(self) -> Self

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

fn top_20(self) -> Self

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

fn top_24(self) -> Self

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

fn top_28(self) -> Self

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

fn top_32(self) -> Self

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

fn top_36(self) -> Self

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

fn top_40(self) -> Self

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

fn top_44(self) -> Self

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

fn top_48(self) -> Self

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

fn top_52(self) -> Self

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

fn top_56(self) -> Self

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

fn top_60(self) -> Self

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

fn top_64(self) -> Self

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

fn top_72(self) -> Self

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

fn top_80(self) -> Self

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

fn top_96(self) -> Self

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

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

Distance from the parent’s right edge
Source§

fn right_0(self) -> Self

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

fn right_0p5(self) -> Self

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

fn right_1(self) -> Self

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

fn right_1p5(self) -> Self

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

fn right_2(self) -> Self

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

fn right_2p5(self) -> Self

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

fn right_3(self) -> Self

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

fn right_3p5(self) -> Self

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

fn right_4(self) -> Self

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

fn right_5(self) -> Self

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

fn right_6(self) -> Self

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

fn right_7(self) -> Self

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

fn right_8(self) -> Self

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

fn right_9(self) -> Self

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

fn right_10(self) -> Self

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

fn right_11(self) -> Self

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

fn right_12(self) -> Self

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

fn right_14(self) -> Self

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

fn right_16(self) -> Self

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

fn right_20(self) -> Self

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

fn right_24(self) -> Self

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

fn right_28(self) -> Self

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

fn right_32(self) -> Self

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

fn right_36(self) -> Self

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

fn right_40(self) -> Self

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

fn right_44(self) -> Self

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

fn right_48(self) -> Self

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

fn right_52(self) -> Self

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

fn right_56(self) -> Self

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

fn right_60(self) -> Self

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

fn right_64(self) -> Self

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

fn right_72(self) -> Self

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

fn right_80(self) -> Self

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

fn right_96(self) -> Self

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

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

Distance from the parent’s bottom edge
Source§

fn bottom_0(self) -> Self

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

fn bottom_0p5(self) -> Self

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

fn bottom_1(self) -> Self

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

fn bottom_1p5(self) -> Self

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

fn bottom_2(self) -> Self

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

fn bottom_2p5(self) -> Self

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

fn bottom_3(self) -> Self

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

fn bottom_3p5(self) -> Self

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

fn bottom_4(self) -> Self

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

fn bottom_5(self) -> Self

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

fn bottom_6(self) -> Self

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

fn bottom_7(self) -> Self

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

fn bottom_8(self) -> Self

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

fn bottom_9(self) -> Self

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

fn bottom_10(self) -> Self

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

fn bottom_11(self) -> Self

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

fn bottom_12(self) -> Self

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

fn bottom_14(self) -> Self

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

fn bottom_16(self) -> Self

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

fn bottom_20(self) -> Self

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

fn bottom_24(self) -> Self

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

fn bottom_28(self) -> Self

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

fn bottom_32(self) -> Self

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

fn bottom_36(self) -> Self

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

fn bottom_40(self) -> Self

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

fn bottom_44(self) -> Self

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

fn bottom_48(self) -> Self

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

fn bottom_52(self) -> Self

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

fn bottom_56(self) -> Self

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

fn bottom_60(self) -> Self

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

fn bottom_64(self) -> Self

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

fn bottom_72(self) -> Self

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

fn bottom_80(self) -> Self

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

fn bottom_96(self) -> Self

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

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

Distance from the parent’s left edge
Source§

fn left_0(self) -> Self

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

fn left_0p5(self) -> Self

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

fn left_1(self) -> Self

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

fn left_1p5(self) -> Self

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

fn left_2(self) -> Self

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

fn left_2p5(self) -> Self

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

fn left_3(self) -> Self

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

fn left_3p5(self) -> Self

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

fn left_4(self) -> Self

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

fn left_5(self) -> Self

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

fn left_6(self) -> Self

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

fn left_7(self) -> Self

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

fn left_8(self) -> Self

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

fn left_9(self) -> Self

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

fn left_10(self) -> Self

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

fn left_11(self) -> Self

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

fn left_12(self) -> Self

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

fn left_14(self) -> Self

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

fn left_16(self) -> Self

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

fn left_20(self) -> Self

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

fn left_24(self) -> Self

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

fn left_28(self) -> Self

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

fn left_32(self) -> Self

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

fn left_36(self) -> Self

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

fn left_40(self) -> Self

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

fn left_44(self) -> Self

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

fn left_48(self) -> Self

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

fn left_52(self) -> Self

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

fn left_56(self) -> Self

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

fn left_60(self) -> Self

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

fn left_64(self) -> Self

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

fn left_72(self) -> Self

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

fn left_80(self) -> Self

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

fn left_96(self) -> Self

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

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

Distance from every edge of the parent
Source§

fn inset_0(self) -> Self

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

fn inset_0p5(self) -> Self

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

fn inset_1(self) -> Self

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

fn inset_1p5(self) -> Self

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

fn inset_2(self) -> Self

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

fn inset_2p5(self) -> Self

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

fn inset_3(self) -> Self

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

fn inset_3p5(self) -> Self

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

fn inset_4(self) -> Self

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

fn inset_5(self) -> Self

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

fn inset_6(self) -> Self

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

fn inset_7(self) -> Self

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

fn inset_8(self) -> Self

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

fn inset_9(self) -> Self

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

fn inset_10(self) -> Self

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

fn inset_11(self) -> Self

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

fn inset_12(self) -> Self

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

fn inset_14(self) -> Self

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

fn inset_16(self) -> Self

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

fn inset_20(self) -> Self

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

fn inset_24(self) -> Self

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

fn inset_28(self) -> Self

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

fn inset_32(self) -> Self

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

fn inset_36(self) -> Self

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

fn inset_40(self) -> Self

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

fn inset_44(self) -> Self

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

fn inset_48(self) -> Self

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

fn inset_52(self) -> Self

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

fn inset_56(self) -> Self

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

fn inset_60(self) -> Self

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

fn inset_64(self) -> Self

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

fn inset_72(self) -> Self

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

fn inset_80(self) -> Self

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

fn inset_96(self) -> Self

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

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

The flex basis
Source§

fn basis_0(self) -> Self

The flex basis: 0pt.
Source§

fn basis_0p5(self) -> Self

The flex basis: 2pt.
Source§

fn basis_1(self) -> Self

The flex basis: 4pt.
Source§

fn basis_1p5(self) -> Self

The flex basis: 6pt.
Source§

fn basis_2(self) -> Self

The flex basis: 8pt.
Source§

fn basis_2p5(self) -> Self

The flex basis: 10pt.
Source§

fn basis_3(self) -> Self

The flex basis: 12pt.
Source§

fn basis_3p5(self) -> Self

The flex basis: 14pt.
Source§

fn basis_4(self) -> Self

The flex basis: 16pt.
Source§

fn basis_5(self) -> Self

The flex basis: 20pt.
Source§

fn basis_6(self) -> Self

The flex basis: 24pt.
Source§

fn basis_7(self) -> Self

The flex basis: 28pt.
Source§

fn basis_8(self) -> Self

The flex basis: 32pt.
Source§

fn basis_9(self) -> Self

The flex basis: 36pt.
Source§

fn basis_10(self) -> Self

The flex basis: 40pt.
Source§

fn basis_11(self) -> Self

The flex basis: 44pt.
Source§

fn basis_12(self) -> Self

The flex basis: 48pt.
Source§

fn basis_14(self) -> Self

The flex basis: 56pt.
Source§

fn basis_16(self) -> Self

The flex basis: 64pt.
Source§

fn basis_20(self) -> Self

The flex basis: 80pt.
Source§

fn basis_24(self) -> Self

The flex basis: 96pt.
Source§

fn basis_28(self) -> Self

The flex basis: 112pt.
Source§

fn basis_32(self) -> Self

The flex basis: 128pt.
Source§

fn basis_36(self) -> Self

The flex basis: 144pt.
Source§

fn basis_40(self) -> Self

The flex basis: 160pt.
Source§

fn basis_44(self) -> Self

The flex basis: 176pt.
Source§

fn basis_48(self) -> Self

The flex basis: 192pt.
Source§

fn basis_52(self) -> Self

The flex basis: 208pt.
Source§

fn basis_56(self) -> Self

The flex basis: 224pt.
Source§

fn basis_60(self) -> Self

The flex basis: 240pt.
Source§

fn basis_64(self) -> Self

The flex basis: 256pt.
Source§

fn basis_72(self) -> Self

The flex basis: 288pt.
Source§

fn basis_80(self) -> Self

The flex basis: 320pt.
Source§

fn basis_96(self) -> Self

The flex basis: 384pt.
Source§

fn p_safe_area(self) -> Self

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

fn px_safe_area(self) -> Self

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

fn py_safe_area(self) -> Self

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

fn pt_safe_area(self) -> Self

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

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

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

fn pr_safe_area(self) -> Self

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

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

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

fn pb_safe_area(self) -> Self

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

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

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

fn pl_safe_area(self) -> Self

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

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

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

fn pb_keyboard(self) -> Self

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

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

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

fn m_safe_area(self) -> Self

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

fn mx_safe_area(self) -> Self

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

fn my_safe_area(self) -> Self

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

fn mt_safe_area(self) -> Self

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

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

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

fn mr_safe_area(self) -> Self

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

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

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

fn mb_safe_area(self) -> Self

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

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

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

fn ml_safe_area(self) -> Self

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

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

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

fn mb_keyboard(self) -> Self

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

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

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

fn flex(self) -> Self

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

fn grid(self) -> Self

Grid layout.
Source§

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

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

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

count equal grid rows.
Source§

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

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

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

The grid’s rows as CSS tracks.
Source§

fn grid_flow_col(self) -> Self

Items fill the grid column by column.
Source§

fn grid_flow_dense(self) -> Self

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

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

In the grid, count columns wide.
Source§

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

In the grid, count rows high.
Source§

fn col_span_full(self) -> Self

Across every column of the grid.
Source§

fn row_span_full(self) -> Self

Across every row of the grid.
Source§

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

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

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

Ends at column line line.
Source§

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

Starts at row line line.
Source§

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

Ends at row line line.
Source§

fn hidden(self) -> Self

Not laid out nor shown.
Source§

fn invisible(self) -> Self

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

fn flex_row(self) -> Self

Children in a row.
Source§

fn flex_row_reverse(self) -> Self

Children in a row, last first.
Source§

fn flex_col(self) -> Self

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

fn flex_col_reverse(self) -> Self

Children in a column, last first.
Source§

fn flex_wrap(self) -> Self

Children wrap onto new lines.
Source§

fn flex_1(self) -> Self

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

fn flex_auto(self) -> Self

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

fn flex_none(self) -> Self

Neither grows nor shrinks.
Source§

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

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

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

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

fn flex_shrink_0(self) -> Self

Never shrinks.
Source§

fn items_start(self) -> Self

Children at the cross axis’ start.
Source§

fn items_center(self) -> Self

Children centered on the cross axis.
Source§

fn items_end(self) -> Self

Children at the cross axis’ end.
Source§

fn items_stretch(self) -> Self

Children stretched across (the default).
Source§

fn items_baseline(self) -> Self

Children aligned on their text baseline.
Source§

fn justify_start(self) -> Self

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

fn justify_center(self) -> Self

Children centered on the main axis.
Source§

fn justify_end(self) -> Self

Children at the main axis’ end.
Source§

fn justify_between(self) -> Self

Free space between children.
Source§

fn justify_around(self) -> Self

Free space around children.
Source§

fn justify_evenly(self) -> Self

Free space evenly between and around children.
Source§

fn content_start(self) -> Self

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

fn content_center(self) -> Self

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

fn content_end(self) -> Self

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

fn content_between(self) -> Self

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

fn content_around(self) -> Self

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

fn content_evenly(self) -> Self

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

fn content_stretch(self) -> Self

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

fn self_start(self) -> Self

Itself at the cross axis’ start.
Source§

fn self_center(self) -> Self

Itself centered on the cross axis.
Source§

fn self_end(self) -> Self

Itself at the cross axis’ end.
Source§

fn self_stretch(self) -> Self

Itself stretched across.
Source§

fn w_full(self) -> Self

The parent’s full width.
Source§

fn h_full(self) -> Self

The parent’s full height.
Source§

fn size_full(self) -> Self

The parent’s full size.
Source§

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

Width over height.
Source§

fn aspect_square(self) -> Self

As wide as high.
Source§

fn relative(self) -> Self

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

fn absolute(self) -> Self

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

fn sticky(self) -> Self

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

fn overflow_hidden(self) -> Self

Clips its children.
Source§

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

Stacking order among siblings.
Source§

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

The background color.
Source§

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

Opacity, 0 (invisible) to 1.
Source§

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

The corner radius.
Source§

fn rounded_none(self) -> Self

No rounded corners.
Source§

fn rounded_xs(self) -> Self

2pt corners.
Source§

fn rounded_sm(self) -> Self

4pt corners.
Source§

fn rounded_md(self) -> Self

6pt corners.
Source§

fn rounded_lg(self) -> Self

8pt corners.
Source§

fn rounded_xl(self) -> Self

12pt corners.
Source§

fn rounded_2xl(self) -> Self

16pt corners.
Source§

fn rounded_3xl(self) -> Self

24pt corners.
Source§

fn rounded_full(self) -> Self

Fully round ends (pills, circles).
Source§

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

The top corners’ radius.
Source§

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

The bottom corners’ radius.
Source§

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

The border width on all sides.
Source§

fn border_1(self) -> Self

A 1pt border.
Source§

fn border_2(self) -> Self

A 2pt border.
Source§

fn border_t_1(self) -> Self

A 1pt top border.
Source§

fn border_b_1(self) -> Self

A 1pt bottom border.
Source§

fn border_l_1(self) -> Self

A 1pt left border.
Source§

fn border_r_1(self) -> Self

A 1pt right border.
Source§

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

The border color.
Source§

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

The top border’s width.
Source§

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

The right border’s width.
Source§

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

The bottom border’s width.
Source§

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

The left border’s width.
Source§

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

The left and right borders’ width.
Source§

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

The top and bottom borders’ width.
Source§

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

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

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

The trailing border’s width.
Source§

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

The top border’s color.
Source§

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

The right border’s color.
Source§

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

The bottom border’s color.
Source§

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

The left border’s color.
Source§

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

The left and right borders’ color.
Source§

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

The top and bottom borders’ color.
Source§

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

The leading border’s color.
Source§

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

The trailing border’s color.
Source§

fn border_solid(self) -> Self

Solid borders (the default).
Source§

fn border_dashed(self) -> Self

Dashed borders.
Source§

fn border_dotted(self) -> Self

Dotted borders.
Source§

fn border_none(self) -> Self

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

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

The shape of its rounded corners.
Source§

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

The top left corner’s radius.
Source§

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

The top right corner’s radius.
Source§

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

The bottom right corner’s radius.
Source§

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

The bottom left corner’s radius.
Source§

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

The left corners’ radius.
Source§

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

The right corners’ radius.
Source§

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

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

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

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

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

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

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

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

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

The leading corners’ radius.
Source§

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

The trailing corners’ radius.
Source§

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

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

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

The outline’s color.
Source§

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

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

fn outline_dashed(self) -> Self

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

fn outline_dotted(self) -> Self

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

fn outline_none(self) -> Self

No outline.
Source§

fn shadow_none(self) -> Self

No shadow.
Source§

fn shadow_2xs(self) -> Self

Tailwind’s shadow-2xs.
Source§

fn shadow_xs(self) -> Self

Tailwind’s shadow-xs.
Source§

fn shadow_sm(self) -> Self

Tailwind’s shadow-sm.
Source§

fn shadow_md(self) -> Self

Tailwind’s shadow-md.
Source§

fn shadow_lg(self) -> Self

Tailwind’s shadow-lg.
Source§

fn shadow_xl(self) -> Self

Tailwind’s shadow-xl.
Source§

fn shadow_2xl(self) -> Self

Tailwind’s shadow-2xl.
Source§

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

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

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

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

fn inset_shadow_2xs(self) -> Self

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

fn inset_shadow_xs(self) -> Self

Tailwind’s inset-shadow-xs.
Source§

fn inset_shadow_sm(self) -> Self

Tailwind’s inset-shadow-sm.
Source§

fn inset_shadow_none(self) -> Self

No inset shadow.
Source§

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

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

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

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

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

The ring’s color.
Source§

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

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

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

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

fn ring_inset(self) -> Self

The ring inside the border instead.
Source§

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

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

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

The inside ring’s color.
Source§

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

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

fn bg_linear_to_t(self) -> Self

A linear gradient towards the top.
Source§

fn bg_linear_to_r(self) -> Self

A linear gradient towards the right.
Source§

fn bg_linear_to_b(self) -> Self

A linear gradient towards the bottom.
Source§

fn bg_linear_to_l(self) -> Self

A linear gradient towards the left.
Source§

fn bg_linear_to_tr(self) -> Self

A linear gradient towards the top right corner.
Source§

fn bg_linear_to_br(self) -> Self

A linear gradient towards the bottom right corner.
Source§

fn bg_linear_to_bl(self) -> Self

A linear gradient towards the bottom left corner.
Source§

fn bg_linear_to_tl(self) -> Self

A linear gradient towards the top left corner.
Source§

fn bg_radial(self) -> Self

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

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

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

fn bg_gradient_none(self) -> Self

No gradient.
Source§

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

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

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

A color in the middle of the gradient.
Source§

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

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

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

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

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

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

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

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

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

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

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

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

fn mask_none(self) -> Self

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

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

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

fn clip_path_none(self) -> Self

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

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

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

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

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

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

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

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

Turns it gray (1: fully).
Source§

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

Turns its hues by angle.
Source§

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

Inverts its colors (1: fully).
Source§

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

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

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

Tones it sepia (1: fully).
Source§

fn filter_none(self) -> Self

No filters.
Source§

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

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

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

Brightens or darkens what is behind it.
Source§

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

Changes the contrast of what is behind it.
Source§

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

Turns what is behind it gray.
Source§

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

Turns the hues of what is behind it.
Source§

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

Inverts what is behind it.
Source§

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

Fades what is behind it.
Source§

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

Saturates what is behind it.
Source§

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

Tones what is behind it sepia.
Source§

fn backdrop_filter_none(self) -> Self

No backdrop filters.
Source§

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

How it blends with what is behind it.
Source§

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

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

fn select_text(self) -> Self

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

fn select_none(self) -> Self

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

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

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

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

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

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

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

fn cursor_pointer(self) -> Self

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

fn transition(self) -> Self

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

fn transition_all(self) -> Self

Changes of everything that can animate do.
Source§

fn transition_colors(self) -> Self

Changes of colors animate.
Source§

fn transition_opacity(self) -> Self

Changes of opacity animate.
Source§

fn transition_shadow(self) -> Self

Changes of shadows animate.
Source§

fn transition_transform(self) -> Self

Changes of the transform animate.
Source§

fn transition_clip_path(self) -> Self

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

fn transition_mask(self) -> Self

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

fn transition_none(self) -> Self

Changes jump.
Source§

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

Transitions last ms milliseconds.
Source§

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

Transitions start after ms milliseconds.
Source§

fn ease_linear(self) -> Self

Transitions at a constant pace.
Source§

fn ease_in(self) -> Self

Transitions that start slowly.
Source§

fn ease_out(self) -> Self

Transitions that end slowly.
Source§

fn ease_in_out(self) -> Self

Transitions that start and end slowly.
Source§

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

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

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

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

fn animate_spin(self) -> Self

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

fn animate_ping(self) -> Self

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

fn animate_pulse(self) -> Self

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

fn animate_bounce(self) -> Self

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

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

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

fn animate_none(self) -> Self

No keyframe animation.
Source§

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

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

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

Scales horizontally.
Source§

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

Scales vertically.
Source§

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

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

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

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

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

Rotates by angle, clockwise.
Source§

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

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

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

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

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

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

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

Slants horizontal edges by angle (iOS).
Source§

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

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

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

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

fn transform_none(self) -> Self

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

fn translate_none(self) -> Self

No translation (also none set before).
Source§

fn scale_none(self) -> Self

No scale (also none set before).
Source§

fn rotate_none(self) -> Self

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

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

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

fn origin_top_left(self) -> Self

Transforms around its top left corner.
Source§

fn origin_top(self) -> Self

Transforms around the middle of its top edge.
Source§

fn origin_top_right(self) -> Self

Transforms around its top right corner.
Source§

fn origin_left(self) -> Self

Transforms around the middle of its left edge.
Source§

fn origin_center(self) -> Self

Transforms around its center (the default).
Source§

fn origin_right(self) -> Self

Transforms around the middle of its right edge.
Source§

fn origin_bottom_left(self) -> Self

Transforms around its bottom left corner.
Source§

fn origin_bottom(self) -> Self

Transforms around the middle of its bottom edge.
Source§

fn origin_bottom_right(self) -> Self

Transforms around its bottom right corner.
Source§

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

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

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

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

fn object_top_left(self) -> Self

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

fn object_top(self) -> Self

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

fn object_top_right(self) -> Self

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

fn object_left(self) -> Self

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

fn object_center(self) -> Self

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

fn object_right(self) -> Self

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

fn object_bottom_left(self) -> Self

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

fn object_bottom(self) -> Self

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

fn object_bottom_right(self) -> Self

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

fn backface_hidden(self) -> Self

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

fn backface_visible(self) -> Self

Visible from behind too (the default).
Source§

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

The text color.
Source§

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

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

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

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

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

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

fn fill_none(self) -> Self

No fill (fill-none).
Source§

fn fill_current(self) -> Self

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

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

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

fn stroke_none(self) -> Self

No stroke (stroke-none).
Source§

fn stroke_current(self) -> Self

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

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

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

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

The font size, in points.
Source§

fn text_xs(self) -> Self

12pt text, 16pt lines.
Source§

fn text_sm(self) -> Self

14pt text, 20pt lines.
Source§

fn text_base(self) -> Self

16pt text, 24pt lines.
Source§

fn text_lg(self) -> Self

18pt text, 28pt lines.
Source§

fn text_xl(self) -> Self

20pt text, 28pt lines.
Source§

fn text_2xl(self) -> Self

24pt text, 32pt lines.
Source§

fn text_3xl(self) -> Self

30pt text, 36pt lines.
Source§

fn text_4xl(self) -> Self

36pt text, 40pt lines.
Source§

fn text_5xl(self) -> Self

48pt text, 48pt lines.
Source§

fn text_6xl(self) -> Self

60pt text, 60pt lines.
Source§

fn text_7xl(self) -> Self

72pt text, 72pt lines.
Source§

fn text_8xl(self) -> Self

96pt text, 96pt lines.
Source§

fn text_9xl(self) -> Self

128pt text, 128pt lines.
Source§

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

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

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

The font weight.
Source§

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

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

fn italic(self) -> Self

Italic text.
Source§

fn underline(self) -> Self

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

fn line_through(self) -> Self

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

fn no_underline(self) -> Self

No underline nor strike-through.
Source§

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

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

fn text_decoration_solid(self) -> Self

Solid decoration lines (the default).
Source§

fn text_decoration_double(self) -> Self

Double decoration lines.
Source§

fn text_decoration_dotted(self) -> Self

Dotted decoration lines.
Source§

fn text_decoration_dashed(self) -> Self

Dashed decoration lines.
Source§

fn text_decoration_wavy(self) -> Self

Wavy decoration lines (spelling marks).
Source§

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

The decoration lines’ thickness.
Source§

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

The underline’s distance below the baseline.
Source§

fn uppercase(self) -> Self

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

fn lowercase(self) -> Self

Shown in small letters.
Source§

fn capitalize(self) -> Self

Each word shown with a capital first letter.
Source§

fn normal_case(self) -> Self

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

fn tabular_nums(self) -> Self

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

fn proportional_nums(self) -> Self

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

fn oldstyle_nums(self) -> Self

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

fn lining_nums(self) -> Self

Lining digits, all of capital height.
Source§

fn small_caps(self) -> Self

Small capitals for lower-case letters.
Source§

fn normal_nums(self) -> Self

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

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

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

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

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

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

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

fn truncate(self) -> Self

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

fn whitespace_nowrap(self) -> Self

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

fn whitespace_normal(self) -> Self

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

fn text_pretty(self) -> Self

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

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

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

fn text_justify(self) -> Self

Lines stretched to both edges.
Source§

fn text_shadow_2xs(self) -> Self

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

fn text_shadow_xs(self) -> Self

Tailwind’s text-shadow-xs.
Source§

fn text_shadow_sm(self) -> Self

Tailwind’s text-shadow-sm.
Source§

fn text_shadow_md(self) -> Self

Tailwind’s text-shadow-md.
Source§

fn text_shadow_lg(self) -> Self

Tailwind’s text-shadow-lg.
Source§

fn text_shadow_none(self) -> Self

No text shadow from the presets.
Source§

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

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

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

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

fn text_left(self) -> Self

Text aligned left.
Source§

fn text_center(self) -> Self

Text centered.
Source§

fn text_right(self) -> Self

Text aligned right.
Source§

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

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

fn align_baseline(self) -> Self

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

fn align_text_top(self) -> Self

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

fn align_text_bottom(self) -> Self

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

fn align_middle(self) -> Self

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

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

Extra space between letters.
Source§

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

fn group(self) -> Self

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Error = !

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

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

Performs the conversion.
Source§

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

Source§

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

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

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

Performs the conversion.