pub struct Tab { /* private fields */ }Expand description
重导出标签页相关类型
供 crate::tabs::TabBar 使用的 Tab 元素。
Implementations§
Source§impl Tab
impl Tab
Sourcepub fn label(self, label: impl Into<SharedString>) -> Self
pub fn label(self, label: impl Into<SharedString>) -> Self
设置 Tab 的标签文本。
Sourcepub fn with_variant(self, variant: TabVariant) -> Self
pub fn with_variant(self, variant: TabVariant) -> Self
设置 Tab 的变体样式。
Sourcepub fn prefix(self, prefix: impl IntoElement) -> Self
pub fn prefix(self, prefix: impl IntoElement) -> Self
设置 Tab 左侧的前缀元素。
Sourcepub fn suffix(self, suffix: impl IntoElement) -> Self
pub fn suffix(self, suffix: impl IntoElement) -> Self
设置 Tab 右侧的后缀元素。
Trait Implementations§
Source§fn from(label: SharedString) -> Self
fn from(label: SharedString) -> Self
Converts to this type from the input type.
Source§impl InteractiveElement for Tab
impl InteractiveElement for Tab
Source§fn interactivity(&mut self) -> &mut Interactivity
fn interactivity(&mut self) -> &mut Interactivity
获取与此元素关联的交互状态
Source§fn group(self, group: impl Into<SharedString>) -> Self
fn group(self, group: impl Into<SharedString>) -> Self
将此元素分配到可一起设置样式的分组中
Source§fn track_focus(self, focus_handle: &FocusHandle) -> Self
fn track_focus(self, focus_handle: &FocusHandle) -> Self
跟踪此元素上给定焦点句柄的焦点状态。
如果焦点句柄被应用程序聚焦,此元素将应用其聚焦样式。
Source§fn tab_index(self, index: isize) -> Self
fn tab_index(self, index: isize) -> Self
设置制表停靠顺序的索引,并将此节点设为制表停靠点。
这将默认使元素成为制表停靠点。参见
Self::tab_stop 了解更多信息。
仅应与 tab_group 配合使用,
以免干扰其他元素的制表索引。Source§fn tab_group(self) -> Self
fn tab_group(self) -> Self
将此 div 指定为“制表分组“。制表分组在制表索引顺序中有自己的位置,
但对于分组的子元素,制表索引重置为 0。这在交换分组内制表停靠点顺序时
非常有用,无需重新编号整个应用中的所有制表停靠点。
Source§fn key_context<C, E>(self, key_context: C) -> Self
fn key_context<C, E>(self, key_context: C) -> Self
设置此元素的按键映射上下文。这将用于确定从按键映射分发哪个动作。
Source§fn hover(self, f: impl FnOnce(StyleRefinement) -> StyleRefinement) -> Self
fn hover(self, f: impl FnOnce(StyleRefinement) -> StyleRefinement) -> Self
当鼠标悬停于此元素时应用给定样式
Source§fn group_hover(
self,
group_name: impl Into<SharedString>,
f: impl FnOnce(StyleRefinement) -> StyleRefinement,
) -> Self
fn group_hover( self, group_name: impl Into<SharedString>, f: impl FnOnce(StyleRefinement) -> StyleRefinement, ) -> Self
当鼠标悬停于分组成员时应用给定样式
Source§fn on_mouse_down(
self,
button: MouseButton,
listener: impl Fn(&MouseDownEvent, &mut Window, &mut App) + 'static,
) -> Self
fn on_mouse_down( self, button: MouseButton, listener: impl Fn(&MouseDownEvent, &mut Window, &mut App) + 'static, ) -> Self
将给定回调绑定到指定鼠标按钮的按下事件。
Interactivity::on_mouse_down 的流式 API 等价物。 Read moreSource§fn debug_selector(self, _: impl FnOnce() -> String) -> Self
fn debug_selector(self, _: impl FnOnce() -> String) -> Self
设置一个可用于在 [
crate::VisualTestContext::debug_bounds] 映射中
查找此元素边界的键。
在 release 构建中为空操作。Source§fn capture_any_mouse_down(
self,
listener: impl Fn(&MouseDownEvent, &mut Window, &mut App) + 'static,
) -> Self
fn capture_any_mouse_down( self, listener: impl Fn(&MouseDownEvent, &mut Window, &mut App) + 'static, ) -> Self
在捕获阶段将给定回调绑定到任意按钮的鼠标按下事件。
Interactivity::capture_any_mouse_down 的流式 API 等价物。 Read moreSource§fn on_any_mouse_down(
self,
listener: impl Fn(&MouseDownEvent, &mut Window, &mut App) + 'static,
) -> Self
fn on_any_mouse_down( self, listener: impl Fn(&MouseDownEvent, &mut Window, &mut App) + 'static, ) -> Self
在捕获阶段将给定回调绑定到任意按钮的鼠标按下事件。
Interactivity::on_any_mouse_down 的流式 API 等价物。 Read moreSource§fn on_mouse_up(
self,
button: MouseButton,
listener: impl Fn(&MouseUpEvent, &mut Window, &mut App) + 'static,
) -> Self
fn on_mouse_up( self, button: MouseButton, listener: impl Fn(&MouseUpEvent, &mut Window, &mut App) + 'static, ) -> Self
在冒泡阶段将给定回调绑定到指定按钮的鼠标释放事件。
Interactivity::on_mouse_up 的流式 API 等价物。 Read moreSource§fn capture_any_mouse_up(
self,
listener: impl Fn(&MouseUpEvent, &mut Window, &mut App) + 'static,
) -> Self
fn capture_any_mouse_up( self, listener: impl Fn(&MouseUpEvent, &mut Window, &mut App) + 'static, ) -> Self
在捕获阶段将给定回调绑定到任意按钮的鼠标释放事件。
Interactivity::capture_any_mouse_up 的流式 API 等价物。 Read moreSource§fn on_mouse_pressure(
self,
listener: impl Fn(&MousePressureEvent, &mut Window, &mut App) + 'static,
) -> Self
fn on_mouse_pressure( self, listener: impl Fn(&MousePressureEvent, &mut Window, &mut App) + 'static, ) -> Self
在冒泡阶段将给定回调绑定到鼠标按压事件。
Interactivity::on_mouse_pressure 的流式 API 等价物。 Read moreSource§fn capture_mouse_pressure(
self,
listener: impl Fn(&MousePressureEvent, &mut Window, &mut App) + 'static,
) -> Self
fn capture_mouse_pressure( self, listener: impl Fn(&MousePressureEvent, &mut Window, &mut App) + 'static, ) -> Self
在捕获阶段将给定回调绑定到鼠标按压事件。
Interactivity::on_mouse_pressure 的流式 API 等价物。 Read moreSource§fn on_mouse_down_out(
self,
listener: impl Fn(&MouseDownEvent, &mut Window, &mut App) + 'static,
) -> Self
fn on_mouse_down_out( self, listener: impl Fn(&MouseDownEvent, &mut Window, &mut App) + 'static, ) -> Self
在捕获阶段,当鼠标位于此元素边界之外时,将给定回调绑定到任意按钮的鼠标按下事件。
Interactivity::on_mouse_down_out 的流式 API 等价物。 Read moreSource§fn on_mouse_up_out(
self,
button: MouseButton,
listener: impl Fn(&MouseUpEvent, &mut Window, &mut App) + 'static,
) -> Self
fn on_mouse_up_out( self, button: MouseButton, listener: impl Fn(&MouseUpEvent, &mut Window, &mut App) + 'static, ) -> Self
在捕获阶段,当鼠标位于此元素边界之外时,将给定回调绑定到指定按钮的鼠标释放事件。
Interactivity::on_mouse_up_out 的流式 API 等价物。 Read moreSource§fn on_mouse_move(
self,
listener: impl Fn(&MouseMoveEvent, &mut Window, &mut App) + 'static,
) -> Self
fn on_mouse_move( self, listener: impl Fn(&MouseMoveEvent, &mut Window, &mut App) + 'static, ) -> Self
在冒泡阶段将给定回调绑定到鼠标移动事件。
Interactivity::on_mouse_move 的流式 API 等价物。 Read moreSource§fn on_mouse_exit(
self,
listener: impl Fn(&MouseExitEvent, &mut Window, &mut App) + 'static,
) -> Self
fn on_mouse_exit( self, listener: impl Fn(&MouseExitEvent, &mut Window, &mut App) + 'static, ) -> Self
在冒泡阶段将给定回调绑定到鼠标离开事件。
Interactivity::on_mouse_exit 的流式 API 等价物。 Read moreSource§fn on_drag_move<T: 'static>(
self,
listener: impl Fn(&DragMoveEvent<T>, &mut Window, &mut App) + 'static,
) -> Self
fn on_drag_move<T: 'static>( self, listener: impl Fn(&DragMoveEvent<T>, &mut Window, &mut App) + 'static, ) -> Self
将给定回调绑定到指定类型的鼠标拖拽移动事件。注意此回调
会在所有移动事件中被调用,无论鼠标在元素内部还是外部,只要拖拽
是由此元素开始的。适用于实现不符合拖放交互样式的可拖拽 UI,
例如调整大小。
Interactivity::on_drag_move 的流式 API 等价物。 Read moreSource§fn on_scroll_wheel(
self,
listener: impl Fn(&ScrollWheelEvent, &mut Window, &mut App) + 'static,
) -> Self
fn on_scroll_wheel( self, listener: impl Fn(&ScrollWheelEvent, &mut Window, &mut App) + 'static, ) -> Self
在冒泡阶段将给定回调绑定到滚轮事件。
Interactivity::on_scroll_wheel 的流式 API 等价物。 Read moreSource§fn on_pinch(
self,
listener: impl Fn(&PinchEvent, &mut Window, &mut App) + 'static,
) -> Self
fn on_pinch( self, listener: impl Fn(&PinchEvent, &mut Window, &mut App) + 'static, ) -> Self
在冒泡阶段将给定回调绑定到捏合手势事件。
Interactivity::on_pinch 的流式 API 等价物。 Read moreSource§fn capture_pinch(
self,
listener: impl Fn(&PinchEvent, &mut Window, &mut App) + 'static,
) -> Self
fn capture_pinch( self, listener: impl Fn(&PinchEvent, &mut Window, &mut App) + 'static, ) -> Self
在捕获阶段将给定回调绑定到捏合手势事件。
Interactivity::capture_pinch 的流式 API 等价物。 Read moreSource§fn capture_action<A: Action>(
self,
listener: impl Fn(&A, &mut Window, &mut App) + 'static,
) -> Self
fn capture_action<A: Action>( self, listener: impl Fn(&A, &mut Window, &mut App) + 'static, ) -> Self
在常规动作分发触发之前捕获给定动作。
Interactivity::capture_action 的流式 API 等价物。 Read moreSource§fn on_action<A: Action>(
self,
listener: impl Fn(&A, &mut Window, &mut App) + 'static,
) -> Self
fn on_action<A: Action>( self, listener: impl Fn(&A, &mut Window, &mut App) + 'static, ) -> Self
在冒泡阶段将给定回调绑定到动作分发。
Interactivity::on_action 的流式 API 等价物。 Read moreSource§fn on_boxed_action(
self,
action: &dyn Action,
listener: impl Fn(&dyn Action, &mut Window, &mut App) + 'static,
) -> Self
fn on_boxed_action( self, action: &dyn Action, listener: impl Fn(&dyn Action, &mut Window, &mut App) + 'static, ) -> Self
将给定回调绑定到动作分发,基于动态动作参数而非类型参数。
适用于希望向用户暴露动作绑定的组件库。
Interactivity::on_boxed_action 的流式 API 等价物。 Read moreSource§fn on_key_down(
self,
listener: impl Fn(&KeyDownEvent, &mut Window, &mut App) + 'static,
) -> Self
fn on_key_down( self, listener: impl Fn(&KeyDownEvent, &mut Window, &mut App) + 'static, ) -> Self
在冒泡阶段将给定回调绑定到按键按下事件。
Interactivity::on_key_down 的流式 API 等价物。 Read moreSource§fn capture_key_down(
self,
listener: impl Fn(&KeyDownEvent, &mut Window, &mut App) + 'static,
) -> Self
fn capture_key_down( self, listener: impl Fn(&KeyDownEvent, &mut Window, &mut App) + 'static, ) -> Self
在捕获阶段将给定回调绑定到按键按下事件。
Interactivity::capture_key_down 的流式 API 等价物。 Read moreSource§fn on_key_up(
self,
listener: impl Fn(&KeyUpEvent, &mut Window, &mut App) + 'static,
) -> Self
fn on_key_up( self, listener: impl Fn(&KeyUpEvent, &mut Window, &mut App) + 'static, ) -> Self
在冒泡阶段将给定回调绑定到按键释放事件。
Interactivity::on_key_up 的流式 API 等价物。 Read moreSource§fn capture_key_up(
self,
listener: impl Fn(&KeyUpEvent, &mut Window, &mut App) + 'static,
) -> Self
fn capture_key_up( self, listener: impl Fn(&KeyUpEvent, &mut Window, &mut App) + 'static, ) -> Self
在捕获阶段将给定回调绑定到按键释放事件。
Interactivity::capture_key_up 的流式 API 等价物。 Read moreSource§fn on_modifiers_changed(
self,
listener: impl Fn(&ModifiersChangedEvent, &mut Window, &mut App) + 'static,
) -> Self
fn on_modifiers_changed( self, listener: impl Fn(&ModifiersChangedEvent, &mut Window, &mut App) + 'static, ) -> Self
将给定回调绑定到修饰键变更事件。
Interactivity::on_modifiers_changed 的流式 API 等价物。 Read moreSource§fn drag_over<S: 'static>(
self,
f: impl 'static + Fn(StyleRefinement, &S, &mut Window, &mut App) -> StyleRefinement,
) -> Self
fn drag_over<S: 'static>( self, f: impl 'static + Fn(StyleRefinement, &S, &mut Window, &mut App) -> StyleRefinement, ) -> Self
当给定数据类型被拖拽到此元素上时应用给定样式
Source§fn group_drag_over<S: 'static>(
self,
group_name: impl Into<SharedString>,
f: impl FnOnce(StyleRefinement) -> StyleRefinement,
) -> Self
fn group_drag_over<S: 'static>( self, group_name: impl Into<SharedString>, f: impl FnOnce(StyleRefinement) -> StyleRefinement, ) -> Self
当给定数据类型被拖拽到此元素的分组上时应用给定样式
Source§fn on_drop<T: 'static>(
self,
listener: impl Fn(&T, &mut Window, &mut App) + 'static,
) -> Self
fn on_drop<T: 'static>( self, listener: impl Fn(&T, &mut Window, &mut App) + 'static, ) -> Self
将给定回调绑定到指定类型的放置(drop)事件,无论拖拽是否从此元素开始。
Interactivity::on_drop 的流式 API 等价物。 Read moreSource§fn can_drop(
self,
predicate: impl Fn(&dyn Any, &mut Window, &mut App) -> bool + 'static,
) -> Self
fn can_drop( self, predicate: impl Fn(&dyn Any, &mut Window, &mut App) -> bool + 'static, ) -> Self
使用给定的谓词判断是否应向此元素分发放置事件。
Interactivity::can_drop 的流式 API 等价物。Source§fn occlude(self) -> Self
fn occlude(self) -> Self
阻止鼠标与此元素 hitbox 后方元素的所有交互。通常应优先使用
block_mouse_except_scroll。
Interactivity::occlude_mouse 的流式 API 等价物。Source§fn window_control_area(self, area: WindowControlArea) -> Self
fn window_control_area(self, area: WindowControlArea) -> Self
将此元素的边界设置为平台窗口的窗口控制区域。
Interactivity::window_control_area 的流式 API 等价物。 Read moreSource§fn block_mouse_except_scroll(self) -> Self
fn block_mouse_except_scroll(self) -> Self
阻止鼠标与此元素 hitbox 后方元素的非滚动交互。
Interactivity::block_mouse_except_scroll 的流式 API 等价物。 Read moreSource§fn focus(self, f: impl FnOnce(StyleRefinement) -> StyleRefinement) -> Selfwhere
Self: Sized,
fn focus(self, f: impl FnOnce(StyleRefinement) -> StyleRefinement) -> Selfwhere
Self: Sized,
设置此元素被聚焦时应用的给定样式。
要求元素可聚焦。可使用
InteractiveElement::track_focus 使元素可聚焦。Source§fn in_focus(self, f: impl FnOnce(StyleRefinement) -> StyleRefinement) -> Selfwhere
Self: Sized,
fn in_focus(self, f: impl FnOnce(StyleRefinement) -> StyleRefinement) -> Selfwhere
Self: Sized,
设置此元素位于另一个被聚焦的元素内部时应用的给定样式。
要求元素可聚焦。可使用
InteractiveElement::track_focus 使元素可聚焦。Source§fn focus_visible(
self,
f: impl FnOnce(StyleRefinement) -> StyleRefinement,
) -> Selfwhere
Self: Sized,
fn focus_visible(
self,
f: impl FnOnce(StyleRefinement) -> StyleRefinement,
) -> Selfwhere
Self: Sized,
设置此元素通过键盘导航聚焦时应用的给定样式。
类似于 CSS 的
:focus-visible 伪类——仅在元素被聚焦且用户通过键盘导航
(而非鼠标点击)时应用。
要求元素可聚焦。可使用 InteractiveElement::track_focus 使元素可聚焦。Source§impl IntoElement for Tab
impl IntoElement for Tab
Source§fn into_element(self) -> Self::Element
fn into_element(self) -> Self::Element
将 self 转换为实现
Element 的类型。Source§fn into_any_element(self) -> AnyElement
fn into_any_element(self) -> AnyElement
将 self 转换为动态类型的
AnyElement。Source§impl ParentElement for Tab
impl ParentElement for Tab
Source§fn extend(&mut self, elements: impl IntoIterator<Item = AnyElement>)
fn extend(&mut self, elements: impl IntoIterator<Item = AnyElement>)
用给定子元素扩展此元素的子元素列表。
Source§fn child(self, child: impl IntoElement) -> Selfwhere
Self: Sized,
fn child(self, child: impl IntoElement) -> Selfwhere
Self: Sized,
向此元素添加单个子元素。
Source§fn children(self, children: impl IntoIterator<Item = impl IntoElement>) -> Selfwhere
Self: Sized,
fn children(self, children: impl IntoIterator<Item = impl IntoElement>) -> Selfwhere
Self: Sized,
向此元素添加多个子元素。
Source§impl RenderOnce for Tab
impl RenderOnce for Tab
Source§fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement
fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement
将此组件渲染为元素树。注意此方法获取 self 的所有权,
而
Render::render() 接收可变引用。Source§impl Selectable for Tab
impl Selectable for Tab
Source§impl StatefulInteractiveElement for Tab
impl StatefulInteractiveElement for Tab
Source§fn aria_label(self, label: impl Into<SharedString>) -> Self
fn aria_label(self, label: impl Into<SharedString>) -> Self
设置此元素的无障碍标签。
Source§fn aria_description(self, description: impl Into<SharedString>) -> Self
fn aria_description(self, description: impl Into<SharedString>) -> Self
设置此元素的无障碍描述。与标签(命名元素)不同,描述提供辅助技术
在名称、角色和值之后公布的补充信息——例如设置子标题或提示。
Source§fn aria_keyshortcuts(self, keyshortcuts: impl Into<SharedString>) -> Self
fn aria_keyshortcuts(self, keyshortcuts: impl Into<SharedString>) -> Self
设置激活此元素的键盘快捷键,由辅助技术公布
(映射到 AccessKit 的
keyboard_shortcut)。 Read moreSource§fn aria_active_descendant(self) -> Self
fn aria_active_descendant(self) -> Self
将此元素报告为无障碍树中的聚焦节点,覆盖实际持有键盘焦点的元素
——但仅在其某个祖先实际持有焦点时。 Read more
Source§fn a11y_synthetic_children(
self,
f: impl FnOnce(&mut A11ySubtreeBuilder<'_>) + 'static,
) -> Self
fn a11y_synthetic_children( self, f: impl FnOnce(&mut A11ySubtreeBuilder<'_>) + 'static, ) -> Self
贡献合成无障碍节点——不对应任何元素的节点——作为此元素无障碍节点的子节点。
例如描述编辑器文本内容的文本运行。 Read more
Source§fn aria_selected(self, selected: bool) -> Self
fn aria_selected(self, selected: bool) -> Self
设置此元素的选中状态。
Source§fn aria_expanded(self, expanded: bool) -> Self
fn aria_expanded(self, expanded: bool) -> Self
设置此元素的展开状态。
Source§fn aria_disabled(self, disabled: bool) -> Self
fn aria_disabled(self, disabled: bool) -> Self
设置此元素的禁用状态。 Read more
Source§fn aria_toggled(self, toggled: Toggled) -> Self
fn aria_toggled(self, toggled: Toggled) -> Self
设置此元素的切换状态。
Source§fn aria_numeric_value(self, value: f64) -> Self
fn aria_numeric_value(self, value: f64) -> Self
设置此元素的数值。
Source§fn aria_numeric_value_step(self, step: f64) -> Self
fn aria_numeric_value_step(self, step: f64) -> Self
设置辅助技术应预期此元素数值变化的步长(例如递增微调按钮时)。
Source§fn aria_value(self, value: impl Into<SharedString>) -> Self
fn aria_value(self, value: impl Into<SharedString>) -> Self
设置此元素的字符串值,例如简单文本输入框的文本内容。
Source§fn aria_placeholder(self, placeholder: impl Into<SharedString>) -> Self
fn aria_placeholder(self, placeholder: impl Into<SharedString>) -> Self
设置向辅助技术报告的占位符文本,在文本输入为空时显示。
Source§fn aria_min_numeric_value(self, value: f64) -> Self
fn aria_min_numeric_value(self, value: f64) -> Self
设置此元素的最小数值。
Source§fn aria_max_numeric_value(self, value: f64) -> Self
fn aria_max_numeric_value(self, value: f64) -> Self
设置此元素的最大数值。
Source§fn aria_orientation(self, orientation: Orientation) -> Self
fn aria_orientation(self, orientation: Orientation) -> Self
设置此元素的方向。
Source§fn aria_level(self, level: usize) -> Self
fn aria_level(self, level: usize) -> Self
设置此元素的标题级别。
Source§fn aria_position_in_set(self, position: usize) -> Self
fn aria_position_in_set(self, position: usize) -> Self
设置此元素在集合中的位置。
Source§fn aria_size_of_set(self, size: usize) -> Self
fn aria_size_of_set(self, size: usize) -> Self
设置此元素的集合大小。
Source§fn aria_row_index(self, index: usize) -> Self
fn aria_row_index(self, index: usize) -> Self
设置此元素的行索引。
Source§fn aria_column_index(self, index: usize) -> Self
fn aria_column_index(self, index: usize) -> Self
设置此元素的列索引。
Source§fn aria_row_count(self, count: usize) -> Self
fn aria_row_count(self, count: usize) -> Self
设置此元素的行数。
Source§fn aria_column_count(self, count: usize) -> Self
fn aria_column_count(self, count: usize) -> Self
设置此元素的列数。
Source§fn on_a11y_action(
self,
action: Action,
listener: impl FnMut(Option<&ActionData>, &mut Window, &mut App) + 'static,
) -> Self
fn on_a11y_action( self, action: Action, listener: impl FnMut(Option<&ActionData>, &mut Window, &mut App) + 'static, ) -> Self
为此元素注册无障碍动作的处理器。
当屏幕阅读器请求给定动作时调用处理器。 Read more
Source§fn overflow_scroll(self) -> Self
fn overflow_scroll(self) -> Self
将 x 和 y 溢出设置为滚动。
Source§fn overflow_x_scroll(self) -> Self
fn overflow_x_scroll(self) -> Self
将 x 溢出设置为滚动。
Source§fn overflow_y_scroll(self) -> Self
fn overflow_y_scroll(self) -> Self
将 y 溢出设置为滚动。
Source§fn restrict_scroll_to_axis(self) -> Self
fn restrict_scroll_to_axis(self) -> Self
将滚动限制为输入手势的方向轴。 Read more
Source§fn track_scroll(self, scroll_handle: &ScrollHandle) -> Self
fn track_scroll(self, scroll_handle: &ScrollHandle) -> Self
使用给定句柄跟踪此元素的滚动状态。
Source§fn anchor_scroll(self, scroll_anchor: Option<ScrollAnchor>) -> Self
fn anchor_scroll(self, scroll_anchor: Option<ScrollAnchor>) -> Self
使用给定锚点跟踪此元素的滚动状态。
Source§fn active(self, f: impl FnOnce(StyleRefinement) -> StyleRefinement) -> Selfwhere
Self: Sized,
fn active(self, f: impl FnOnce(StyleRefinement) -> StyleRefinement) -> Selfwhere
Self: Sized,
设置此元素处于激活状态时应用的给定样式。
Source§fn group_active(
self,
group_name: impl Into<SharedString>,
f: impl FnOnce(StyleRefinement) -> StyleRefinement,
) -> Selfwhere
Self: Sized,
fn group_active(
self,
group_name: impl Into<SharedString>,
f: impl FnOnce(StyleRefinement) -> StyleRefinement,
) -> Selfwhere
Self: Sized,
设置此元素的分组处于激活状态时应用的给定样式。
Source§fn on_click(
self,
listener: impl Fn(&ClickEvent, &mut Window, &mut App) + 'static,
) -> Selfwhere
Self: Sized,
fn on_click(
self,
listener: impl Fn(&ClickEvent, &mut Window, &mut App) + 'static,
) -> Selfwhere
Self: Sized,
将给定回调绑定到此元素的点击事件。
Interactivity::on_click 的流式 API 等价物。 Read moreSource§fn on_aux_click(
self,
listener: impl Fn(&ClickEvent, &mut Window, &mut App) + 'static,
) -> Selfwhere
Self: Sized,
fn on_aux_click(
self,
listener: impl Fn(&ClickEvent, &mut Window, &mut App) + 'static,
) -> Selfwhere
Self: Sized,
将给定回调绑定到此元素的非主按钮点击事件。
Interactivity::on_aux_click 的流式 API 等价物。 Read moreSource§fn on_drag<T, W>(
self,
value: T,
constructor: impl Fn(&T, Point<Pixels>, &mut Window, &mut App) -> Entity<W> + 'static,
) -> Self
fn on_drag<T, W>( self, value: T, constructor: impl Fn(&T, Point<Pixels>, &mut Window, &mut App) -> Entity<W> + 'static, ) -> Self
在拖拽启动时,此回调用于创建一个新视图来渲染拖拽值,用于拖放操作。
此 API 也应作为
InteractiveElement::on_drag_move API 的“拖拽开始“等价物使用。
回调还可以访问触发点击相对于父元素原点的偏移量。
Interactivity::on_drag 的流式 API 等价物。 Read moreSource§fn on_hover(
self,
listener: impl Fn(&bool, &mut Window, &mut App) + 'static,
) -> Selfwhere
Self: Sized,
fn on_hover(
self,
listener: impl Fn(&bool, &mut Window, &mut App) + 'static,
) -> Selfwhere
Self: Sized,
将给定回调绑定到此元素的悬停开始和结束事件。注意传入回调的布尔值
在悬停开始时为 true,结束时为 false。
鼠标静止时由布局变化引起的过渡也会触发回调。
Interactivity::on_hover 的流式 API 等价物。 Read moreSource§fn tooltip(
self,
build_tooltip: impl Fn(&mut Window, &mut App) -> AnyView + 'static,
) -> Selfwhere
Self: Sized,
fn tooltip(
self,
build_tooltip: impl Fn(&mut Window, &mut App) -> AnyView + 'static,
) -> Selfwhere
Self: Sized,
使用给定回调在鼠标悬停于此元素时构建新的工具提示视图。
Interactivity::tooltip 的流式 API 等价物。Source§fn hoverable_tooltip(
self,
build_tooltip: impl Fn(&mut Window, &mut App) -> AnyView + 'static,
) -> Selfwhere
Self: Sized,
fn hoverable_tooltip(
self,
build_tooltip: impl Fn(&mut Window, &mut App) -> AnyView + 'static,
) -> Selfwhere
Self: Sized,
使用给定回调在鼠标悬停于此元素时构建新的工具提示视图。
工具提示本身也可悬停,当用户将鼠标移入工具提示时不会消失。
Interactivity::hoverable_tooltip 的流式 API 等价物。Source§fn tooltip_show_delay(self, delay: Duration) -> Selfwhere
Self: Sized,
fn tooltip_show_delay(self, delay: Duration) -> Selfwhere
Self: Sized,
设置此元素的工具提示显示前的延迟时间。
Interactivity::tooltip_show_delay 的流式 API 等价物。Source§impl Styled for Tab
impl Styled for Tab
Source§fn style(&mut self) -> &mut StyleRefinement
fn style(&mut self) -> &mut StyleRefinement
返回此元素样式内存的引用。
Source§fn w_neg_full(self) -> Self
fn w_neg_full(self) -> Self
Source§fn w_neg_1_12(self) -> Self
fn w_neg_1_12(self) -> Self
Source§fn h_neg_full(self) -> Self
fn h_neg_full(self) -> Self
Source§fn h_neg_1_12(self) -> Self
fn h_neg_1_12(self) -> Self
Source§fn size(self, length: impl Clone + Into<Length>) -> Self
fn size(self, length: impl Clone + Into<Length>) -> Self
Sets the width and height of the element.
Source§fn size_neg_0(self) -> Self
fn size_neg_0(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_0p5(self) -> Self
fn size_neg_0p5(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_1(self) -> Self
fn size_neg_1(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_1p5(self) -> Self
fn size_neg_1p5(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_2(self) -> Self
fn size_neg_2(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_2p5(self) -> Self
fn size_neg_2p5(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_3(self) -> Self
fn size_neg_3(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_3p5(self) -> Self
fn size_neg_3p5(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_4(self) -> Self
fn size_neg_4(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_5(self) -> Self
fn size_neg_5(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_6(self) -> Self
fn size_neg_6(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_7(self) -> Self
fn size_neg_7(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_8(self) -> Self
fn size_neg_8(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_9(self) -> Self
fn size_neg_9(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_10(self) -> Self
fn size_neg_10(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_11(self) -> Self
fn size_neg_11(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_12(self) -> Self
fn size_neg_12(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_16(self) -> Self
fn size_neg_16(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_20(self) -> Self
fn size_neg_20(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_24(self) -> Self
fn size_neg_24(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_32(self) -> Self
fn size_neg_32(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_40(self) -> Self
fn size_neg_40(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_48(self) -> Self
fn size_neg_48(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_56(self) -> Self
fn size_neg_56(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_64(self) -> Self
fn size_neg_64(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_72(self) -> Self
fn size_neg_72(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_80(self) -> Self
fn size_neg_80(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_96(self) -> Self
fn size_neg_96(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_112(self) -> Self
fn size_neg_112(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_128(self) -> Self
fn size_neg_128(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_px(self) -> Self
fn size_neg_px(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_full(self) -> Self
fn size_neg_full(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_1_2(self) -> Self
fn size_neg_1_2(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_1_3(self) -> Self
fn size_neg_1_3(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_2_3(self) -> Self
fn size_neg_2_3(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_1_4(self) -> Self
fn size_neg_1_4(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_2_4(self) -> Self
fn size_neg_2_4(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_3_4(self) -> Self
fn size_neg_3_4(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_1_5(self) -> Self
fn size_neg_1_5(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_2_5(self) -> Self
fn size_neg_2_5(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_3_5(self) -> Self
fn size_neg_3_5(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_4_5(self) -> Self
fn size_neg_4_5(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_1_6(self) -> Self
fn size_neg_1_6(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_5_6(self) -> Self
fn size_neg_5_6(self) -> Self
Sets the width and height of the element. Read more
Source§fn size_neg_1_12(self) -> Self
fn size_neg_1_12(self) -> Self
Sets the width and height of the element. Read more
Source§fn min_size(self, length: impl Clone + Into<Length>) -> Self
fn min_size(self, length: impl Clone + Into<Length>) -> Self
Sets the minimum width and height of the element.
Source§fn min_size_0(self) -> Self
fn min_size_0(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_0(self) -> Self
fn min_size_neg_0(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_0p5(self) -> Self
fn min_size_0p5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_0p5(self) -> Self
fn min_size_neg_0p5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_1(self) -> Self
fn min_size_1(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_1(self) -> Self
fn min_size_neg_1(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_1p5(self) -> Self
fn min_size_1p5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_1p5(self) -> Self
fn min_size_neg_1p5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_2(self) -> Self
fn min_size_2(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_2(self) -> Self
fn min_size_neg_2(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_2p5(self) -> Self
fn min_size_2p5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_2p5(self) -> Self
fn min_size_neg_2p5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_3(self) -> Self
fn min_size_3(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_3(self) -> Self
fn min_size_neg_3(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_3p5(self) -> Self
fn min_size_3p5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_3p5(self) -> Self
fn min_size_neg_3p5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_4(self) -> Self
fn min_size_4(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_4(self) -> Self
fn min_size_neg_4(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_5(self) -> Self
fn min_size_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_5(self) -> Self
fn min_size_neg_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_6(self) -> Self
fn min_size_6(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_6(self) -> Self
fn min_size_neg_6(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_7(self) -> Self
fn min_size_7(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_7(self) -> Self
fn min_size_neg_7(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_8(self) -> Self
fn min_size_8(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_8(self) -> Self
fn min_size_neg_8(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_9(self) -> Self
fn min_size_9(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_9(self) -> Self
fn min_size_neg_9(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_10(self) -> Self
fn min_size_10(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_10(self) -> Self
fn min_size_neg_10(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_11(self) -> Self
fn min_size_11(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_11(self) -> Self
fn min_size_neg_11(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_12(self) -> Self
fn min_size_12(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_12(self) -> Self
fn min_size_neg_12(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_16(self) -> Self
fn min_size_16(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_16(self) -> Self
fn min_size_neg_16(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_20(self) -> Self
fn min_size_20(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_20(self) -> Self
fn min_size_neg_20(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_24(self) -> Self
fn min_size_24(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_24(self) -> Self
fn min_size_neg_24(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_32(self) -> Self
fn min_size_32(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_32(self) -> Self
fn min_size_neg_32(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_40(self) -> Self
fn min_size_40(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_40(self) -> Self
fn min_size_neg_40(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_48(self) -> Self
fn min_size_48(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_48(self) -> Self
fn min_size_neg_48(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_56(self) -> Self
fn min_size_56(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_56(self) -> Self
fn min_size_neg_56(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_64(self) -> Self
fn min_size_64(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_64(self) -> Self
fn min_size_neg_64(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_72(self) -> Self
fn min_size_72(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_72(self) -> Self
fn min_size_neg_72(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_80(self) -> Self
fn min_size_80(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_80(self) -> Self
fn min_size_neg_80(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_96(self) -> Self
fn min_size_96(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_96(self) -> Self
fn min_size_neg_96(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_112(self) -> Self
fn min_size_112(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_112(self) -> Self
fn min_size_neg_112(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_128(self) -> Self
fn min_size_128(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_128(self) -> Self
fn min_size_neg_128(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_auto(self) -> Self
fn min_size_auto(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_px(self) -> Self
fn min_size_px(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_px(self) -> Self
fn min_size_neg_px(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_full(self) -> Self
fn min_size_full(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_full(self) -> Self
fn min_size_neg_full(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_1_2(self) -> Self
fn min_size_1_2(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_1_2(self) -> Self
fn min_size_neg_1_2(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_1_3(self) -> Self
fn min_size_1_3(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_1_3(self) -> Self
fn min_size_neg_1_3(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_2_3(self) -> Self
fn min_size_2_3(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_2_3(self) -> Self
fn min_size_neg_2_3(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_1_4(self) -> Self
fn min_size_1_4(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_1_4(self) -> Self
fn min_size_neg_1_4(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_2_4(self) -> Self
fn min_size_2_4(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_2_4(self) -> Self
fn min_size_neg_2_4(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_3_4(self) -> Self
fn min_size_3_4(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_3_4(self) -> Self
fn min_size_neg_3_4(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_1_5(self) -> Self
fn min_size_1_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_1_5(self) -> Self
fn min_size_neg_1_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_2_5(self) -> Self
fn min_size_2_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_2_5(self) -> Self
fn min_size_neg_2_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_3_5(self) -> Self
fn min_size_3_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_3_5(self) -> Self
fn min_size_neg_3_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_4_5(self) -> Self
fn min_size_4_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_4_5(self) -> Self
fn min_size_neg_4_5(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_1_6(self) -> Self
fn min_size_1_6(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_1_6(self) -> Self
fn min_size_neg_1_6(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_5_6(self) -> Self
fn min_size_5_6(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_5_6(self) -> Self
fn min_size_neg_5_6(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_1_12(self) -> Self
fn min_size_1_12(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_size_neg_1_12(self) -> Self
fn min_size_neg_1_12(self) -> Self
Sets the minimum width and height of the element. Read more
Source§fn min_w(self, length: impl Clone + Into<Length>) -> Self
fn min_w(self, length: impl Clone + Into<Length>) -> Self
Sets the minimum width of the element. Docs
Source§fn min_w_neg_0(self) -> Self
fn min_w_neg_0(self) -> Self
Source§fn min_w_neg_0p5(self) -> Self
fn min_w_neg_0p5(self) -> Self
Source§fn min_w_neg_1(self) -> Self
fn min_w_neg_1(self) -> Self
Source§fn min_w_neg_1p5(self) -> Self
fn min_w_neg_1p5(self) -> Self
Source§fn min_w_neg_2(self) -> Self
fn min_w_neg_2(self) -> Self
Source§fn min_w_neg_2p5(self) -> Self
fn min_w_neg_2p5(self) -> Self
Source§fn min_w_neg_3(self) -> Self
fn min_w_neg_3(self) -> Self
Source§fn min_w_neg_3p5(self) -> Self
fn min_w_neg_3p5(self) -> Self
Source§fn min_w_neg_4(self) -> Self
fn min_w_neg_4(self) -> Self
Source§fn min_w_neg_5(self) -> Self
fn min_w_neg_5(self) -> Self
Source§fn min_w_neg_6(self) -> Self
fn min_w_neg_6(self) -> Self
Source§fn min_w_neg_7(self) -> Self
fn min_w_neg_7(self) -> Self
Source§fn min_w_neg_8(self) -> Self
fn min_w_neg_8(self) -> Self
Source§fn min_w_neg_9(self) -> Self
fn min_w_neg_9(self) -> Self
Source§fn min_w_neg_10(self) -> Self
fn min_w_neg_10(self) -> Self
Source§fn min_w_neg_11(self) -> Self
fn min_w_neg_11(self) -> Self
Source§fn min_w_neg_12(self) -> Self
fn min_w_neg_12(self) -> Self
Source§fn min_w_neg_16(self) -> Self
fn min_w_neg_16(self) -> Self
Source§fn min_w_neg_20(self) -> Self
fn min_w_neg_20(self) -> Self
Source§fn min_w_neg_24(self) -> Self
fn min_w_neg_24(self) -> Self
Source§fn min_w_neg_32(self) -> Self
fn min_w_neg_32(self) -> Self
Source§fn min_w_neg_40(self) -> Self
fn min_w_neg_40(self) -> Self
Source§fn min_w_neg_48(self) -> Self
fn min_w_neg_48(self) -> Self
Source§fn min_w_neg_56(self) -> Self
fn min_w_neg_56(self) -> Self
Source§fn min_w_neg_64(self) -> Self
fn min_w_neg_64(self) -> Self
Source§fn min_w_neg_72(self) -> Self
fn min_w_neg_72(self) -> Self
Source§fn min_w_neg_80(self) -> Self
fn min_w_neg_80(self) -> Self
Source§fn min_w_neg_96(self) -> Self
fn min_w_neg_96(self) -> Self
Source§fn min_w_neg_112(self) -> Self
fn min_w_neg_112(self) -> Self
Source§fn min_w_neg_128(self) -> Self
fn min_w_neg_128(self) -> Self
Source§fn min_w_auto(self) -> Self
fn min_w_auto(self) -> Self
Source§fn min_w_neg_px(self) -> Self
fn min_w_neg_px(self) -> Self
Source§fn min_w_full(self) -> Self
fn min_w_full(self) -> Self
Source§fn min_w_neg_full(self) -> Self
fn min_w_neg_full(self) -> Self
Source§fn min_w_neg_1_2(self) -> Self
fn min_w_neg_1_2(self) -> Self
Source§fn min_w_neg_1_3(self) -> Self
fn min_w_neg_1_3(self) -> Self
Source§fn min_w_neg_2_3(self) -> Self
fn min_w_neg_2_3(self) -> Self
Source§fn min_w_neg_1_4(self) -> Self
fn min_w_neg_1_4(self) -> Self
Source§fn min_w_neg_2_4(self) -> Self
fn min_w_neg_2_4(self) -> Self
Source§fn min_w_neg_3_4(self) -> Self
fn min_w_neg_3_4(self) -> Self
Source§fn min_w_neg_1_5(self) -> Self
fn min_w_neg_1_5(self) -> Self
Source§fn min_w_neg_2_5(self) -> Self
fn min_w_neg_2_5(self) -> Self
Source§fn min_w_neg_3_5(self) -> Self
fn min_w_neg_3_5(self) -> Self
Source§fn min_w_neg_4_5(self) -> Self
fn min_w_neg_4_5(self) -> Self
Source§fn min_w_neg_1_6(self) -> Self
fn min_w_neg_1_6(self) -> Self
Source§fn min_w_neg_5_6(self) -> Self
fn min_w_neg_5_6(self) -> Self
Source§fn min_w_1_12(self) -> Self
fn min_w_1_12(self) -> Self
Source§fn min_w_neg_1_12(self) -> Self
fn min_w_neg_1_12(self) -> Self
Source§fn min_h(self, length: impl Clone + Into<Length>) -> Self
fn min_h(self, length: impl Clone + Into<Length>) -> Self
Sets the minimum height of the element. Docs
Source§fn min_h_neg_0(self) -> Self
fn min_h_neg_0(self) -> Self
Source§fn min_h_neg_0p5(self) -> Self
fn min_h_neg_0p5(self) -> Self
Source§fn min_h_neg_1(self) -> Self
fn min_h_neg_1(self) -> Self
Source§fn min_h_neg_1p5(self) -> Self
fn min_h_neg_1p5(self) -> Self
Source§fn min_h_neg_2(self) -> Self
fn min_h_neg_2(self) -> Self
Source§fn min_h_neg_2p5(self) -> Self
fn min_h_neg_2p5(self) -> Self
Source§fn min_h_neg_3(self) -> Self
fn min_h_neg_3(self) -> Self
Source§fn min_h_neg_3p5(self) -> Self
fn min_h_neg_3p5(self) -> Self
Source§fn min_h_neg_4(self) -> Self
fn min_h_neg_4(self) -> Self
Source§fn min_h_neg_5(self) -> Self
fn min_h_neg_5(self) -> Self
Source§fn min_h_neg_6(self) -> Self
fn min_h_neg_6(self) -> Self
Source§fn min_h_neg_7(self) -> Self
fn min_h_neg_7(self) -> Self
Source§fn min_h_neg_8(self) -> Self
fn min_h_neg_8(self) -> Self
Source§fn min_h_neg_9(self) -> Self
fn min_h_neg_9(self) -> Self
Source§fn min_h_neg_10(self) -> Self
fn min_h_neg_10(self) -> Self
Source§fn min_h_neg_11(self) -> Self
fn min_h_neg_11(self) -> Self
Source§fn min_h_neg_12(self) -> Self
fn min_h_neg_12(self) -> Self
Source§fn min_h_neg_16(self) -> Self
fn min_h_neg_16(self) -> Self
Source§fn min_h_neg_20(self) -> Self
fn min_h_neg_20(self) -> Self
Source§fn min_h_neg_24(self) -> Self
fn min_h_neg_24(self) -> Self
Source§fn min_h_neg_32(self) -> Self
fn min_h_neg_32(self) -> Self
Source§fn min_h_neg_40(self) -> Self
fn min_h_neg_40(self) -> Self
Source§fn min_h_neg_48(self) -> Self
fn min_h_neg_48(self) -> Self
Source§fn min_h_neg_56(self) -> Self
fn min_h_neg_56(self) -> Self
Source§fn min_h_neg_64(self) -> Self
fn min_h_neg_64(self) -> Self
Source§fn min_h_neg_72(self) -> Self
fn min_h_neg_72(self) -> Self
Source§fn min_h_neg_80(self) -> Self
fn min_h_neg_80(self) -> Self
Source§fn min_h_neg_96(self) -> Self
fn min_h_neg_96(self) -> Self
Source§fn min_h_neg_112(self) -> Self
fn min_h_neg_112(self) -> Self
Source§fn min_h_neg_128(self) -> Self
fn min_h_neg_128(self) -> Self
Source§fn min_h_auto(self) -> Self
fn min_h_auto(self) -> Self
Source§fn min_h_neg_px(self) -> Self
fn min_h_neg_px(self) -> Self
Source§fn min_h_full(self) -> Self
fn min_h_full(self) -> Self
Source§fn min_h_neg_full(self) -> Self
fn min_h_neg_full(self) -> Self
Source§fn min_h_neg_1_2(self) -> Self
fn min_h_neg_1_2(self) -> Self
Source§fn min_h_neg_1_3(self) -> Self
fn min_h_neg_1_3(self) -> Self
Source§fn min_h_neg_2_3(self) -> Self
fn min_h_neg_2_3(self) -> Self
Source§fn min_h_neg_1_4(self) -> Self
fn min_h_neg_1_4(self) -> Self
Source§fn min_h_neg_2_4(self) -> Self
fn min_h_neg_2_4(self) -> Self
Source§fn min_h_neg_3_4(self) -> Self
fn min_h_neg_3_4(self) -> Self
Source§fn min_h_neg_1_5(self) -> Self
fn min_h_neg_1_5(self) -> Self
Source§fn min_h_neg_2_5(self) -> Self
fn min_h_neg_2_5(self) -> Self
Source§fn min_h_neg_3_5(self) -> Self
fn min_h_neg_3_5(self) -> Self
Source§fn min_h_neg_4_5(self) -> Self
fn min_h_neg_4_5(self) -> Self
Source§fn min_h_neg_1_6(self) -> Self
fn min_h_neg_1_6(self) -> Self
Source§fn min_h_neg_5_6(self) -> Self
fn min_h_neg_5_6(self) -> Self
Source§fn min_h_1_12(self) -> Self
fn min_h_1_12(self) -> Self
Source§fn min_h_neg_1_12(self) -> Self
fn min_h_neg_1_12(self) -> Self
Source§fn max_size(self, length: impl Clone + Into<Length>) -> Self
fn max_size(self, length: impl Clone + Into<Length>) -> Self
Sets the maximum width and height of the element.
Source§fn max_size_0(self) -> Self
fn max_size_0(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_0(self) -> Self
fn max_size_neg_0(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_0p5(self) -> Self
fn max_size_0p5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_0p5(self) -> Self
fn max_size_neg_0p5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_1(self) -> Self
fn max_size_1(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_1(self) -> Self
fn max_size_neg_1(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_1p5(self) -> Self
fn max_size_1p5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_1p5(self) -> Self
fn max_size_neg_1p5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_2(self) -> Self
fn max_size_2(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_2(self) -> Self
fn max_size_neg_2(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_2p5(self) -> Self
fn max_size_2p5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_2p5(self) -> Self
fn max_size_neg_2p5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_3(self) -> Self
fn max_size_3(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_3(self) -> Self
fn max_size_neg_3(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_3p5(self) -> Self
fn max_size_3p5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_3p5(self) -> Self
fn max_size_neg_3p5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_4(self) -> Self
fn max_size_4(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_4(self) -> Self
fn max_size_neg_4(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_5(self) -> Self
fn max_size_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_5(self) -> Self
fn max_size_neg_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_6(self) -> Self
fn max_size_6(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_6(self) -> Self
fn max_size_neg_6(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_7(self) -> Self
fn max_size_7(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_7(self) -> Self
fn max_size_neg_7(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_8(self) -> Self
fn max_size_8(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_8(self) -> Self
fn max_size_neg_8(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_9(self) -> Self
fn max_size_9(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_9(self) -> Self
fn max_size_neg_9(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_10(self) -> Self
fn max_size_10(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_10(self) -> Self
fn max_size_neg_10(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_11(self) -> Self
fn max_size_11(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_11(self) -> Self
fn max_size_neg_11(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_12(self) -> Self
fn max_size_12(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_12(self) -> Self
fn max_size_neg_12(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_16(self) -> Self
fn max_size_16(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_16(self) -> Self
fn max_size_neg_16(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_20(self) -> Self
fn max_size_20(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_20(self) -> Self
fn max_size_neg_20(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_24(self) -> Self
fn max_size_24(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_24(self) -> Self
fn max_size_neg_24(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_32(self) -> Self
fn max_size_32(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_32(self) -> Self
fn max_size_neg_32(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_40(self) -> Self
fn max_size_40(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_40(self) -> Self
fn max_size_neg_40(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_48(self) -> Self
fn max_size_48(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_48(self) -> Self
fn max_size_neg_48(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_56(self) -> Self
fn max_size_56(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_56(self) -> Self
fn max_size_neg_56(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_64(self) -> Self
fn max_size_64(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_64(self) -> Self
fn max_size_neg_64(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_72(self) -> Self
fn max_size_72(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_72(self) -> Self
fn max_size_neg_72(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_80(self) -> Self
fn max_size_80(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_80(self) -> Self
fn max_size_neg_80(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_96(self) -> Self
fn max_size_96(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_96(self) -> Self
fn max_size_neg_96(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_112(self) -> Self
fn max_size_112(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_112(self) -> Self
fn max_size_neg_112(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_128(self) -> Self
fn max_size_128(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_128(self) -> Self
fn max_size_neg_128(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_auto(self) -> Self
fn max_size_auto(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_px(self) -> Self
fn max_size_px(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_px(self) -> Self
fn max_size_neg_px(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_full(self) -> Self
fn max_size_full(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_full(self) -> Self
fn max_size_neg_full(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_1_2(self) -> Self
fn max_size_1_2(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_1_2(self) -> Self
fn max_size_neg_1_2(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_1_3(self) -> Self
fn max_size_1_3(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_1_3(self) -> Self
fn max_size_neg_1_3(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_2_3(self) -> Self
fn max_size_2_3(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_2_3(self) -> Self
fn max_size_neg_2_3(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_1_4(self) -> Self
fn max_size_1_4(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_1_4(self) -> Self
fn max_size_neg_1_4(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_2_4(self) -> Self
fn max_size_2_4(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_2_4(self) -> Self
fn max_size_neg_2_4(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_3_4(self) -> Self
fn max_size_3_4(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_3_4(self) -> Self
fn max_size_neg_3_4(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_1_5(self) -> Self
fn max_size_1_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_1_5(self) -> Self
fn max_size_neg_1_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_2_5(self) -> Self
fn max_size_2_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_2_5(self) -> Self
fn max_size_neg_2_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_3_5(self) -> Self
fn max_size_3_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_3_5(self) -> Self
fn max_size_neg_3_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_4_5(self) -> Self
fn max_size_4_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_4_5(self) -> Self
fn max_size_neg_4_5(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_1_6(self) -> Self
fn max_size_1_6(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_1_6(self) -> Self
fn max_size_neg_1_6(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_5_6(self) -> Self
fn max_size_5_6(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_5_6(self) -> Self
fn max_size_neg_5_6(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_1_12(self) -> Self
fn max_size_1_12(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_size_neg_1_12(self) -> Self
fn max_size_neg_1_12(self) -> Self
Sets the maximum width and height of the element. Read more
Source§fn max_w(self, length: impl Clone + Into<Length>) -> Self
fn max_w(self, length: impl Clone + Into<Length>) -> Self
Sets the maximum width of the element. Docs
Source§fn max_w_neg_0(self) -> Self
fn max_w_neg_0(self) -> Self
Source§fn max_w_neg_0p5(self) -> Self
fn max_w_neg_0p5(self) -> Self
Source§fn max_w_neg_1(self) -> Self
fn max_w_neg_1(self) -> Self
Source§fn max_w_neg_1p5(self) -> Self
fn max_w_neg_1p5(self) -> Self
Source§fn max_w_neg_2(self) -> Self
fn max_w_neg_2(self) -> Self
Source§fn max_w_neg_2p5(self) -> Self
fn max_w_neg_2p5(self) -> Self
Source§fn max_w_neg_3(self) -> Self
fn max_w_neg_3(self) -> Self
Source§fn max_w_neg_3p5(self) -> Self
fn max_w_neg_3p5(self) -> Self
Source§fn max_w_neg_4(self) -> Self
fn max_w_neg_4(self) -> Self
Source§fn max_w_neg_5(self) -> Self
fn max_w_neg_5(self) -> Self
Source§fn max_w_neg_6(self) -> Self
fn max_w_neg_6(self) -> Self
Source§fn max_w_neg_7(self) -> Self
fn max_w_neg_7(self) -> Self
Source§fn max_w_neg_8(self) -> Self
fn max_w_neg_8(self) -> Self
Source§fn max_w_neg_9(self) -> Self
fn max_w_neg_9(self) -> Self
Source§fn max_w_neg_10(self) -> Self
fn max_w_neg_10(self) -> Self
Source§fn max_w_neg_11(self) -> Self
fn max_w_neg_11(self) -> Self
Source§fn max_w_neg_12(self) -> Self
fn max_w_neg_12(self) -> Self
Source§fn max_w_neg_16(self) -> Self
fn max_w_neg_16(self) -> Self
Source§fn max_w_neg_20(self) -> Self
fn max_w_neg_20(self) -> Self
Source§fn max_w_neg_24(self) -> Self
fn max_w_neg_24(self) -> Self
Source§fn max_w_neg_32(self) -> Self
fn max_w_neg_32(self) -> Self
Source§fn max_w_neg_40(self) -> Self
fn max_w_neg_40(self) -> Self
Source§fn max_w_neg_48(self) -> Self
fn max_w_neg_48(self) -> Self
Source§fn max_w_neg_56(self) -> Self
fn max_w_neg_56(self) -> Self
Source§fn max_w_neg_64(self) -> Self
fn max_w_neg_64(self) -> Self
Source§fn max_w_neg_72(self) -> Self
fn max_w_neg_72(self) -> Self
Source§fn max_w_neg_80(self) -> Self
fn max_w_neg_80(self) -> Self
Source§fn max_w_neg_96(self) -> Self
fn max_w_neg_96(self) -> Self
Source§fn max_w_neg_112(self) -> Self
fn max_w_neg_112(self) -> Self
Source§fn max_w_neg_128(self) -> Self
fn max_w_neg_128(self) -> Self
Source§fn max_w_auto(self) -> Self
fn max_w_auto(self) -> Self
Source§fn max_w_neg_px(self) -> Self
fn max_w_neg_px(self) -> Self
Source§fn max_w_full(self) -> Self
fn max_w_full(self) -> Self
Source§fn max_w_neg_full(self) -> Self
fn max_w_neg_full(self) -> Self
Source§fn max_w_neg_1_2(self) -> Self
fn max_w_neg_1_2(self) -> Self
Source§fn max_w_neg_1_3(self) -> Self
fn max_w_neg_1_3(self) -> Self
Source§fn max_w_neg_2_3(self) -> Self
fn max_w_neg_2_3(self) -> Self
Source§fn max_w_neg_1_4(self) -> Self
fn max_w_neg_1_4(self) -> Self
Source§fn max_w_neg_2_4(self) -> Self
fn max_w_neg_2_4(self) -> Self
Source§fn max_w_neg_3_4(self) -> Self
fn max_w_neg_3_4(self) -> Self
Source§fn max_w_neg_1_5(self) -> Self
fn max_w_neg_1_5(self) -> Self
Source§fn max_w_neg_2_5(self) -> Self
fn max_w_neg_2_5(self) -> Self
Source§fn max_w_neg_3_5(self) -> Self
fn max_w_neg_3_5(self) -> Self
Source§fn max_w_neg_4_5(self) -> Self
fn max_w_neg_4_5(self) -> Self
Source§fn max_w_neg_1_6(self) -> Self
fn max_w_neg_1_6(self) -> Self
Source§fn max_w_neg_5_6(self) -> Self
fn max_w_neg_5_6(self) -> Self
Source§fn max_w_1_12(self) -> Self
fn max_w_1_12(self) -> Self
Source§fn max_w_neg_1_12(self) -> Self
fn max_w_neg_1_12(self) -> Self
Source§fn max_h(self, length: impl Clone + Into<Length>) -> Self
fn max_h(self, length: impl Clone + Into<Length>) -> Self
Sets the maximum height of the element. Docs
Source§fn max_h_neg_0(self) -> Self
fn max_h_neg_0(self) -> Self
Source§fn max_h_neg_0p5(self) -> Self
fn max_h_neg_0p5(self) -> Self
Source§fn max_h_neg_1(self) -> Self
fn max_h_neg_1(self) -> Self
Source§fn max_h_neg_1p5(self) -> Self
fn max_h_neg_1p5(self) -> Self
Source§fn max_h_neg_2(self) -> Self
fn max_h_neg_2(self) -> Self
Source§fn max_h_neg_2p5(self) -> Self
fn max_h_neg_2p5(self) -> Self
Source§fn max_h_neg_3(self) -> Self
fn max_h_neg_3(self) -> Self
Source§fn max_h_neg_3p5(self) -> Self
fn max_h_neg_3p5(self) -> Self
Source§fn max_h_neg_4(self) -> Self
fn max_h_neg_4(self) -> Self
Source§fn max_h_neg_5(self) -> Self
fn max_h_neg_5(self) -> Self
Source§fn max_h_neg_6(self) -> Self
fn max_h_neg_6(self) -> Self
Source§fn max_h_neg_7(self) -> Self
fn max_h_neg_7(self) -> Self
Source§fn max_h_neg_8(self) -> Self
fn max_h_neg_8(self) -> Self
Source§fn max_h_neg_9(self) -> Self
fn max_h_neg_9(self) -> Self
Source§fn max_h_neg_10(self) -> Self
fn max_h_neg_10(self) -> Self
Source§fn max_h_neg_11(self) -> Self
fn max_h_neg_11(self) -> Self
Source§fn max_h_neg_12(self) -> Self
fn max_h_neg_12(self) -> Self
Source§fn max_h_neg_16(self) -> Self
fn max_h_neg_16(self) -> Self
Source§fn max_h_neg_20(self) -> Self
fn max_h_neg_20(self) -> Self
Source§fn max_h_neg_24(self) -> Self
fn max_h_neg_24(self) -> Self
Source§fn max_h_neg_32(self) -> Self
fn max_h_neg_32(self) -> Self
Source§fn max_h_neg_40(self) -> Self
fn max_h_neg_40(self) -> Self
Source§fn max_h_neg_48(self) -> Self
fn max_h_neg_48(self) -> Self
Source§fn max_h_neg_56(self) -> Self
fn max_h_neg_56(self) -> Self
Source§fn max_h_neg_64(self) -> Self
fn max_h_neg_64(self) -> Self
Source§fn max_h_neg_72(self) -> Self
fn max_h_neg_72(self) -> Self
Source§fn max_h_neg_80(self) -> Self
fn max_h_neg_80(self) -> Self
Source§fn max_h_neg_96(self) -> Self
fn max_h_neg_96(self) -> Self
Source§fn max_h_neg_112(self) -> Self
fn max_h_neg_112(self) -> Self
Source§fn max_h_neg_128(self) -> Self
fn max_h_neg_128(self) -> Self
Source§fn max_h_auto(self) -> Self
fn max_h_auto(self) -> Self
Source§fn max_h_neg_px(self) -> Self
fn max_h_neg_px(self) -> Self
Source§fn max_h_full(self) -> Self
fn max_h_full(self) -> Self
Source§fn max_h_neg_full(self) -> Self
fn max_h_neg_full(self) -> Self
Source§fn max_h_neg_1_2(self) -> Self
fn max_h_neg_1_2(self) -> Self
Source§fn max_h_neg_1_3(self) -> Self
fn max_h_neg_1_3(self) -> Self
Source§fn max_h_neg_2_3(self) -> Self
fn max_h_neg_2_3(self) -> Self
Source§fn max_h_neg_1_4(self) -> Self
fn max_h_neg_1_4(self) -> Self
Source§fn max_h_neg_2_4(self) -> Self
fn max_h_neg_2_4(self) -> Self
Source§fn max_h_neg_3_4(self) -> Self
fn max_h_neg_3_4(self) -> Self
Source§fn max_h_neg_1_5(self) -> Self
fn max_h_neg_1_5(self) -> Self
Source§fn max_h_neg_2_5(self) -> Self
fn max_h_neg_2_5(self) -> Self
Source§fn max_h_neg_3_5(self) -> Self
fn max_h_neg_3_5(self) -> Self
Source§fn max_h_neg_4_5(self) -> Self
fn max_h_neg_4_5(self) -> Self
Source§fn max_h_neg_1_6(self) -> Self
fn max_h_neg_1_6(self) -> Self
Source§fn max_h_neg_5_6(self) -> Self
fn max_h_neg_5_6(self) -> Self
Source§fn max_h_1_12(self) -> Self
fn max_h_1_12(self) -> Self
Source§fn max_h_neg_1_12(self) -> Self
fn max_h_neg_1_12(self) -> Self
Source§fn gap(self, length: impl Clone + Into<DefiniteLength>) -> Self
fn gap(self, length: impl Clone + Into<DefiniteLength>) -> Self
Sets the gap between rows and columns in flex layouts. Docs
Source§fn gap_neg_0p5(self) -> Self
fn gap_neg_0p5(self) -> Self
Source§fn gap_neg_1p5(self) -> Self
fn gap_neg_1p5(self) -> Self
Source§fn gap_neg_2p5(self) -> Self
fn gap_neg_2p5(self) -> Self
Source§fn gap_neg_3p5(self) -> Self
fn gap_neg_3p5(self) -> Self
Source§fn gap_neg_10(self) -> Self
fn gap_neg_10(self) -> Self
Source§fn gap_neg_11(self) -> Self
fn gap_neg_11(self) -> Self
Source§fn gap_neg_12(self) -> Self
fn gap_neg_12(self) -> Self
Source§fn gap_neg_16(self) -> Self
fn gap_neg_16(self) -> Self
Source§fn gap_neg_20(self) -> Self
fn gap_neg_20(self) -> Self
Source§fn gap_neg_24(self) -> Self
fn gap_neg_24(self) -> Self
Source§fn gap_neg_32(self) -> Self
fn gap_neg_32(self) -> Self
Source§fn gap_neg_40(self) -> Self
fn gap_neg_40(self) -> Self
Source§fn gap_neg_48(self) -> Self
fn gap_neg_48(self) -> Self
Source§fn gap_neg_56(self) -> Self
fn gap_neg_56(self) -> Self
Source§fn gap_neg_64(self) -> Self
fn gap_neg_64(self) -> Self
Source§fn gap_neg_72(self) -> Self
fn gap_neg_72(self) -> Self
Source§fn gap_neg_80(self) -> Self
fn gap_neg_80(self) -> Self
Source§fn gap_neg_96(self) -> Self
fn gap_neg_96(self) -> Self
Source§fn gap_neg_112(self) -> Self
fn gap_neg_112(self) -> Self
Source§fn gap_neg_128(self) -> Self
fn gap_neg_128(self) -> Self
Source§fn gap_neg_px(self) -> Self
fn gap_neg_px(self) -> Self
Source§fn gap_neg_full(self) -> Self
fn gap_neg_full(self) -> Self
Source§fn gap_neg_1_2(self) -> Self
fn gap_neg_1_2(self) -> Self
Source§fn gap_neg_1_3(self) -> Self
fn gap_neg_1_3(self) -> Self
Source§fn gap_neg_2_3(self) -> Self
fn gap_neg_2_3(self) -> Self
Source§fn gap_neg_1_4(self) -> Self
fn gap_neg_1_4(self) -> Self
Source§fn gap_neg_2_4(self) -> Self
fn gap_neg_2_4(self) -> Self
Source§fn gap_neg_3_4(self) -> Self
fn gap_neg_3_4(self) -> Self
Source§fn gap_neg_1_5(self) -> Self
fn gap_neg_1_5(self) -> Self
Source§fn gap_neg_2_5(self) -> Self
fn gap_neg_2_5(self) -> Self
Source§fn gap_neg_3_5(self) -> Self
fn gap_neg_3_5(self) -> Self
Source§fn gap_neg_4_5(self) -> Self
fn gap_neg_4_5(self) -> Self
Source§fn gap_neg_1_6(self) -> Self
fn gap_neg_1_6(self) -> Self
Source§fn gap_neg_5_6(self) -> Self
fn gap_neg_5_6(self) -> Self
Source§fn gap_neg_1_12(self) -> Self
fn gap_neg_1_12(self) -> Self
Source§fn gap_x(self, length: impl Clone + Into<DefiniteLength>) -> Self
fn gap_x(self, length: impl Clone + Into<DefiniteLength>) -> Self
Sets the gap between columns in flex layouts. Docs
Source§fn gap_x_neg_0(self) -> Self
fn gap_x_neg_0(self) -> Self
Source§fn gap_x_neg_0p5(self) -> Self
fn gap_x_neg_0p5(self) -> Self
Source§fn gap_x_neg_1(self) -> Self
fn gap_x_neg_1(self) -> Self
Source§fn gap_x_neg_1p5(self) -> Self
fn gap_x_neg_1p5(self) -> Self
Source§fn gap_x_neg_2(self) -> Self
fn gap_x_neg_2(self) -> Self
Source§fn gap_x_neg_2p5(self) -> Self
fn gap_x_neg_2p5(self) -> Self
Source§fn gap_x_neg_3(self) -> Self
fn gap_x_neg_3(self) -> Self
Source§fn gap_x_neg_3p5(self) -> Self
fn gap_x_neg_3p5(self) -> Self
Source§fn gap_x_neg_4(self) -> Self
fn gap_x_neg_4(self) -> Self
Source§fn gap_x_neg_5(self) -> Self
fn gap_x_neg_5(self) -> Self
Source§fn gap_x_neg_6(self) -> Self
fn gap_x_neg_6(self) -> Self
Source§fn gap_x_neg_7(self) -> Self
fn gap_x_neg_7(self) -> Self
Source§fn gap_x_neg_8(self) -> Self
fn gap_x_neg_8(self) -> Self
Source§fn gap_x_neg_9(self) -> Self
fn gap_x_neg_9(self) -> Self
Source§fn gap_x_neg_10(self) -> Self
fn gap_x_neg_10(self) -> Self
Source§fn gap_x_neg_11(self) -> Self
fn gap_x_neg_11(self) -> Self
Source§fn gap_x_neg_12(self) -> Self
fn gap_x_neg_12(self) -> Self
Source§fn gap_x_neg_16(self) -> Self
fn gap_x_neg_16(self) -> Self
Source§fn gap_x_neg_20(self) -> Self
fn gap_x_neg_20(self) -> Self
Source§fn gap_x_neg_24(self) -> Self
fn gap_x_neg_24(self) -> Self
Source§fn gap_x_neg_32(self) -> Self
fn gap_x_neg_32(self) -> Self
Source§fn gap_x_neg_40(self) -> Self
fn gap_x_neg_40(self) -> Self
Source§fn gap_x_neg_48(self) -> Self
fn gap_x_neg_48(self) -> Self
Source§fn gap_x_neg_56(self) -> Self
fn gap_x_neg_56(self) -> Self
Source§fn gap_x_neg_64(self) -> Self
fn gap_x_neg_64(self) -> Self
Source§fn gap_x_neg_72(self) -> Self
fn gap_x_neg_72(self) -> Self
Source§fn gap_x_neg_80(self) -> Self
fn gap_x_neg_80(self) -> Self
Source§fn gap_x_neg_96(self) -> Self
fn gap_x_neg_96(self) -> Self
Source§fn gap_x_neg_112(self) -> Self
fn gap_x_neg_112(self) -> Self
Source§fn gap_x_neg_128(self) -> Self
fn gap_x_neg_128(self) -> Self
Source§fn gap_x_neg_px(self) -> Self
fn gap_x_neg_px(self) -> Self
Source§fn gap_x_full(self) -> Self
fn gap_x_full(self) -> Self
Source§fn gap_x_neg_full(self) -> Self
fn gap_x_neg_full(self) -> Self
Source§fn gap_x_neg_1_2(self) -> Self
fn gap_x_neg_1_2(self) -> Self
Source§fn gap_x_neg_1_3(self) -> Self
fn gap_x_neg_1_3(self) -> Self
Source§fn gap_x_neg_2_3(self) -> Self
fn gap_x_neg_2_3(self) -> Self
Source§fn gap_x_neg_1_4(self) -> Self
fn gap_x_neg_1_4(self) -> Self
Source§fn gap_x_neg_2_4(self) -> Self
fn gap_x_neg_2_4(self) -> Self
Source§fn gap_x_neg_3_4(self) -> Self
fn gap_x_neg_3_4(self) -> Self
Source§fn gap_x_neg_1_5(self) -> Self
fn gap_x_neg_1_5(self) -> Self
Source§fn gap_x_neg_2_5(self) -> Self
fn gap_x_neg_2_5(self) -> Self
Source§fn gap_x_neg_3_5(self) -> Self
fn gap_x_neg_3_5(self) -> Self
Source§fn gap_x_neg_4_5(self) -> Self
fn gap_x_neg_4_5(self) -> Self
Source§fn gap_x_neg_1_6(self) -> Self
fn gap_x_neg_1_6(self) -> Self
Source§fn gap_x_neg_5_6(self) -> Self
fn gap_x_neg_5_6(self) -> Self
Source§fn gap_x_1_12(self) -> Self
fn gap_x_1_12(self) -> Self
Source§fn gap_x_neg_1_12(self) -> Self
fn gap_x_neg_1_12(self) -> Self
Source§fn gap_y(self, length: impl Clone + Into<DefiniteLength>) -> Self
fn gap_y(self, length: impl Clone + Into<DefiniteLength>) -> Self
Sets the gap between rows in flex layouts. Docs
Source§fn gap_y_neg_0(self) -> Self
fn gap_y_neg_0(self) -> Self
Source§fn gap_y_neg_0p5(self) -> Self
fn gap_y_neg_0p5(self) -> Self
Source§fn gap_y_neg_1(self) -> Self
fn gap_y_neg_1(self) -> Self
Source§fn gap_y_neg_1p5(self) -> Self
fn gap_y_neg_1p5(self) -> Self
Source§fn gap_y_neg_2(self) -> Self
fn gap_y_neg_2(self) -> Self
Source§fn gap_y_neg_2p5(self) -> Self
fn gap_y_neg_2p5(self) -> Self
Source§fn gap_y_neg_3(self) -> Self
fn gap_y_neg_3(self) -> Self
Source§fn gap_y_neg_3p5(self) -> Self
fn gap_y_neg_3p5(self) -> Self
Source§fn gap_y_neg_4(self) -> Self
fn gap_y_neg_4(self) -> Self
Source§fn gap_y_neg_5(self) -> Self
fn gap_y_neg_5(self) -> Self
Source§fn gap_y_neg_6(self) -> Self
fn gap_y_neg_6(self) -> Self
Source§fn gap_y_neg_7(self) -> Self
fn gap_y_neg_7(self) -> Self
Source§fn gap_y_neg_8(self) -> Self
fn gap_y_neg_8(self) -> Self
Source§fn gap_y_neg_9(self) -> Self
fn gap_y_neg_9(self) -> Self
Source§fn gap_y_neg_10(self) -> Self
fn gap_y_neg_10(self) -> Self
Source§fn gap_y_neg_11(self) -> Self
fn gap_y_neg_11(self) -> Self
Source§fn gap_y_neg_12(self) -> Self
fn gap_y_neg_12(self) -> Self
Source§fn gap_y_neg_16(self) -> Self
fn gap_y_neg_16(self) -> Self
Source§fn gap_y_neg_20(self) -> Self
fn gap_y_neg_20(self) -> Self
Source§fn gap_y_neg_24(self) -> Self
fn gap_y_neg_24(self) -> Self
Source§fn gap_y_neg_32(self) -> Self
fn gap_y_neg_32(self) -> Self
Source§fn gap_y_neg_40(self) -> Self
fn gap_y_neg_40(self) -> Self
Source§fn gap_y_neg_48(self) -> Self
fn gap_y_neg_48(self) -> Self
Source§fn gap_y_neg_56(self) -> Self
fn gap_y_neg_56(self) -> Self
Source§fn gap_y_neg_64(self) -> Self
fn gap_y_neg_64(self) -> Self
Source§fn gap_y_neg_72(self) -> Self
fn gap_y_neg_72(self) -> Self
Source§fn gap_y_neg_80(self) -> Self
fn gap_y_neg_80(self) -> Self
Source§fn gap_y_neg_96(self) -> Self
fn gap_y_neg_96(self) -> Self
Source§fn gap_y_neg_112(self) -> Self
fn gap_y_neg_112(self) -> Self
Source§fn gap_y_neg_128(self) -> Self
fn gap_y_neg_128(self) -> Self
Source§fn gap_y_neg_px(self) -> Self
fn gap_y_neg_px(self) -> Self
Source§fn gap_y_full(self) -> Self
fn gap_y_full(self) -> Self
Source§fn gap_y_neg_full(self) -> Self
fn gap_y_neg_full(self) -> Self
Source§fn gap_y_neg_1_2(self) -> Self
fn gap_y_neg_1_2(self) -> Self
Source§fn gap_y_neg_1_3(self) -> Self
fn gap_y_neg_1_3(self) -> Self
Source§fn gap_y_neg_2_3(self) -> Self
fn gap_y_neg_2_3(self) -> Self
Source§fn gap_y_neg_1_4(self) -> Self
fn gap_y_neg_1_4(self) -> Self
Source§fn gap_y_neg_2_4(self) -> Self
fn gap_y_neg_2_4(self) -> Self
Source§fn gap_y_neg_3_4(self) -> Self
fn gap_y_neg_3_4(self) -> Self
Source§fn gap_y_neg_1_5(self) -> Self
fn gap_y_neg_1_5(self) -> Self
Source§fn gap_y_neg_2_5(self) -> Self
fn gap_y_neg_2_5(self) -> Self
Source§fn gap_y_neg_3_5(self) -> Self
fn gap_y_neg_3_5(self) -> Self
Source§fn gap_y_neg_4_5(self) -> Self
fn gap_y_neg_4_5(self) -> Self
Source§fn gap_y_neg_1_6(self) -> Self
fn gap_y_neg_1_6(self) -> Self
Source§fn gap_y_neg_5_6(self) -> Self
fn gap_y_neg_5_6(self) -> Self
Source§fn gap_y_1_12(self) -> Self
fn gap_y_1_12(self) -> Self
Source§fn gap_y_neg_1_12(self) -> Self
fn gap_y_neg_1_12(self) -> Self
Source§fn rounded(self, length: impl Clone + Into<AbsoluteLength>) -> Self
fn rounded(self, length: impl Clone + Into<AbsoluteLength>) -> Self
Sets the border radius of the element. Docs
Source§fn rounded_none(self) -> Self
fn rounded_none(self) -> Self
Source§fn rounded_xs(self) -> Self
fn rounded_xs(self) -> Self
Source§fn rounded_sm(self) -> Self
fn rounded_sm(self) -> Self
Source§fn rounded_md(self) -> Self
fn rounded_md(self) -> Self
Source§fn rounded_lg(self) -> Self
fn rounded_lg(self) -> Self
Source§fn rounded_xl(self) -> Self
fn rounded_xl(self) -> Self
Source§fn rounded_2xl(self) -> Self
fn rounded_2xl(self) -> Self
Source§fn rounded_3xl(self) -> Self
fn rounded_3xl(self) -> Self
Source§fn rounded_full(self) -> Self
fn rounded_full(self) -> Self
Source§fn rounded_t(self, length: impl Clone + Into<AbsoluteLength>) -> Self
fn rounded_t(self, length: impl Clone + Into<AbsoluteLength>) -> Self
Sets the border radius of the top side of the element. Docs
Source§fn rounded_t_none(self) -> Self
fn rounded_t_none(self) -> Self
Source§fn rounded_t_xs(self) -> Self
fn rounded_t_xs(self) -> Self
Source§fn rounded_t_sm(self) -> Self
fn rounded_t_sm(self) -> Self
Source§fn rounded_t_md(self) -> Self
fn rounded_t_md(self) -> Self
Source§fn rounded_t_lg(self) -> Self
fn rounded_t_lg(self) -> Self
Source§fn rounded_t_xl(self) -> Self
fn rounded_t_xl(self) -> Self
Source§fn rounded_t_2xl(self) -> Self
fn rounded_t_2xl(self) -> Self
Source§fn rounded_t_3xl(self) -> Self
fn rounded_t_3xl(self) -> Self
Source§fn rounded_t_full(self) -> Self
fn rounded_t_full(self) -> Self
Source§fn rounded_b(self, length: impl Clone + Into<AbsoluteLength>) -> Self
fn rounded_b(self, length: impl Clone + Into<AbsoluteLength>) -> Self
Sets the border radius of the bottom side of the element. Docs
Source§fn rounded_b_none(self) -> Self
fn rounded_b_none(self) -> Self
Source§fn rounded_b_xs(self) -> Self
fn rounded_b_xs(self) -> Self
Source§fn rounded_b_sm(self) -> Self
fn rounded_b_sm(self) -> Self
Source§fn rounded_b_md(self) -> Self
fn rounded_b_md(self) -> Self
Source§fn rounded_b_lg(self) -> Self
fn rounded_b_lg(self) -> Self
Source§fn rounded_b_xl(self) -> Self
fn rounded_b_xl(self) -> Self
Source§fn rounded_b_2xl(self) -> Self
fn rounded_b_2xl(self) -> Self
Source§fn rounded_b_3xl(self) -> Self
fn rounded_b_3xl(self) -> Self
Source§fn rounded_b_full(self) -> Self
fn rounded_b_full(self) -> Self
Source§fn rounded_r(self, length: impl Clone + Into<AbsoluteLength>) -> Self
fn rounded_r(self, length: impl Clone + Into<AbsoluteLength>) -> Self
Sets the border radius of the right side of the element. Docs
Source§fn rounded_r_none(self) -> Self
fn rounded_r_none(self) -> Self
Source§fn rounded_r_xs(self) -> Self
fn rounded_r_xs(self) -> Self
Source§fn rounded_r_sm(self) -> Self
fn rounded_r_sm(self) -> Self
Source§fn rounded_r_md(self) -> Self
fn rounded_r_md(self) -> Self
Source§fn rounded_r_lg(self) -> Self
fn rounded_r_lg(self) -> Self
Source§fn rounded_r_xl(self) -> Self
fn rounded_r_xl(self) -> Self
Source§fn rounded_r_2xl(self) -> Self
fn rounded_r_2xl(self) -> Self
Source§fn rounded_r_3xl(self) -> Self
fn rounded_r_3xl(self) -> Self
Source§fn rounded_r_full(self) -> Self
fn rounded_r_full(self) -> Self
Source§fn rounded_l(self, length: impl Clone + Into<AbsoluteLength>) -> Self
fn rounded_l(self, length: impl Clone + Into<AbsoluteLength>) -> Self
Sets the border radius of the left side of the element. Docs
Source§fn rounded_l_none(self) -> Self
fn rounded_l_none(self) -> Self
Source§fn rounded_l_xs(self) -> Self
fn rounded_l_xs(self) -> Self
Source§fn rounded_l_sm(self) -> Self
fn rounded_l_sm(self) -> Self
Source§fn rounded_l_md(self) -> Self
fn rounded_l_md(self) -> Self
Source§fn rounded_l_lg(self) -> Self
fn rounded_l_lg(self) -> Self
Source§fn rounded_l_xl(self) -> Self
fn rounded_l_xl(self) -> Self
Source§fn rounded_l_2xl(self) -> Self
fn rounded_l_2xl(self) -> Self
Source§fn rounded_l_3xl(self) -> Self
fn rounded_l_3xl(self) -> Self
Source§fn rounded_l_full(self) -> Self
fn rounded_l_full(self) -> Self
Source§fn rounded_tl(self, length: impl Clone + Into<AbsoluteLength>) -> Self
fn rounded_tl(self, length: impl Clone + Into<AbsoluteLength>) -> Self
Sets the border radius of the top left corner of the element. Docs
Source§fn rounded_tl_none(self) -> Self
fn rounded_tl_none(self) -> Self
Source§fn rounded_tl_xs(self) -> Self
fn rounded_tl_xs(self) -> Self
Source§fn rounded_tl_sm(self) -> Self
fn rounded_tl_sm(self) -> Self
Source§fn rounded_tl_md(self) -> Self
fn rounded_tl_md(self) -> Self
Source§fn rounded_tl_lg(self) -> Self
fn rounded_tl_lg(self) -> Self
Source§fn rounded_tl_xl(self) -> Self
fn rounded_tl_xl(self) -> Self
Source§fn rounded_tl_2xl(self) -> Self
fn rounded_tl_2xl(self) -> Self
Source§fn rounded_tl_3xl(self) -> Self
fn rounded_tl_3xl(self) -> Self
Source§fn rounded_tl_full(self) -> Self
fn rounded_tl_full(self) -> Self
Source§fn rounded_tr(self, length: impl Clone + Into<AbsoluteLength>) -> Self
fn rounded_tr(self, length: impl Clone + Into<AbsoluteLength>) -> Self
Sets the border radius of the top right corner of the element. Docs
Source§fn rounded_tr_none(self) -> Self
fn rounded_tr_none(self) -> Self
Source§fn rounded_tr_xs(self) -> Self
fn rounded_tr_xs(self) -> Self
Source§fn rounded_tr_sm(self) -> Self
fn rounded_tr_sm(self) -> Self
Source§fn rounded_tr_md(self) -> Self
fn rounded_tr_md(self) -> Self
Source§fn rounded_tr_lg(self) -> Self
fn rounded_tr_lg(self) -> Self
Source§fn rounded_tr_xl(self) -> Self
fn rounded_tr_xl(self) -> Self
Source§fn rounded_tr_2xl(self) -> Self
fn rounded_tr_2xl(self) -> Self
Source§fn rounded_tr_3xl(self) -> Self
fn rounded_tr_3xl(self) -> Self
Source§fn rounded_tr_full(self) -> Self
fn rounded_tr_full(self) -> Self
Source§fn rounded_bl(self, length: impl Clone + Into<AbsoluteLength>) -> Self
fn rounded_bl(self, length: impl Clone + Into<AbsoluteLength>) -> Self
Sets the border radius of the bottom left corner of the element. Docs
Source§fn rounded_bl_none(self) -> Self
fn rounded_bl_none(self) -> Self
Source§fn rounded_bl_xs(self) -> Self
fn rounded_bl_xs(self) -> Self
Source§fn rounded_bl_sm(self) -> Self
fn rounded_bl_sm(self) -> Self
Source§fn rounded_bl_md(self) -> Self
fn rounded_bl_md(self) -> Self
Source§fn rounded_bl_lg(self) -> Self
fn rounded_bl_lg(self) -> Self
Source§fn rounded_bl_xl(self) -> Self
fn rounded_bl_xl(self) -> Self
Source§fn rounded_bl_2xl(self) -> Self
fn rounded_bl_2xl(self) -> Self
Source§fn rounded_bl_3xl(self) -> Self
fn rounded_bl_3xl(self) -> Self
Source§fn rounded_bl_full(self) -> Self
fn rounded_bl_full(self) -> Self
Source§fn rounded_br(self, length: impl Clone + Into<AbsoluteLength>) -> Self
fn rounded_br(self, length: impl Clone + Into<AbsoluteLength>) -> Self
Sets the border radius of the bottom right corner of the element. Docs
Source§fn rounded_br_none(self) -> Self
fn rounded_br_none(self) -> Self
Source§fn rounded_br_xs(self) -> Self
fn rounded_br_xs(self) -> Self
Source§fn rounded_br_sm(self) -> Self
fn rounded_br_sm(self) -> Self
Source§fn rounded_br_md(self) -> Self
fn rounded_br_md(self) -> Self
Source§fn rounded_br_lg(self) -> Self
fn rounded_br_lg(self) -> Self
Source§fn rounded_br_xl(self) -> Self
fn rounded_br_xl(self) -> Self
Source§fn rounded_br_2xl(self) -> Self
fn rounded_br_2xl(self) -> Self
Source§fn rounded_br_3xl(self) -> Self
fn rounded_br_3xl(self) -> Self
Source§fn rounded_br_full(self) -> Self
fn rounded_br_full(self) -> Self
Source§fn m_neg_full(self) -> Self
fn m_neg_full(self) -> Self
Source§fn m_neg_1_12(self) -> Self
fn m_neg_1_12(self) -> Self
Source§fn mt(self, length: impl Clone + Into<Length>) -> Self
fn mt(self, length: impl Clone + Into<Length>) -> Self
Sets the top margin of the element. Docs
Source§fn mt_neg_0p5(self) -> Self
fn mt_neg_0p5(self) -> Self
Source§fn mt_neg_1p5(self) -> Self
fn mt_neg_1p5(self) -> Self
Source§fn mt_neg_2p5(self) -> Self
fn mt_neg_2p5(self) -> Self
Source§fn mt_neg_3p5(self) -> Self
fn mt_neg_3p5(self) -> Self
Source§fn mt_neg_112(self) -> Self
fn mt_neg_112(self) -> Self
Source§fn mt_neg_128(self) -> Self
fn mt_neg_128(self) -> Self
Source§fn mt_neg_full(self) -> Self
fn mt_neg_full(self) -> Self
Source§fn mt_neg_1_2(self) -> Self
fn mt_neg_1_2(self) -> Self
Source§fn mt_neg_1_3(self) -> Self
fn mt_neg_1_3(self) -> Self
Source§fn mt_neg_2_3(self) -> Self
fn mt_neg_2_3(self) -> Self
Source§fn mt_neg_1_4(self) -> Self
fn mt_neg_1_4(self) -> Self
Source§fn mt_neg_2_4(self) -> Self
fn mt_neg_2_4(self) -> Self
Source§fn mt_neg_3_4(self) -> Self
fn mt_neg_3_4(self) -> Self
Source§fn mt_neg_1_5(self) -> Self
fn mt_neg_1_5(self) -> Self
Source§fn mt_neg_2_5(self) -> Self
fn mt_neg_2_5(self) -> Self
Source§fn mt_neg_3_5(self) -> Self
fn mt_neg_3_5(self) -> Self
Source§fn mt_neg_4_5(self) -> Self
fn mt_neg_4_5(self) -> Self
Source§fn mt_neg_1_6(self) -> Self
fn mt_neg_1_6(self) -> Self
Source§fn mt_neg_5_6(self) -> Self
fn mt_neg_5_6(self) -> Self
Source§fn mt_neg_1_12(self) -> Self
fn mt_neg_1_12(self) -> Self
Source§fn mb(self, length: impl Clone + Into<Length>) -> Self
fn mb(self, length: impl Clone + Into<Length>) -> Self
Sets the bottom margin of the element. Docs
Source§fn mb_neg_0p5(self) -> Self
fn mb_neg_0p5(self) -> Self
Source§fn mb_neg_1p5(self) -> Self
fn mb_neg_1p5(self) -> Self
Source§fn mb_neg_2p5(self) -> Self
fn mb_neg_2p5(self) -> Self
Source§fn mb_neg_3p5(self) -> Self
fn mb_neg_3p5(self) -> Self
Source§fn mb_neg_112(self) -> Self
fn mb_neg_112(self) -> Self
Source§fn mb_neg_128(self) -> Self
fn mb_neg_128(self) -> Self
Source§fn mb_neg_full(self) -> Self
fn mb_neg_full(self) -> Self
Source§fn mb_neg_1_2(self) -> Self
fn mb_neg_1_2(self) -> Self
Source§fn mb_neg_1_3(self) -> Self
fn mb_neg_1_3(self) -> Self
Source§fn mb_neg_2_3(self) -> Self
fn mb_neg_2_3(self) -> Self
Source§fn mb_neg_1_4(self) -> Self
fn mb_neg_1_4(self) -> Self
Source§fn mb_neg_2_4(self) -> Self
fn mb_neg_2_4(self) -> Self
Source§fn mb_neg_3_4(self) -> Self
fn mb_neg_3_4(self) -> Self
Source§fn mb_neg_1_5(self) -> Self
fn mb_neg_1_5(self) -> Self
Source§fn mb_neg_2_5(self) -> Self
fn mb_neg_2_5(self) -> Self
Source§fn mb_neg_3_5(self) -> Self
fn mb_neg_3_5(self) -> Self
Source§fn mb_neg_4_5(self) -> Self
fn mb_neg_4_5(self) -> Self
Source§fn mb_neg_1_6(self) -> Self
fn mb_neg_1_6(self) -> Self
Source§fn mb_neg_5_6(self) -> Self
fn mb_neg_5_6(self) -> Self
Source§fn mb_neg_1_12(self) -> Self
fn mb_neg_1_12(self) -> Self
Source§fn my(self, length: impl Clone + Into<Length>) -> Self
fn my(self, length: impl Clone + Into<Length>) -> Self
Sets the vertical margin of the element. Docs
Source§fn my_neg_0p5(self) -> Self
fn my_neg_0p5(self) -> Self
Source§fn my_neg_1p5(self) -> Self
fn my_neg_1p5(self) -> Self
Source§fn my_neg_2p5(self) -> Self
fn my_neg_2p5(self) -> Self
Source§fn my_neg_3p5(self) -> Self
fn my_neg_3p5(self) -> Self
Source§fn my_neg_112(self) -> Self
fn my_neg_112(self) -> Self
Source§fn my_neg_128(self) -> Self
fn my_neg_128(self) -> Self
Source§fn my_neg_full(self) -> Self
fn my_neg_full(self) -> Self
Source§fn my_neg_1_2(self) -> Self
fn my_neg_1_2(self) -> Self
Source§fn my_neg_1_3(self) -> Self
fn my_neg_1_3(self) -> Self
Source§fn my_neg_2_3(self) -> Self
fn my_neg_2_3(self) -> Self
Source§fn my_neg_1_4(self) -> Self
fn my_neg_1_4(self) -> Self
Source§fn my_neg_2_4(self) -> Self
fn my_neg_2_4(self) -> Self
Source§fn my_neg_3_4(self) -> Self
fn my_neg_3_4(self) -> Self
Source§fn my_neg_1_5(self) -> Self
fn my_neg_1_5(self) -> Self
Source§fn my_neg_2_5(self) -> Self
fn my_neg_2_5(self) -> Self
Source§fn my_neg_3_5(self) -> Self
fn my_neg_3_5(self) -> Self
Source§fn my_neg_4_5(self) -> Self
fn my_neg_4_5(self) -> Self
Source§fn my_neg_1_6(self) -> Self
fn my_neg_1_6(self) -> Self
Source§fn my_neg_5_6(self) -> Self
fn my_neg_5_6(self) -> Self
Source§fn my_neg_1_12(self) -> Self
fn my_neg_1_12(self) -> Self
Source§fn mx(self, length: impl Clone + Into<Length>) -> Self
fn mx(self, length: impl Clone + Into<Length>) -> Self
Sets the horizontal margin of the element. Docs
Source§fn mx_neg_0p5(self) -> Self
fn mx_neg_0p5(self) -> Self
Source§fn mx_neg_1p5(self) -> Self
fn mx_neg_1p5(self) -> Self
Source§fn mx_neg_2p5(self) -> Self
fn mx_neg_2p5(self) -> Self
Source§fn mx_neg_3p5(self) -> Self
fn mx_neg_3p5(self) -> Self
Source§fn mx_neg_112(self) -> Self
fn mx_neg_112(self) -> Self
Source§fn mx_neg_128(self) -> Self
fn mx_neg_128(self) -> Self
Source§fn mx_neg_full(self) -> Self
fn mx_neg_full(self) -> Self
Source§fn mx_neg_1_2(self) -> Self
fn mx_neg_1_2(self) -> Self
Source§fn mx_neg_1_3(self) -> Self
fn mx_neg_1_3(self) -> Self
Source§fn mx_neg_2_3(self) -> Self
fn mx_neg_2_3(self) -> Self
Source§fn mx_neg_1_4(self) -> Self
fn mx_neg_1_4(self) -> Self
Source§fn mx_neg_2_4(self) -> Self
fn mx_neg_2_4(self) -> Self
Source§fn mx_neg_3_4(self) -> Self
fn mx_neg_3_4(self) -> Self
Source§fn mx_neg_1_5(self) -> Self
fn mx_neg_1_5(self) -> Self
Source§fn mx_neg_2_5(self) -> Self
fn mx_neg_2_5(self) -> Self
Source§fn mx_neg_3_5(self) -> Self
fn mx_neg_3_5(self) -> Self
Source§fn mx_neg_4_5(self) -> Self
fn mx_neg_4_5(self) -> Self
Source§fn mx_neg_1_6(self) -> Self
fn mx_neg_1_6(self) -> Self
Source§fn mx_neg_5_6(self) -> Self
fn mx_neg_5_6(self) -> Self
Source§fn mx_neg_1_12(self) -> Self
fn mx_neg_1_12(self) -> Self
Source§fn ml(self, length: impl Clone + Into<Length>) -> Self
fn ml(self, length: impl Clone + Into<Length>) -> Self
Sets the left margin of the element. Docs
Source§fn ml_neg_0p5(self) -> Self
fn ml_neg_0p5(self) -> Self
Source§fn ml_neg_1p5(self) -> Self
fn ml_neg_1p5(self) -> Self
Source§fn ml_neg_2p5(self) -> Self
fn ml_neg_2p5(self) -> Self
Source§fn ml_neg_3p5(self) -> Self
fn ml_neg_3p5(self) -> Self
Source§fn ml_neg_112(self) -> Self
fn ml_neg_112(self) -> Self
Source§fn ml_neg_128(self) -> Self
fn ml_neg_128(self) -> Self
Source§fn ml_neg_full(self) -> Self
fn ml_neg_full(self) -> Self
Source§fn ml_neg_1_2(self) -> Self
fn ml_neg_1_2(self) -> Self
Source§fn ml_neg_1_3(self) -> Self
fn ml_neg_1_3(self) -> Self
Source§fn ml_neg_2_3(self) -> Self
fn ml_neg_2_3(self) -> Self
Source§fn ml_neg_1_4(self) -> Self
fn ml_neg_1_4(self) -> Self
Source§fn ml_neg_2_4(self) -> Self
fn ml_neg_2_4(self) -> Self
Source§fn ml_neg_3_4(self) -> Self
fn ml_neg_3_4(self) -> Self
Source§fn ml_neg_1_5(self) -> Self
fn ml_neg_1_5(self) -> Self
Source§fn ml_neg_2_5(self) -> Self
fn ml_neg_2_5(self) -> Self
Source§fn ml_neg_3_5(self) -> Self
fn ml_neg_3_5(self) -> Self
Source§fn ml_neg_4_5(self) -> Self
fn ml_neg_4_5(self) -> Self
Source§fn ml_neg_1_6(self) -> Self
fn ml_neg_1_6(self) -> Self
Source§fn ml_neg_5_6(self) -> Self
fn ml_neg_5_6(self) -> Self
Source§fn ml_neg_1_12(self) -> Self
fn ml_neg_1_12(self) -> Self
Source§fn mr(self, length: impl Clone + Into<Length>) -> Self
fn mr(self, length: impl Clone + Into<Length>) -> Self
Sets the right margin of the element. Docs
Source§fn mr_neg_0p5(self) -> Self
fn mr_neg_0p5(self) -> Self
Source§fn mr_neg_1p5(self) -> Self
fn mr_neg_1p5(self) -> Self
Source§fn mr_neg_2p5(self) -> Self
fn mr_neg_2p5(self) -> Self
Source§fn mr_neg_3p5(self) -> Self
fn mr_neg_3p5(self) -> Self
Source§fn mr_neg_112(self) -> Self
fn mr_neg_112(self) -> Self
Source§fn mr_neg_128(self) -> Self
fn mr_neg_128(self) -> Self
Source§fn mr_neg_full(self) -> Self
fn mr_neg_full(self) -> Self
Source§fn mr_neg_1_2(self) -> Self
fn mr_neg_1_2(self) -> Self
Source§fn mr_neg_1_3(self) -> Self
fn mr_neg_1_3(self) -> Self
Source§fn mr_neg_2_3(self) -> Self
fn mr_neg_2_3(self) -> Self
Source§fn mr_neg_1_4(self) -> Self
fn mr_neg_1_4(self) -> Self
Source§fn mr_neg_2_4(self) -> Self
fn mr_neg_2_4(self) -> Self
Source§fn mr_neg_3_4(self) -> Self
fn mr_neg_3_4(self) -> Self
Source§fn mr_neg_1_5(self) -> Self
fn mr_neg_1_5(self) -> Self
Source§fn mr_neg_2_5(self) -> Self
fn mr_neg_2_5(self) -> Self
Source§fn mr_neg_3_5(self) -> Self
fn mr_neg_3_5(self) -> Self
Source§fn mr_neg_4_5(self) -> Self
fn mr_neg_4_5(self) -> Self
Source§fn mr_neg_1_6(self) -> Self
fn mr_neg_1_6(self) -> Self
Source§fn mr_neg_5_6(self) -> Self
fn mr_neg_5_6(self) -> Self
Source§fn mr_neg_1_12(self) -> Self
fn mr_neg_1_12(self) -> Self
Source§fn p(self, length: impl Clone + Into<DefiniteLength>) -> Self
fn p(self, length: impl Clone + Into<DefiniteLength>) -> Self
Sets the padding of the element. Docs
Source§fn p_neg_full(self) -> Self
fn p_neg_full(self) -> Self
Source§fn p_neg_1_12(self) -> Self
fn p_neg_1_12(self) -> Self
Source§fn pt(self, length: impl Clone + Into<DefiniteLength>) -> Self
fn pt(self, length: impl Clone + Into<DefiniteLength>) -> Self
Sets the top padding of the element. Docs
Source§fn pt_neg_0p5(self) -> Self
fn pt_neg_0p5(self) -> Self
Source§fn pt_neg_1p5(self) -> Self
fn pt_neg_1p5(self) -> Self
Source§fn pt_neg_2p5(self) -> Self
fn pt_neg_2p5(self) -> Self
Source§fn pt_neg_3p5(self) -> Self
fn pt_neg_3p5(self) -> Self
Source§fn pt_neg_112(self) -> Self
fn pt_neg_112(self) -> Self
Source§fn pt_neg_128(self) -> Self
fn pt_neg_128(self) -> Self
Source§fn pt_neg_full(self) -> Self
fn pt_neg_full(self) -> Self
Source§fn pt_neg_1_2(self) -> Self
fn pt_neg_1_2(self) -> Self
Source§fn pt_neg_1_3(self) -> Self
fn pt_neg_1_3(self) -> Self
Source§fn pt_neg_2_3(self) -> Self
fn pt_neg_2_3(self) -> Self
Source§fn pt_neg_1_4(self) -> Self
fn pt_neg_1_4(self) -> Self
Source§fn pt_neg_2_4(self) -> Self
fn pt_neg_2_4(self) -> Self
Source§fn pt_neg_3_4(self) -> Self
fn pt_neg_3_4(self) -> Self
Source§fn pt_neg_1_5(self) -> Self
fn pt_neg_1_5(self) -> Self
Source§fn pt_neg_2_5(self) -> Self
fn pt_neg_2_5(self) -> Self
Source§fn pt_neg_3_5(self) -> Self
fn pt_neg_3_5(self) -> Self
Source§fn pt_neg_4_5(self) -> Self
fn pt_neg_4_5(self) -> Self
Source§fn pt_neg_1_6(self) -> Self
fn pt_neg_1_6(self) -> Self
Source§fn pt_neg_5_6(self) -> Self
fn pt_neg_5_6(self) -> Self
Source§fn pt_neg_1_12(self) -> Self
fn pt_neg_1_12(self) -> Self
Source§fn pb(self, length: impl Clone + Into<DefiniteLength>) -> Self
fn pb(self, length: impl Clone + Into<DefiniteLength>) -> Self
Sets the bottom padding of the element. Docs
Source§fn pb_neg_0p5(self) -> Self
fn pb_neg_0p5(self) -> Self
Source§fn pb_neg_1p5(self) -> Self
fn pb_neg_1p5(self) -> Self
Source§fn pb_neg_2p5(self) -> Self
fn pb_neg_2p5(self) -> Self
Source§fn pb_neg_3p5(self) -> Self
fn pb_neg_3p5(self) -> Self
Source§fn pb_neg_112(self) -> Self
fn pb_neg_112(self) -> Self
Source§fn pb_neg_128(self) -> Self
fn pb_neg_128(self) -> Self
Source§fn pb_neg_full(self) -> Self
fn pb_neg_full(self) -> Self
Source§fn pb_neg_1_2(self) -> Self
fn pb_neg_1_2(self) -> Self
Source§fn pb_neg_1_3(self) -> Self
fn pb_neg_1_3(self) -> Self
Source§fn pb_neg_2_3(self) -> Self
fn pb_neg_2_3(self) -> Self
Source§fn pb_neg_1_4(self) -> Self
fn pb_neg_1_4(self) -> Self
Source§fn pb_neg_2_4(self) -> Self
fn pb_neg_2_4(self) -> Self
Source§fn pb_neg_3_4(self) -> Self
fn pb_neg_3_4(self) -> Self
Source§fn pb_neg_1_5(self) -> Self
fn pb_neg_1_5(self) -> Self
Source§fn pb_neg_2_5(self) -> Self
fn pb_neg_2_5(self) -> Self
Source§fn pb_neg_3_5(self) -> Self
fn pb_neg_3_5(self) -> Self
Source§fn pb_neg_4_5(self) -> Self
fn pb_neg_4_5(self) -> Self
Source§fn pb_neg_1_6(self) -> Self
fn pb_neg_1_6(self) -> Self
Source§fn pb_neg_5_6(self) -> Self
fn pb_neg_5_6(self) -> Self
Source§fn pb_neg_1_12(self) -> Self
fn pb_neg_1_12(self) -> Self
Source§fn px(self, length: impl Clone + Into<DefiniteLength>) -> Self
fn px(self, length: impl Clone + Into<DefiniteLength>) -> Self
Sets the horizontal padding of the element. Docs
Source§fn px_neg_0p5(self) -> Self
fn px_neg_0p5(self) -> Self
Source§fn px_neg_1p5(self) -> Self
fn px_neg_1p5(self) -> Self
Source§fn px_neg_2p5(self) -> Self
fn px_neg_2p5(self) -> Self
Source§fn px_neg_3p5(self) -> Self
fn px_neg_3p5(self) -> Self
Source§fn px_neg_112(self) -> Self
fn px_neg_112(self) -> Self
Source§fn px_neg_128(self) -> Self
fn px_neg_128(self) -> Self
Source§fn px_neg_full(self) -> Self
fn px_neg_full(self) -> Self
Source§fn px_neg_1_2(self) -> Self
fn px_neg_1_2(self) -> Self
Source§fn px_neg_1_3(self) -> Self
fn px_neg_1_3(self) -> Self
Source§fn px_neg_2_3(self) -> Self
fn px_neg_2_3(self) -> Self
Source§fn px_neg_1_4(self) -> Self
fn px_neg_1_4(self) -> Self
Source§fn px_neg_2_4(self) -> Self
fn px_neg_2_4(self) -> Self
Source§fn px_neg_3_4(self) -> Self
fn px_neg_3_4(self) -> Self
Source§fn px_neg_1_5(self) -> Self
fn px_neg_1_5(self) -> Self
Source§fn px_neg_2_5(self) -> Self
fn px_neg_2_5(self) -> Self
Source§fn px_neg_3_5(self) -> Self
fn px_neg_3_5(self) -> Self
Source§fn px_neg_4_5(self) -> Self
fn px_neg_4_5(self) -> Self
Source§fn px_neg_1_6(self) -> Self
fn px_neg_1_6(self) -> Self
Source§fn px_neg_5_6(self) -> Self
fn px_neg_5_6(self) -> Self
Source§fn px_neg_1_12(self) -> Self
fn px_neg_1_12(self) -> Self
Source§fn py(self, length: impl Clone + Into<DefiniteLength>) -> Self
fn py(self, length: impl Clone + Into<DefiniteLength>) -> Self
Sets the vertical padding of the element. Docs
Source§fn py_neg_0p5(self) -> Self
fn py_neg_0p5(self) -> Self
Source§fn py_neg_1p5(self) -> Self
fn py_neg_1p5(self) -> Self
Source§fn py_neg_2p5(self) -> Self
fn py_neg_2p5(self) -> Self
Source§fn py_neg_3p5(self) -> Self
fn py_neg_3p5(self) -> Self
Source§fn py_neg_112(self) -> Self
fn py_neg_112(self) -> Self
Source§fn py_neg_128(self) -> Self
fn py_neg_128(self) -> Self
Source§fn py_neg_full(self) -> Self
fn py_neg_full(self) -> Self
Source§fn py_neg_1_2(self) -> Self
fn py_neg_1_2(self) -> Self
Source§fn py_neg_1_3(self) -> Self
fn py_neg_1_3(self) -> Self
Source§fn py_neg_2_3(self) -> Self
fn py_neg_2_3(self) -> Self
Source§fn py_neg_1_4(self) -> Self
fn py_neg_1_4(self) -> Self
Source§fn py_neg_2_4(self) -> Self
fn py_neg_2_4(self) -> Self
Source§fn py_neg_3_4(self) -> Self
fn py_neg_3_4(self) -> Self
Source§fn py_neg_1_5(self) -> Self
fn py_neg_1_5(self) -> Self
Source§fn py_neg_2_5(self) -> Self
fn py_neg_2_5(self) -> Self
Source§fn py_neg_3_5(self) -> Self
fn py_neg_3_5(self) -> Self
Source§fn py_neg_4_5(self) -> Self
fn py_neg_4_5(self) -> Self
Source§fn py_neg_1_6(self) -> Self
fn py_neg_1_6(self) -> Self
Source§fn py_neg_5_6(self) -> Self
fn py_neg_5_6(self) -> Self
Source§fn py_neg_1_12(self) -> Self
fn py_neg_1_12(self) -> Self
Source§fn pl(self, length: impl Clone + Into<DefiniteLength>) -> Self
fn pl(self, length: impl Clone + Into<DefiniteLength>) -> Self
Sets the left padding of the element. Docs
Source§fn pl_neg_0p5(self) -> Self
fn pl_neg_0p5(self) -> Self
Source§fn pl_neg_1p5(self) -> Self
fn pl_neg_1p5(self) -> Self
Source§fn pl_neg_2p5(self) -> Self
fn pl_neg_2p5(self) -> Self
Source§fn pl_neg_3p5(self) -> Self
fn pl_neg_3p5(self) -> Self
Source§fn pl_neg_112(self) -> Self
fn pl_neg_112(self) -> Self
Source§fn pl_neg_128(self) -> Self
fn pl_neg_128(self) -> Self
Source§fn pl_neg_full(self) -> Self
fn pl_neg_full(self) -> Self
Source§fn pl_neg_1_2(self) -> Self
fn pl_neg_1_2(self) -> Self
Source§fn pl_neg_1_3(self) -> Self
fn pl_neg_1_3(self) -> Self
Source§fn pl_neg_2_3(self) -> Self
fn pl_neg_2_3(self) -> Self
Source§fn pl_neg_1_4(self) -> Self
fn pl_neg_1_4(self) -> Self
Source§fn pl_neg_2_4(self) -> Self
fn pl_neg_2_4(self) -> Self
Source§fn pl_neg_3_4(self) -> Self
fn pl_neg_3_4(self) -> Self
Source§fn pl_neg_1_5(self) -> Self
fn pl_neg_1_5(self) -> Self
Source§fn pl_neg_2_5(self) -> Self
fn pl_neg_2_5(self) -> Self
Source§fn pl_neg_3_5(self) -> Self
fn pl_neg_3_5(self) -> Self
Source§fn pl_neg_4_5(self) -> Self
fn pl_neg_4_5(self) -> Self
Source§fn pl_neg_1_6(self) -> Self
fn pl_neg_1_6(self) -> Self
Source§fn pl_neg_5_6(self) -> Self
fn pl_neg_5_6(self) -> Self
Source§fn pl_neg_1_12(self) -> Self
fn pl_neg_1_12(self) -> Self
Source§fn pr(self, length: impl Clone + Into<DefiniteLength>) -> Self
fn pr(self, length: impl Clone + Into<DefiniteLength>) -> Self
Sets the right padding of the element. Docs
Source§fn pr_neg_0p5(self) -> Self
fn pr_neg_0p5(self) -> Self
Source§fn pr_neg_1p5(self) -> Self
fn pr_neg_1p5(self) -> Self
Source§fn pr_neg_2p5(self) -> Self
fn pr_neg_2p5(self) -> Self
Source§fn pr_neg_3p5(self) -> Self
fn pr_neg_3p5(self) -> Self
Source§fn pr_neg_112(self) -> Self
fn pr_neg_112(self) -> Self
Source§fn pr_neg_128(self) -> Self
fn pr_neg_128(self) -> Self
Source§fn pr_neg_full(self) -> Self
fn pr_neg_full(self) -> Self
Source§fn pr_neg_1_2(self) -> Self
fn pr_neg_1_2(self) -> Self
Source§fn pr_neg_1_3(self) -> Self
fn pr_neg_1_3(self) -> Self
Source§fn pr_neg_2_3(self) -> Self
fn pr_neg_2_3(self) -> Self
Source§fn pr_neg_1_4(self) -> Self
fn pr_neg_1_4(self) -> Self
Source§fn pr_neg_2_4(self) -> Self
fn pr_neg_2_4(self) -> Self
Source§fn pr_neg_3_4(self) -> Self
fn pr_neg_3_4(self) -> Self
Source§fn pr_neg_1_5(self) -> Self
fn pr_neg_1_5(self) -> Self
Source§fn pr_neg_2_5(self) -> Self
fn pr_neg_2_5(self) -> Self
Source§fn pr_neg_3_5(self) -> Self
fn pr_neg_3_5(self) -> Self
Source§fn pr_neg_4_5(self) -> Self
fn pr_neg_4_5(self) -> Self
Source§fn pr_neg_1_6(self) -> Self
fn pr_neg_1_6(self) -> Self
Source§fn pr_neg_5_6(self) -> Self
fn pr_neg_5_6(self) -> Self
Source§fn pr_neg_1_12(self) -> Self
fn pr_neg_1_12(self) -> Self
Source§fn inset(self, length: impl Clone + Into<Length>) -> Self
fn inset(self, length: impl Clone + Into<Length>) -> Self
Sets the top, right, bottom, and left values of a positioned element. Docs
Source§fn inset_neg_0(self) -> Self
fn inset_neg_0(self) -> Self
Source§fn inset_neg_0p5(self) -> Self
fn inset_neg_0p5(self) -> Self
Source§fn inset_neg_1(self) -> Self
fn inset_neg_1(self) -> Self
Source§fn inset_neg_1p5(self) -> Self
fn inset_neg_1p5(self) -> Self
Source§fn inset_neg_2(self) -> Self
fn inset_neg_2(self) -> Self
Source§fn inset_neg_2p5(self) -> Self
fn inset_neg_2p5(self) -> Self
Source§fn inset_neg_3(self) -> Self
fn inset_neg_3(self) -> Self
Source§fn inset_neg_3p5(self) -> Self
fn inset_neg_3p5(self) -> Self
Source§fn inset_neg_4(self) -> Self
fn inset_neg_4(self) -> Self
Source§fn inset_neg_5(self) -> Self
fn inset_neg_5(self) -> Self
Source§fn inset_neg_6(self) -> Self
fn inset_neg_6(self) -> Self
Source§fn inset_neg_7(self) -> Self
fn inset_neg_7(self) -> Self
Source§fn inset_neg_8(self) -> Self
fn inset_neg_8(self) -> Self
Source§fn inset_neg_9(self) -> Self
fn inset_neg_9(self) -> Self
Source§fn inset_neg_10(self) -> Self
fn inset_neg_10(self) -> Self
Source§fn inset_neg_11(self) -> Self
fn inset_neg_11(self) -> Self
Source§fn inset_neg_12(self) -> Self
fn inset_neg_12(self) -> Self
Source§fn inset_neg_16(self) -> Self
fn inset_neg_16(self) -> Self
Source§fn inset_neg_20(self) -> Self
fn inset_neg_20(self) -> Self
Source§fn inset_neg_24(self) -> Self
fn inset_neg_24(self) -> Self
Source§fn inset_neg_32(self) -> Self
fn inset_neg_32(self) -> Self
Source§fn inset_neg_40(self) -> Self
fn inset_neg_40(self) -> Self
Source§fn inset_neg_48(self) -> Self
fn inset_neg_48(self) -> Self
Source§fn inset_neg_56(self) -> Self
fn inset_neg_56(self) -> Self
Source§fn inset_neg_64(self) -> Self
fn inset_neg_64(self) -> Self
Source§fn inset_neg_72(self) -> Self
fn inset_neg_72(self) -> Self
Source§fn inset_neg_80(self) -> Self
fn inset_neg_80(self) -> Self
Source§fn inset_neg_96(self) -> Self
fn inset_neg_96(self) -> Self
Source§fn inset_neg_112(self) -> Self
fn inset_neg_112(self) -> Self
Source§fn inset_neg_128(self) -> Self
fn inset_neg_128(self) -> Self
Source§fn inset_auto(self) -> Self
fn inset_auto(self) -> Self
Source§fn inset_neg_px(self) -> Self
fn inset_neg_px(self) -> Self
Source§fn inset_full(self) -> Self
fn inset_full(self) -> Self
Source§fn inset_neg_full(self) -> Self
fn inset_neg_full(self) -> Self
Source§fn inset_neg_1_2(self) -> Self
fn inset_neg_1_2(self) -> Self
Source§fn inset_neg_1_3(self) -> Self
fn inset_neg_1_3(self) -> Self
Source§fn inset_neg_2_3(self) -> Self
fn inset_neg_2_3(self) -> Self
Source§fn inset_neg_1_4(self) -> Self
fn inset_neg_1_4(self) -> Self
Source§fn inset_neg_2_4(self) -> Self
fn inset_neg_2_4(self) -> Self
Source§fn inset_neg_3_4(self) -> Self
fn inset_neg_3_4(self) -> Self
Source§fn inset_neg_1_5(self) -> Self
fn inset_neg_1_5(self) -> Self
Source§fn inset_neg_2_5(self) -> Self
fn inset_neg_2_5(self) -> Self
Source§fn inset_neg_3_5(self) -> Self
fn inset_neg_3_5(self) -> Self
Source§fn inset_neg_4_5(self) -> Self
fn inset_neg_4_5(self) -> Self
Source§fn inset_neg_1_6(self) -> Self
fn inset_neg_1_6(self) -> Self
Source§fn inset_neg_5_6(self) -> Self
fn inset_neg_5_6(self) -> Self
Source§fn inset_1_12(self) -> Self
fn inset_1_12(self) -> Self
Source§fn inset_neg_1_12(self) -> Self
fn inset_neg_1_12(self) -> Self
Source§fn top(self, length: impl Clone + Into<Length>) -> Self
fn top(self, length: impl Clone + Into<Length>) -> Self
Sets the top value of a positioned element. Docs
Source§fn top_neg_0p5(self) -> Self
fn top_neg_0p5(self) -> Self
Source§fn top_neg_1p5(self) -> Self
fn top_neg_1p5(self) -> Self
Source§fn top_neg_2p5(self) -> Self
fn top_neg_2p5(self) -> Self
Source§fn top_neg_3p5(self) -> Self
fn top_neg_3p5(self) -> Self
Source§fn top_neg_10(self) -> Self
fn top_neg_10(self) -> Self
Source§fn top_neg_11(self) -> Self
fn top_neg_11(self) -> Self
Source§fn top_neg_12(self) -> Self
fn top_neg_12(self) -> Self
Source§fn top_neg_16(self) -> Self
fn top_neg_16(self) -> Self
Source§fn top_neg_20(self) -> Self
fn top_neg_20(self) -> Self
Source§fn top_neg_24(self) -> Self
fn top_neg_24(self) -> Self
Source§fn top_neg_32(self) -> Self
fn top_neg_32(self) -> Self
Source§fn top_neg_40(self) -> Self
fn top_neg_40(self) -> Self
Source§fn top_neg_48(self) -> Self
fn top_neg_48(self) -> Self
Source§fn top_neg_56(self) -> Self
fn top_neg_56(self) -> Self
Source§fn top_neg_64(self) -> Self
fn top_neg_64(self) -> Self
Source§fn top_neg_72(self) -> Self
fn top_neg_72(self) -> Self
Source§fn top_neg_80(self) -> Self
fn top_neg_80(self) -> Self
Source§fn top_neg_96(self) -> Self
fn top_neg_96(self) -> Self
Source§fn top_neg_112(self) -> Self
fn top_neg_112(self) -> Self
Source§fn top_neg_128(self) -> Self
fn top_neg_128(self) -> Self
Source§fn top_neg_px(self) -> Self
fn top_neg_px(self) -> Self
Source§fn top_neg_full(self) -> Self
fn top_neg_full(self) -> Self
Source§fn top_neg_1_2(self) -> Self
fn top_neg_1_2(self) -> Self
Source§fn top_neg_1_3(self) -> Self
fn top_neg_1_3(self) -> Self
Source§fn top_neg_2_3(self) -> Self
fn top_neg_2_3(self) -> Self
Source§fn top_neg_1_4(self) -> Self
fn top_neg_1_4(self) -> Self
Source§fn top_neg_2_4(self) -> Self
fn top_neg_2_4(self) -> Self
Source§fn top_neg_3_4(self) -> Self
fn top_neg_3_4(self) -> Self
Source§fn top_neg_1_5(self) -> Self
fn top_neg_1_5(self) -> Self
Source§fn top_neg_2_5(self) -> Self
fn top_neg_2_5(self) -> Self
Source§fn top_neg_3_5(self) -> Self
fn top_neg_3_5(self) -> Self
Source§fn top_neg_4_5(self) -> Self
fn top_neg_4_5(self) -> Self
Source§fn top_neg_1_6(self) -> Self
fn top_neg_1_6(self) -> Self
Source§fn top_neg_5_6(self) -> Self
fn top_neg_5_6(self) -> Self
Source§fn top_neg_1_12(self) -> Self
fn top_neg_1_12(self) -> Self
Source§fn bottom(self, length: impl Clone + Into<Length>) -> Self
fn bottom(self, length: impl Clone + Into<Length>) -> Self
Sets the bottom value of a positioned element. Docs
Source§fn bottom_neg_0(self) -> Self
fn bottom_neg_0(self) -> Self
Source§fn bottom_0p5(self) -> Self
fn bottom_0p5(self) -> Self
Source§fn bottom_neg_0p5(self) -> Self
fn bottom_neg_0p5(self) -> Self
Source§fn bottom_neg_1(self) -> Self
fn bottom_neg_1(self) -> Self
Source§fn bottom_1p5(self) -> Self
fn bottom_1p5(self) -> Self
Source§fn bottom_neg_1p5(self) -> Self
fn bottom_neg_1p5(self) -> Self
Source§fn bottom_neg_2(self) -> Self
fn bottom_neg_2(self) -> Self
Source§fn bottom_2p5(self) -> Self
fn bottom_2p5(self) -> Self
Source§fn bottom_neg_2p5(self) -> Self
fn bottom_neg_2p5(self) -> Self
Source§fn bottom_neg_3(self) -> Self
fn bottom_neg_3(self) -> Self
Source§fn bottom_3p5(self) -> Self
fn bottom_3p5(self) -> Self
Source§fn bottom_neg_3p5(self) -> Self
fn bottom_neg_3p5(self) -> Self
Source§fn bottom_neg_4(self) -> Self
fn bottom_neg_4(self) -> Self
Source§fn bottom_neg_5(self) -> Self
fn bottom_neg_5(self) -> Self
Source§fn bottom_neg_6(self) -> Self
fn bottom_neg_6(self) -> Self
Source§fn bottom_neg_7(self) -> Self
fn bottom_neg_7(self) -> Self
Source§fn bottom_neg_8(self) -> Self
fn bottom_neg_8(self) -> Self
Source§fn bottom_neg_9(self) -> Self
fn bottom_neg_9(self) -> Self
Source§fn bottom_neg_10(self) -> Self
fn bottom_neg_10(self) -> Self
Source§fn bottom_neg_11(self) -> Self
fn bottom_neg_11(self) -> Self
Source§fn bottom_neg_12(self) -> Self
fn bottom_neg_12(self) -> Self
Source§fn bottom_neg_16(self) -> Self
fn bottom_neg_16(self) -> Self
Source§fn bottom_neg_20(self) -> Self
fn bottom_neg_20(self) -> Self
Source§fn bottom_neg_24(self) -> Self
fn bottom_neg_24(self) -> Self
Source§fn bottom_neg_32(self) -> Self
fn bottom_neg_32(self) -> Self
Source§fn bottom_neg_40(self) -> Self
fn bottom_neg_40(self) -> Self
Source§fn bottom_neg_48(self) -> Self
fn bottom_neg_48(self) -> Self
Source§fn bottom_neg_56(self) -> Self
fn bottom_neg_56(self) -> Self
Source§fn bottom_neg_64(self) -> Self
fn bottom_neg_64(self) -> Self
Source§fn bottom_neg_72(self) -> Self
fn bottom_neg_72(self) -> Self
Source§fn bottom_neg_80(self) -> Self
fn bottom_neg_80(self) -> Self
Source§fn bottom_neg_96(self) -> Self
fn bottom_neg_96(self) -> Self
Source§fn bottom_112(self) -> Self
fn bottom_112(self) -> Self
Source§fn bottom_neg_112(self) -> Self
fn bottom_neg_112(self) -> Self
Source§fn bottom_128(self) -> Self
fn bottom_128(self) -> Self
Source§fn bottom_neg_128(self) -> Self
fn bottom_neg_128(self) -> Self
Source§fn bottom_auto(self) -> Self
fn bottom_auto(self) -> Self
Source§fn bottom_neg_px(self) -> Self
fn bottom_neg_px(self) -> Self
Source§fn bottom_full(self) -> Self
fn bottom_full(self) -> Self
Source§fn bottom_neg_full(self) -> Self
fn bottom_neg_full(self) -> Self
Source§fn bottom_1_2(self) -> Self
fn bottom_1_2(self) -> Self
Source§fn bottom_neg_1_2(self) -> Self
fn bottom_neg_1_2(self) -> Self
Source§fn bottom_1_3(self) -> Self
fn bottom_1_3(self) -> Self
Source§fn bottom_neg_1_3(self) -> Self
fn bottom_neg_1_3(self) -> Self
Source§fn bottom_2_3(self) -> Self
fn bottom_2_3(self) -> Self
Source§fn bottom_neg_2_3(self) -> Self
fn bottom_neg_2_3(self) -> Self
Source§fn bottom_1_4(self) -> Self
fn bottom_1_4(self) -> Self
Source§fn bottom_neg_1_4(self) -> Self
fn bottom_neg_1_4(self) -> Self
Source§fn bottom_2_4(self) -> Self
fn bottom_2_4(self) -> Self
Source§fn bottom_neg_2_4(self) -> Self
fn bottom_neg_2_4(self) -> Self
Source§fn bottom_3_4(self) -> Self
fn bottom_3_4(self) -> Self
Source§fn bottom_neg_3_4(self) -> Self
fn bottom_neg_3_4(self) -> Self
Source§fn bottom_1_5(self) -> Self
fn bottom_1_5(self) -> Self
Source§fn bottom_neg_1_5(self) -> Self
fn bottom_neg_1_5(self) -> Self
Source§fn bottom_2_5(self) -> Self
fn bottom_2_5(self) -> Self
Source§fn bottom_neg_2_5(self) -> Self
fn bottom_neg_2_5(self) -> Self
Source§fn bottom_3_5(self) -> Self
fn bottom_3_5(self) -> Self
Source§fn bottom_neg_3_5(self) -> Self
fn bottom_neg_3_5(self) -> Self
Source§fn bottom_4_5(self) -> Self
fn bottom_4_5(self) -> Self
Source§fn bottom_neg_4_5(self) -> Self
fn bottom_neg_4_5(self) -> Self
Source§fn bottom_1_6(self) -> Self
fn bottom_1_6(self) -> Self
Source§fn bottom_neg_1_6(self) -> Self
fn bottom_neg_1_6(self) -> Self
Source§fn bottom_5_6(self) -> Self
fn bottom_5_6(self) -> Self
Source§fn bottom_neg_5_6(self) -> Self
fn bottom_neg_5_6(self) -> Self
Source§fn bottom_1_12(self) -> Self
fn bottom_1_12(self) -> Self
Source§fn bottom_neg_1_12(self) -> Self
fn bottom_neg_1_12(self) -> Self
Source§fn left(self, length: impl Clone + Into<Length>) -> Self
fn left(self, length: impl Clone + Into<Length>) -> Self
Sets the left value of a positioned element. Docs
Source§fn left_neg_0(self) -> Self
fn left_neg_0(self) -> Self
Source§fn left_neg_0p5(self) -> Self
fn left_neg_0p5(self) -> Self
Source§fn left_neg_1(self) -> Self
fn left_neg_1(self) -> Self
Source§fn left_neg_1p5(self) -> Self
fn left_neg_1p5(self) -> Self
Source§fn left_neg_2(self) -> Self
fn left_neg_2(self) -> Self
Source§fn left_neg_2p5(self) -> Self
fn left_neg_2p5(self) -> Self
Source§fn left_neg_3(self) -> Self
fn left_neg_3(self) -> Self
Source§fn left_neg_3p5(self) -> Self
fn left_neg_3p5(self) -> Self
Source§fn left_neg_4(self) -> Self
fn left_neg_4(self) -> Self
Source§fn left_neg_5(self) -> Self
fn left_neg_5(self) -> Self
Source§fn left_neg_6(self) -> Self
fn left_neg_6(self) -> Self
Source§fn left_neg_7(self) -> Self
fn left_neg_7(self) -> Self
Source§fn left_neg_8(self) -> Self
fn left_neg_8(self) -> Self
Source§fn left_neg_9(self) -> Self
fn left_neg_9(self) -> Self
Source§fn left_neg_10(self) -> Self
fn left_neg_10(self) -> Self
Source§fn left_neg_11(self) -> Self
fn left_neg_11(self) -> Self
Source§fn left_neg_12(self) -> Self
fn left_neg_12(self) -> Self
Source§fn left_neg_16(self) -> Self
fn left_neg_16(self) -> Self
Source§fn left_neg_20(self) -> Self
fn left_neg_20(self) -> Self
Source§fn left_neg_24(self) -> Self
fn left_neg_24(self) -> Self
Source§fn left_neg_32(self) -> Self
fn left_neg_32(self) -> Self
Source§fn left_neg_40(self) -> Self
fn left_neg_40(self) -> Self
Source§fn left_neg_48(self) -> Self
fn left_neg_48(self) -> Self
Source§fn left_neg_56(self) -> Self
fn left_neg_56(self) -> Self
Source§fn left_neg_64(self) -> Self
fn left_neg_64(self) -> Self
Source§fn left_neg_72(self) -> Self
fn left_neg_72(self) -> Self
Source§fn left_neg_80(self) -> Self
fn left_neg_80(self) -> Self
Source§fn left_neg_96(self) -> Self
fn left_neg_96(self) -> Self
Source§fn left_neg_112(self) -> Self
fn left_neg_112(self) -> Self
Source§fn left_neg_128(self) -> Self
fn left_neg_128(self) -> Self
Source§fn left_neg_px(self) -> Self
fn left_neg_px(self) -> Self
Source§fn left_neg_full(self) -> Self
fn left_neg_full(self) -> Self
Source§fn left_neg_1_2(self) -> Self
fn left_neg_1_2(self) -> Self
Source§fn left_neg_1_3(self) -> Self
fn left_neg_1_3(self) -> Self
Source§fn left_neg_2_3(self) -> Self
fn left_neg_2_3(self) -> Self
Source§fn left_neg_1_4(self) -> Self
fn left_neg_1_4(self) -> Self
Source§fn left_neg_2_4(self) -> Self
fn left_neg_2_4(self) -> Self
Source§fn left_neg_3_4(self) -> Self
fn left_neg_3_4(self) -> Self
Source§fn left_neg_1_5(self) -> Self
fn left_neg_1_5(self) -> Self
Source§fn left_neg_2_5(self) -> Self
fn left_neg_2_5(self) -> Self
Source§fn left_neg_3_5(self) -> Self
fn left_neg_3_5(self) -> Self
Source§fn left_neg_4_5(self) -> Self
fn left_neg_4_5(self) -> Self
Source§fn left_neg_1_6(self) -> Self
fn left_neg_1_6(self) -> Self
Source§fn left_neg_5_6(self) -> Self
fn left_neg_5_6(self) -> Self
Source§fn left_neg_1_12(self) -> Self
fn left_neg_1_12(self) -> Self
Source§fn right(self, length: impl Clone + Into<Length>) -> Self
fn right(self, length: impl Clone + Into<Length>) -> Self
Sets the right value of a positioned element. Docs
Source§fn right_neg_0(self) -> Self
fn right_neg_0(self) -> Self
Source§fn right_neg_0p5(self) -> Self
fn right_neg_0p5(self) -> Self
Source§fn right_neg_1(self) -> Self
fn right_neg_1(self) -> Self
Source§fn right_neg_1p5(self) -> Self
fn right_neg_1p5(self) -> Self
Source§fn right_neg_2(self) -> Self
fn right_neg_2(self) -> Self
Source§fn right_neg_2p5(self) -> Self
fn right_neg_2p5(self) -> Self
Source§fn right_neg_3(self) -> Self
fn right_neg_3(self) -> Self
Source§fn right_neg_3p5(self) -> Self
fn right_neg_3p5(self) -> Self
Source§fn right_neg_4(self) -> Self
fn right_neg_4(self) -> Self
Source§fn right_neg_5(self) -> Self
fn right_neg_5(self) -> Self
Source§fn right_neg_6(self) -> Self
fn right_neg_6(self) -> Self
Source§fn right_neg_7(self) -> Self
fn right_neg_7(self) -> Self
Source§fn right_neg_8(self) -> Self
fn right_neg_8(self) -> Self
Source§fn right_neg_9(self) -> Self
fn right_neg_9(self) -> Self
Source§fn right_neg_10(self) -> Self
fn right_neg_10(self) -> Self
Source§fn right_neg_11(self) -> Self
fn right_neg_11(self) -> Self
Source§fn right_neg_12(self) -> Self
fn right_neg_12(self) -> Self
Source§fn right_neg_16(self) -> Self
fn right_neg_16(self) -> Self
Source§fn right_neg_20(self) -> Self
fn right_neg_20(self) -> Self
Source§fn right_neg_24(self) -> Self
fn right_neg_24(self) -> Self
Source§fn right_neg_32(self) -> Self
fn right_neg_32(self) -> Self
Source§fn right_neg_40(self) -> Self
fn right_neg_40(self) -> Self
Source§fn right_neg_48(self) -> Self
fn right_neg_48(self) -> Self
Source§fn right_neg_56(self) -> Self
fn right_neg_56(self) -> Self
Source§fn right_neg_64(self) -> Self
fn right_neg_64(self) -> Self
Source§fn right_neg_72(self) -> Self
fn right_neg_72(self) -> Self
Source§fn right_neg_80(self) -> Self
fn right_neg_80(self) -> Self
Source§fn right_neg_96(self) -> Self
fn right_neg_96(self) -> Self
Source§fn right_neg_112(self) -> Self
fn right_neg_112(self) -> Self
Source§fn right_neg_128(self) -> Self
fn right_neg_128(self) -> Self
Source§fn right_auto(self) -> Self
fn right_auto(self) -> Self
Source§fn right_neg_px(self) -> Self
fn right_neg_px(self) -> Self
Source§fn right_full(self) -> Self
fn right_full(self) -> Self
Source§fn right_neg_full(self) -> Self
fn right_neg_full(self) -> Self
Source§fn right_neg_1_2(self) -> Self
fn right_neg_1_2(self) -> Self
Source§fn right_neg_1_3(self) -> Self
fn right_neg_1_3(self) -> Self
Source§fn right_neg_2_3(self) -> Self
fn right_neg_2_3(self) -> Self
Source§fn right_neg_1_4(self) -> Self
fn right_neg_1_4(self) -> Self
Source§fn right_neg_2_4(self) -> Self
fn right_neg_2_4(self) -> Self
Source§fn right_neg_3_4(self) -> Self
fn right_neg_3_4(self) -> Self
Source§fn right_neg_1_5(self) -> Self
fn right_neg_1_5(self) -> Self
Source§fn right_neg_2_5(self) -> Self
fn right_neg_2_5(self) -> Self
Source§fn right_neg_3_5(self) -> Self
fn right_neg_3_5(self) -> Self
Source§fn right_neg_4_5(self) -> Self
fn right_neg_4_5(self) -> Self
Source§fn right_neg_1_6(self) -> Self
fn right_neg_1_6(self) -> Self
Source§fn right_neg_5_6(self) -> Self
fn right_neg_5_6(self) -> Self
Source§fn right_1_12(self) -> Self
fn right_1_12(self) -> Self
Source§fn right_neg_1_12(self) -> Self
fn right_neg_1_12(self) -> Self
Sets the behavior of content that overflows the container to be hidden.
Docs
Sets the behavior of content that overflows the container on the X axis to be hidden.
Docs
Sets the behavior of content that overflows the container on the Y axis to be hidden.
Docs
Source§fn cursor(self, cursor: CursorStyle) -> Self
fn cursor(self, cursor: CursorStyle) -> Self
Set the cursor style when hovering over this element
Source§fn cursor_default(self) -> Self
fn cursor_default(self) -> Self
Sets the cursor style when hovering an element to
default.
DocsSource§fn cursor_pointer(self) -> Self
fn cursor_pointer(self) -> Self
Sets the cursor style when hovering an element to
pointer.
DocsSource§fn cursor_text(self) -> Self
fn cursor_text(self) -> Self
Sets cursor style when hovering over an element to
text.
DocsSource§fn cursor_move(self) -> Self
fn cursor_move(self) -> Self
Sets cursor style when hovering over an element to
move.
DocsSource§fn cursor_not_allowed(self) -> Self
fn cursor_not_allowed(self) -> Self
Sets cursor style when hovering over an element to
not-allowed.
DocsSets cursor style when hovering over an element to
context-menu.
DocsSource§fn cursor_crosshair(self) -> Self
fn cursor_crosshair(self) -> Self
Sets cursor style when hovering over an element to
crosshair.
DocsSource§fn cursor_vertical_text(self) -> Self
fn cursor_vertical_text(self) -> Self
Sets cursor style when hovering over an element to
vertical-text.
DocsSource§fn cursor_alias(self) -> Self
fn cursor_alias(self) -> Self
Sets cursor style when hovering over an element to
alias.
DocsSource§fn cursor_copy(self) -> Self
fn cursor_copy(self) -> Self
Sets cursor style when hovering over an element to
copy.
DocsSource§fn cursor_no_drop(self) -> Self
fn cursor_no_drop(self) -> Self
Sets cursor style when hovering over an element to
no-drop.
DocsSource§fn cursor_grab(self) -> Self
fn cursor_grab(self) -> Self
Sets cursor style when hovering over an element to
grab.
DocsSource§fn cursor_grabbing(self) -> Self
fn cursor_grabbing(self) -> Self
Sets cursor style when hovering over an element to
grabbing.
DocsSource§fn cursor_ew_resize(self) -> Self
fn cursor_ew_resize(self) -> Self
Sets cursor style when hovering over an element to
ew-resize.
DocsSource§fn cursor_ns_resize(self) -> Self
fn cursor_ns_resize(self) -> Self
Sets cursor style when hovering over an element to
ns-resize.
DocsSource§fn cursor_nesw_resize(self) -> Self
fn cursor_nesw_resize(self) -> Self
Sets cursor style when hovering over an element to
nesw-resize.
DocsSource§fn cursor_nwse_resize(self) -> Self
fn cursor_nwse_resize(self) -> Self
Sets cursor style when hovering over an element to
nwse-resize.
DocsSource§fn cursor_col_resize(self) -> Self
fn cursor_col_resize(self) -> Self
Sets cursor style when hovering over an element to
col-resize.
DocsSource§fn cursor_row_resize(self) -> Self
fn cursor_row_resize(self) -> Self
Sets cursor style when hovering over an element to
row-resize.
DocsSource§fn cursor_n_resize(self) -> Self
fn cursor_n_resize(self) -> Self
Sets cursor style when hovering over an element to
n-resize.
DocsSource§fn cursor_e_resize(self) -> Self
fn cursor_e_resize(self) -> Self
Sets cursor style when hovering over an element to
e-resize.
DocsSource§fn cursor_s_resize(self) -> Self
fn cursor_s_resize(self) -> Self
Sets cursor style when hovering over an element to
s-resize.
DocsSource§fn cursor_w_resize(self) -> Self
fn cursor_w_resize(self) -> Self
Sets cursor style when hovering over an element to
w-resize.
DocsSource§fn border_color<C>(self, border_color: C) -> Self
fn border_color<C>(self, border_color: C) -> Self
Sets the border color of the element.
Source§fn border(self, length: impl Clone + Into<AbsoluteLength>) -> Self
fn border(self, length: impl Clone + Into<AbsoluteLength>) -> Self
Sets the border width of the element. Docs
Source§fn border_t(self, length: impl Clone + Into<AbsoluteLength>) -> Self
fn border_t(self, length: impl Clone + Into<AbsoluteLength>) -> Self
Sets the border width of the top side of the element. Docs
Source§fn border_t_0(self) -> Self
fn border_t_0(self) -> Self
Source§fn border_t_1(self) -> Self
fn border_t_1(self) -> Self
Source§fn border_t_2(self) -> Self
fn border_t_2(self) -> Self
Source§fn border_t_3(self) -> Self
fn border_t_3(self) -> Self
Source§fn border_t_4(self) -> Self
fn border_t_4(self) -> Self
Source§fn border_t_5(self) -> Self
fn border_t_5(self) -> Self
Source§fn border_t_6(self) -> Self
fn border_t_6(self) -> Self
Source§fn border_t_7(self) -> Self
fn border_t_7(self) -> Self
Source§fn border_t_8(self) -> Self
fn border_t_8(self) -> Self
Source§fn border_t_9(self) -> Self
fn border_t_9(self) -> Self
Source§fn border_t_10(self) -> Self
fn border_t_10(self) -> Self
Source§fn border_t_11(self) -> Self
fn border_t_11(self) -> Self
Source§fn border_t_12(self) -> Self
fn border_t_12(self) -> Self
Source§fn border_t_16(self) -> Self
fn border_t_16(self) -> Self
Source§fn border_t_20(self) -> Self
fn border_t_20(self) -> Self
Source§fn border_t_24(self) -> Self
fn border_t_24(self) -> Self
Source§fn border_t_32(self) -> Self
fn border_t_32(self) -> Self
Source§fn border_b(self, length: impl Clone + Into<AbsoluteLength>) -> Self
fn border_b(self, length: impl Clone + Into<AbsoluteLength>) -> Self
Sets the border width of the bottom side of the element. Docs
Source§fn border_b_0(self) -> Self
fn border_b_0(self) -> Self
Source§fn border_b_1(self) -> Self
fn border_b_1(self) -> Self
Source§fn border_b_2(self) -> Self
fn border_b_2(self) -> Self
Source§fn border_b_3(self) -> Self
fn border_b_3(self) -> Self
Source§fn border_b_4(self) -> Self
fn border_b_4(self) -> Self
Source§fn border_b_5(self) -> Self
fn border_b_5(self) -> Self
Source§fn border_b_6(self) -> Self
fn border_b_6(self) -> Self
Source§fn border_b_7(self) -> Self
fn border_b_7(self) -> Self
Source§fn border_b_8(self) -> Self
fn border_b_8(self) -> Self
Source§fn border_b_9(self) -> Self
fn border_b_9(self) -> Self
Source§fn border_b_10(self) -> Self
fn border_b_10(self) -> Self
Source§fn border_b_11(self) -> Self
fn border_b_11(self) -> Self
Source§fn border_b_12(self) -> Self
fn border_b_12(self) -> Self
Source§fn border_b_16(self) -> Self
fn border_b_16(self) -> Self
Source§fn border_b_20(self) -> Self
fn border_b_20(self) -> Self
Source§fn border_b_24(self) -> Self
fn border_b_24(self) -> Self
Source§fn border_b_32(self) -> Self
fn border_b_32(self) -> Self
Source§fn border_r(self, length: impl Clone + Into<AbsoluteLength>) -> Self
fn border_r(self, length: impl Clone + Into<AbsoluteLength>) -> Self
Sets the border width of the right side of the element. Docs
Source§fn border_r_0(self) -> Self
fn border_r_0(self) -> Self
Source§fn border_r_1(self) -> Self
fn border_r_1(self) -> Self
Source§fn border_r_2(self) -> Self
fn border_r_2(self) -> Self
Source§fn border_r_3(self) -> Self
fn border_r_3(self) -> Self
Source§fn border_r_4(self) -> Self
fn border_r_4(self) -> Self
Source§fn border_r_5(self) -> Self
fn border_r_5(self) -> Self
Source§fn border_r_6(self) -> Self
fn border_r_6(self) -> Self
Source§fn border_r_7(self) -> Self
fn border_r_7(self) -> Self
Source§fn border_r_8(self) -> Self
fn border_r_8(self) -> Self
Source§fn border_r_9(self) -> Self
fn border_r_9(self) -> Self
Source§fn border_r_10(self) -> Self
fn border_r_10(self) -> Self
Source§fn border_r_11(self) -> Self
fn border_r_11(self) -> Self
Source§fn border_r_12(self) -> Self
fn border_r_12(self) -> Self
Source§fn border_r_16(self) -> Self
fn border_r_16(self) -> Self
Source§fn border_r_20(self) -> Self
fn border_r_20(self) -> Self
Source§fn border_r_24(self) -> Self
fn border_r_24(self) -> Self
Source§fn border_r_32(self) -> Self
fn border_r_32(self) -> Self
Source§fn border_l(self, length: impl Clone + Into<AbsoluteLength>) -> Self
fn border_l(self, length: impl Clone + Into<AbsoluteLength>) -> Self
Sets the border width of the left side of the element. Docs
Source§fn border_l_0(self) -> Self
fn border_l_0(self) -> Self
Source§fn border_l_1(self) -> Self
fn border_l_1(self) -> Self
Source§fn border_l_2(self) -> Self
fn border_l_2(self) -> Self
Source§fn border_l_3(self) -> Self
fn border_l_3(self) -> Self
Source§fn border_l_4(self) -> Self
fn border_l_4(self) -> Self
Source§fn border_l_5(self) -> Self
fn border_l_5(self) -> Self
Source§fn border_l_6(self) -> Self
fn border_l_6(self) -> Self
Source§fn border_l_7(self) -> Self
fn border_l_7(self) -> Self
Source§fn border_l_8(self) -> Self
fn border_l_8(self) -> Self
Source§fn border_l_9(self) -> Self
fn border_l_9(self) -> Self
Source§fn border_l_10(self) -> Self
fn border_l_10(self) -> Self
Source§fn border_l_11(self) -> Self
fn border_l_11(self) -> Self
Source§fn border_l_12(self) -> Self
fn border_l_12(self) -> Self
Source§fn border_l_16(self) -> Self
fn border_l_16(self) -> Self
Source§fn border_l_20(self) -> Self
fn border_l_20(self) -> Self
Source§fn border_l_24(self) -> Self
fn border_l_24(self) -> Self
Source§fn border_l_32(self) -> Self
fn border_l_32(self) -> Self
Source§fn border_x(self, length: impl Clone + Into<AbsoluteLength>) -> Self
fn border_x(self, length: impl Clone + Into<AbsoluteLength>) -> Self
Sets the border width of the vertical sides of the element. Docs
Source§fn border_x_0(self) -> Self
fn border_x_0(self) -> Self
Source§fn border_x_1(self) -> Self
fn border_x_1(self) -> Self
Source§fn border_x_2(self) -> Self
fn border_x_2(self) -> Self
Source§fn border_x_3(self) -> Self
fn border_x_3(self) -> Self
Source§fn border_x_4(self) -> Self
fn border_x_4(self) -> Self
Source§fn border_x_5(self) -> Self
fn border_x_5(self) -> Self
Source§fn border_x_6(self) -> Self
fn border_x_6(self) -> Self
Source§fn border_x_7(self) -> Self
fn border_x_7(self) -> Self
Source§fn border_x_8(self) -> Self
fn border_x_8(self) -> Self
Source§fn border_x_9(self) -> Self
fn border_x_9(self) -> Self
Source§fn border_x_10(self) -> Self
fn border_x_10(self) -> Self
Source§fn border_x_11(self) -> Self
fn border_x_11(self) -> Self
Source§fn border_x_12(self) -> Self
fn border_x_12(self) -> Self
Source§fn border_x_16(self) -> Self
fn border_x_16(self) -> Self
Source§fn border_x_20(self) -> Self
fn border_x_20(self) -> Self
Source§fn border_x_24(self) -> Self
fn border_x_24(self) -> Self
Source§fn border_x_32(self) -> Self
fn border_x_32(self) -> Self
Source§fn border_y(self, length: impl Clone + Into<AbsoluteLength>) -> Self
fn border_y(self, length: impl Clone + Into<AbsoluteLength>) -> Self
Sets the border width of the horizontal sides of the element. Docs
Source§fn border_y_0(self) -> Self
fn border_y_0(self) -> Self
Source§fn border_y_1(self) -> Self
fn border_y_1(self) -> Self
Source§fn border_y_2(self) -> Self
fn border_y_2(self) -> Self
Source§fn border_y_3(self) -> Self
fn border_y_3(self) -> Self
Source§fn border_y_4(self) -> Self
fn border_y_4(self) -> Self
Source§fn border_y_5(self) -> Self
fn border_y_5(self) -> Self
Source§fn border_y_6(self) -> Self
fn border_y_6(self) -> Self
Source§fn border_y_7(self) -> Self
fn border_y_7(self) -> Self
Source§fn border_y_8(self) -> Self
fn border_y_8(self) -> Self
Source§fn border_y_9(self) -> Self
fn border_y_9(self) -> Self
Source§fn border_y_10(self) -> Self
fn border_y_10(self) -> Self
Source§fn border_y_11(self) -> Self
fn border_y_11(self) -> Self
Source§fn border_y_12(self) -> Self
fn border_y_12(self) -> Self
Source§fn border_y_16(self) -> Self
fn border_y_16(self) -> Self
Source§fn border_y_20(self) -> Self
fn border_y_20(self) -> Self
Source§fn border_y_24(self) -> Self
fn border_y_24(self) -> Self
Source§fn border_y_32(self) -> Self
fn border_y_32(self) -> Self
Source§fn shadow_none(self) -> Self
fn shadow_none(self) -> Self
Clears the box shadow of the element.
Docs
Source§fn shadow_2xs(self) -> Self
fn shadow_2xs(self) -> Self
Sets the box shadow of the element.
Docs
Source§fn shadow_2xl(self) -> Self
fn shadow_2xl(self) -> Self
Sets the box shadow of the element.
Docs
将元素的显示类型设置为
none。
文档Source§fn scrollbar_width(self, width: impl Into<AbsoluteLength>) -> Self
fn scrollbar_width(self, width: impl Into<AbsoluteLength>) -> Self
设置用于渲染滚动条的空间。 Read more
Source§fn whitespace_normal(self) -> Self
fn whitespace_normal(self) -> Self
将元素的空白设置为
normal。
文档Source§fn whitespace_nowrap(self) -> Self
fn whitespace_nowrap(self) -> Self
将元素的空白设置为
nowrap。
文档Source§fn text_ellipsis(self) -> Self
fn text_ellipsis(self) -> Self
设置如果需要则用省略号 (…) 截断溢出的文本。
文档
Source§fn text_ellipsis_start(self) -> Self
fn text_ellipsis_start(self) -> Self
设置如果需要则在开头用省略号 (…) 截断溢出的文本。
通常更适合文件路径,因为结尾比开头更重要。
注意:这在 Tailwind CSS 中不存在。
Source§fn text_ellipsis_middle(self) -> Self
fn text_ellipsis_middle(self) -> Self
设置如果需要则在中间用省略号 (…) 截断溢出的文本。
保留文本的开头和结尾。适用于文件名。
注意:这在 Tailwind CSS 中不存在。
Source§fn text_overflow(self, overflow: TextOverflow) -> Self
fn text_overflow(self, overflow: TextOverflow) -> Self
设置元素的文本溢出行为。
Source§fn text_align(self, align: TextAlign) -> Self
fn text_align(self, align: TextAlign) -> Self
设置元素的对齐方式。
Source§fn text_center(self) -> Self
fn text_center(self) -> Self
将文本对齐设置为居中
Source§fn text_right(self) -> Self
fn text_right(self) -> Self
将文本对齐设置为右
Source§fn line_clamp(self, lines: usize) -> Self
fn line_clamp(self, lines: usize) -> Self
设置截断文本前显示的行数。
文档
Source§fn flex_col_reverse(self) -> Self
fn flex_col_reverse(self) -> Self
将元素的 flex 方向设置为
column-reverse。
文档Source§fn flex_row_reverse(self) -> Self
fn flex_row_reverse(self) -> Self
将元素的 flex 方向设置为
row-reverse。
文档Source§fn flex_initial(self) -> Self
fn flex_initial(self) -> Self
设置元素允许 flex 项目收缩但不增长,考虑其初始大小。
文档
Source§fn flex_grow_0(self) -> Self
fn flex_grow_0(self) -> Self
设置元素防止 flex 项目增长。
文档
Source§fn flex_grow_1(self) -> Self
fn flex_grow_1(self) -> Self
Enables flex item growth (flex-grow: 1).
Docs
Source§fn flex_shrink(self) -> Self
fn flex_shrink(self) -> Self
设置元素允许 flex 项目在需要时收缩。
文档
Source§fn flex_shrink_0(self) -> Self
fn flex_shrink_0(self) -> Self
设置元素防止 flex 项目收缩。
文档
Source§fn flex_shrink_1(self) -> Self
fn flex_shrink_1(self) -> Self
Enables flex item shrinking (flex-shrink: 1).
Docs
Source§fn flex_wrap_reverse(self) -> Self
fn flex_wrap_reverse(self) -> Self
设置元素以相反方向换行 flex 项目。
文档
Source§fn flex_nowrap(self) -> Self
fn flex_nowrap(self) -> Self
设置元素防止 flex 项目换行,导致不可变项目在必要时溢出容器。
文档
Source§fn items_start(self) -> Self
fn items_start(self) -> Self
设置元素将 flex 项目对齐到容器交叉轴的起始位置。
文档
Source§fn items_center(self) -> Self
fn items_center(self) -> Self
设置元素将 flex 项目沿容器交叉轴的中心对齐。
文档
Source§fn items_baseline(self) -> Self
fn items_baseline(self) -> Self
设置元素将 flex 项目沿容器交叉轴的基线对齐。
文档
Source§fn items_stretch(self) -> Self
fn items_stretch(self) -> Self
设置元素拉伸 flex 项目以填充容器交叉轴的可用空间。
文档
Source§fn self_start(self) -> Self
fn self_start(self) -> Self
设置此特定元素如何沿容器交叉轴对齐。
文档
Source§fn self_flex_start(self) -> Self
fn self_flex_start(self) -> Self
设置此元素对齐到容器交叉轴的起始位置。
文档
Source§fn self_flex_end(self) -> Self
fn self_flex_end(self) -> Self
设置此元素对齐到容器交叉轴的末尾。
文档
Source§fn self_center(self) -> Self
fn self_center(self) -> Self
设置此元素沿容器交叉轴的中心对齐。
文档
Source§fn self_baseline(self) -> Self
fn self_baseline(self) -> Self
设置此元素沿容器交叉轴的基线对齐。
文档
Source§fn self_stretch(self) -> Self
fn self_stretch(self) -> Self
设置此元素拉伸以填充容器交叉轴的可用空间。
文档
Source§fn justify_start(self) -> Self
fn justify_start(self) -> Self
设置元素将 flex 项目对齐到容器主轴的起始位置。
文档
Source§fn justify_end(self) -> Self
fn justify_end(self) -> Self
设置元素将 flex 项目对齐到容器主轴的末尾。
文档
Source§fn justify_center(self) -> Self
fn justify_center(self) -> Self
设置元素将 flex 项目沿容器主轴的中心对齐。
文档
Source§fn justify_between(self) -> Self
fn justify_between(self) -> Self
设置元素将 flex 项目沿容器主轴对齐,使得每个项目之间有相等的空间。
文档
Source§fn justify_around(self) -> Self
fn justify_around(self) -> Self
设置元素将项目沿容器主轴对齐,使得每个项目两侧有相等的空间。
文档
Source§fn justify_evenly(self) -> Self
fn justify_evenly(self) -> Self
设置元素将项目沿容器主轴对齐,使得每个项目周围有相等的空间,同时
考虑到使用 justify-around 时通常会在每个项目之间看到的空间加倍。
文档
Source§fn content_normal(self) -> Self
fn content_normal(self) -> Self
设置元素将内容项目打包到其默认位置,就像未设置 align-content 值一样。
文档
Source§fn content_center(self) -> Self
fn content_center(self) -> Self
设置元素将内容项目打包到容器交叉轴的中心。
文档
Source§fn content_start(self) -> Self
fn content_start(self) -> Self
设置元素将内容项目打包到容器交叉轴的起始位置。
文档
Source§fn content_end(self) -> Self
fn content_end(self) -> Self
设置元素将内容项目打包到容器交叉轴的末尾。
文档
Source§fn content_between(self) -> Self
fn content_between(self) -> Self
设置元素将内容项目沿容器交叉轴打包,使得每个项目之间有相等的空间。
文档
Source§fn content_around(self) -> Self
fn content_around(self) -> Self
设置元素将内容项目沿容器交叉轴打包,使得每个项目两侧有相等的空间。
文档
Source§fn content_evenly(self) -> Self
fn content_evenly(self) -> Self
设置元素将内容项目沿容器交叉轴打包,使得每个项目之间有相等的空间。
文档
Source§fn content_stretch(self) -> Self
fn content_stretch(self) -> Self
设置元素允许内容项目填充容器交叉轴的可用空间。
文档
Source§fn aspect_ratio(self, ratio: f32) -> Self
fn aspect_ratio(self, ratio: f32) -> Self
设置元素的宽高比。
文档
Source§fn aspect_square(self) -> Self
fn aspect_square(self) -> Self
将元素的宽高比设置为 1/1 —— 等宽等高。
文档
Source§fn border_dashed(self) -> Self
fn border_dashed(self) -> Self
设置元素的边框样式。
Source§fn continuous_corners(self) -> Self
fn continuous_corners(self) -> Self
启用连续(圆角)角舍入而不是圆形。
这会产生平滑的 Apple 风格圆角,匹配 SwiftUI 的连续角样式。
Source§fn text_style(&mut self) -> &mut TextStyleRefinement
fn text_style(&mut self) -> &mut TextStyleRefinement
返回已在此元素上配置的文本样式的可变引用。
Source§fn font_weight(self, weight: FontWeight) -> Self
fn font_weight(self, weight: FontWeight) -> Self
设置此元素的字体粗细 Read more
Source§fn not_italic(self) -> Self
fn not_italic(self) -> Self
将元素的字体样式设置为 normal(非 italic)。
文档
Source§fn line_through(self) -> Self
fn line_through(self) -> Self
将文本装饰设置为删除线。
文档
Source§fn text_decoration_none(self) -> Self
fn text_decoration_none(self) -> Self
移除此元素上的文本装饰。 Read more
Source§fn text_decoration_color(self, color: impl Into<Hsla>) -> Self
fn text_decoration_color(self, color: impl Into<Hsla>) -> Self
设置此元素下划线的颜色
Source§fn text_decoration_solid(self) -> Self
fn text_decoration_solid(self) -> Self
将文本装饰样式设置为实线。
文档
Source§fn text_decoration_wavy(self) -> Self
fn text_decoration_wavy(self) -> Self
将文本装饰样式设置为波浪线。
文档
Source§fn text_decoration_0(self) -> Self
fn text_decoration_0(self) -> Self
将文本装饰设置为 0px 粗。
文档
Source§fn text_decoration_1(self) -> Self
fn text_decoration_1(self) -> Self
将文本装饰设置为 1px 粗。
文档
Source§fn text_decoration_2(self) -> Self
fn text_decoration_2(self) -> Self
将文本装饰设置为 2px 粗。
文档
Source§fn text_decoration_4(self) -> Self
fn text_decoration_4(self) -> Self
将文本装饰设置为 4px 粗。
文档
Source§fn text_decoration_8(self) -> Self
fn text_decoration_8(self) -> Self
将文本装饰设置为 8px 粗。
文档
Source§fn font_family(self, family_name: impl Into<SharedString>) -> Self
fn font_family(self, family_name: impl Into<SharedString>) -> Self
设置此元素及其子元素的字体系列。
Source§fn font_features(self, features: FontFeatures) -> Self
fn font_features(self, features: FontFeatures) -> Self
设置此元素及其子元素的字体特性。
Source§fn line_height(self, line_height: impl Into<DefiniteLength>) -> Self
fn line_height(self, line_height: impl Into<DefiniteLength>) -> Self
设置此元素及其子元素的行高。
Source§fn blend_mode(self, mode: BlendMode) -> Self
fn blend_mode(self, mode: BlendMode) -> Self
设置渲染此元素背景时应用的混合模式。
Source§fn transform_origin(self, x: f32, y: f32) -> Self
fn transform_origin(self, x: f32, y: f32) -> Self
设置变换原点为元素大小的比例 (0.0-1.0)。
默认为中心 (0.5, 0.5)。
Source§fn grid_cols_min_content(self, cols: u16) -> Self
fn grid_cols_min_content(self, cols: u16) -> Self
设置具有最小内容最小大小的网格列。
与 grid_cols 不同,它不会在 AvailableSpace::MinContent 约束下收缩到宽度 0。
Source§fn grid_cols_max_content(self, cols: u16) -> Self
fn grid_cols_max_content(self, cols: u16) -> Self
设置具有最大内容最大大小的网格列,用于基于内容宽度的列。
Source§fn grid_rows_min_content(self, rows: u16) -> Self
fn grid_rows_min_content(self, rows: u16) -> Self
设置具有最小内容最小大小的网格行。
与 grid_rows 不同,它不会在 AvailableSpace::MinContent 约束下收缩到高度 0。
Source§fn grid_rows_max_content(self, rows: u16) -> Self
fn grid_rows_max_content(self, rows: u16) -> Self
设置具有最大内容最大大小的网格行,用于基于内容的行高。
Source§fn col_start_auto(self) -> Self
fn col_start_auto(self) -> Self
将此元素的列起始位置设置为 auto。
Source§fn col_end_auto(self) -> Self
fn col_end_auto(self) -> Self
将此元素的列结束位置设置为 auto。
Source§fn col_span_full(self) -> Self
fn col_span_full(self) -> Self
设置此元素的行跨度。
Source§fn row_start_auto(self) -> Self
fn row_start_auto(self) -> Self
将此元素的行起始位置设置为 “auto”
Source§fn row_end_auto(self) -> Self
fn row_end_auto(self) -> Self
将此元素的行结束位置设置为 “auto”
Source§fn row_span_full(self) -> Self
fn row_span_full(self) -> Self
设置此元素的行跨度。
Source§fn debug_below(self) -> Self
fn debug_below(self) -> Self
在此元素下方所有符合条件的元素上绘制调试边框。
Auto Trait Implementations§
impl !RefUnwindSafe for Tab
impl !Send for Tab
impl !Sync for Tab
impl !UnwindSafe for Tab
impl Forget for Tab
impl Freeze for Tab
impl Move for Tab
impl Unpin for Tab
impl UnsafeUnpin for Tab
Blanket Implementations§
Source§impl<E> AnimationExt for Ewhere
E: IntoElement + 'static,
impl<E> AnimationExt for Ewhere
E: IntoElement + 'static,
Source§fn with_animation(
self,
id: impl Into<ElementId>,
animation: Animation,
animator: impl Fn(Self, f32) -> Self + 'static,
) -> AnimationElement<Self>where
Self: Sized,
fn with_animation(
self,
id: impl Into<ElementId>,
animation: Animation,
animator: impl Fn(Self, f32) -> Self + 'static,
) -> AnimationElement<Self>where
Self: Sized,
使用动画渲染此组件或元素
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<E> ContextMenuExt for E
impl<E> ContextMenuExt for E
为元素添加右键菜单 Read more
Source§impl<T> ElementExt for Twhere
T: ParentElement,
impl<T> ElementExt for Twhere
T: ParentElement,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> FluentBuilder for Twhere
T: IntoElement,
impl<T> FluentBuilder for Twhere
T: IntoElement,
Source§fn when(self, condition: bool, then: impl FnOnce(Self) -> Self) -> Selfwhere
Self: Sized,
fn when(self, condition: bool, then: impl FnOnce(Self) -> Self) -> Selfwhere
Self: Sized,
使用给定的闭包有条件地修改自身。
Source§fn when_else(
self,
condition: bool,
then: impl FnOnce(Self) -> Self,
else_fn: impl FnOnce(Self) -> Self,
) -> Selfwhere
Self: Sized,
fn when_else(
self,
condition: bool,
then: impl FnOnce(Self) -> Self,
else_fn: impl FnOnce(Self) -> Self,
) -> Selfwhere
Self: Sized,
使用给定的闭包有条件地修改自身。
Source§impl<T> FocusTrapElement for Twhere
T: InteractiveElement,
impl<T> FocusTrapElement for Twhere
T: InteractiveElement,
Source§fn focus_trap(
self,
id: impl Into<ElementId>,
focus_handle: &FocusHandle,
) -> FocusTrapContainer<Self>
fn focus_trap( self, id: impl Into<ElementId>, focus_handle: &FocusHandle, ) -> FocusTrapContainer<Self>
为元素启用焦点陷阱。 Read more
Source§impl<T> FocusableExt<T> for Twhere
T: ParentElement + Styled,
impl<T> FocusableExt<T> for Twhere
T: ParentElement + Styled,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> StyleSized<T> for Twhere
T: Styled,
impl<T> StyleSized<T> for Twhere
T: Styled,
Source§fn input_text_size(self, size: ElementSize) -> T
fn input_text_size(self, size: ElementSize) -> T
根据给定尺寸设置输入框文字大小。
Source§fn input_size(self, size: ElementSize) -> T
fn input_size(self, size: ElementSize) -> T
根据给定尺寸设置输入框整体尺寸。
Source§fn input_pl(self, size: ElementSize) -> T
fn input_pl(self, size: ElementSize) -> T
根据给定尺寸设置输入框左内边距。
Source§fn input_pr(self, size: ElementSize) -> T
fn input_pr(self, size: ElementSize) -> T
根据给定尺寸设置输入框右内边距。
Source§fn input_px(self, size: ElementSize) -> T
fn input_px(self, size: ElementSize) -> T
根据给定尺寸设置输入框水平内边距。
Source§fn input_py(self, size: ElementSize) -> T
fn input_py(self, size: ElementSize) -> T
根据给定尺寸设置输入框垂直内边距。
Source§fn input_h(self, size: ElementSize) -> T
fn input_h(self, size: ElementSize) -> T
根据给定尺寸设置输入框高度。
Source§fn list_size(self, size: ElementSize) -> T
fn list_size(self, size: ElementSize) -> T
根据给定尺寸设置列表整体尺寸。
Source§fn list_px(self, size: ElementSize) -> T
fn list_px(self, size: ElementSize) -> T
根据给定尺寸设置列表水平内边距。
Source§fn list_py(self, size: ElementSize) -> T
fn list_py(self, size: ElementSize) -> T
根据给定尺寸设置列表垂直内边距。
Source§fn size_with(self, size: ElementSize) -> T
fn size_with(self, size: ElementSize) -> T
应用给定尺寸。
Source§fn table_cell_size(self, size: ElementSize) -> T
fn table_cell_size(self, size: ElementSize) -> T
应用表格单元格尺寸(字体大小、内边距)。
根据给定尺寸设置按钮文字大小。
Source§impl<E> StyledExt for Ewhere
E: Styled,
impl<E> StyledExt for Ewhere
E: Styled,
Source§fn refine_style(self, style: &StyleRefinement) -> Self
fn refine_style(self, style: &StyleRefinement) -> Self
应用给定的样式精炼到该元素。
Source§fn debug_blue(self) -> Self
fn debug_blue(self) -> Self
绘制一个宽度为 1px 的蓝色边框。
Source§fn debug_yellow(self) -> Self
fn debug_yellow(self) -> Self
绘制一个宽度为 1px 的黄色边框。
Source§fn debug_green(self) -> Self
fn debug_green(self) -> Self
绘制一个宽度为 1px 的绿色边框。
Source§fn debug_pink(self) -> Self
fn debug_pink(self) -> Self
绘制一个宽度为 1px 的粉色边框。
Source§fn debug_focused(
self,
focus_handle: &FocusHandle,
window: &Window,
cx: &App,
) -> Self
fn debug_focused( self, focus_handle: &FocusHandle, window: &Window, cx: &App, ) -> Self
当元素聚焦时绘制 1px 蓝色边框。
Source§fn focused_border(self, cx: &App) -> Self
fn focused_border(self, cx: &App) -> Self
绘制一个宽度为 1px、颜色为环色的边框。
Source§fn font_extralight(self) -> Self
fn font_extralight(self) -> Self
Source§fn font_light(self) -> Self
fn font_light(self) -> Self
Source§fn font_normal(self) -> Self
fn font_normal(self) -> Self
Source§fn font_medium(self) -> Self
fn font_medium(self) -> Self
Source§fn font_semibold(self) -> Self
fn font_semibold(self) -> Self
Source§fn font_extrabold(self) -> Self
fn font_extrabold(self) -> Self
Source§fn font_black(self) -> Self
fn font_black(self) -> Self
Source§fn popover_style(self, cx: &App) -> Self
fn popover_style(self, cx: &App) -> Self
设置为 Popover 样式。
Source§fn corner_radii(self, radius: Corners<Pixels>) -> Self
fn corner_radii(self, radius: Corners<Pixels>) -> Self
设置元素的四角圆角。