Skip to main content

Module prelude

Module prelude 

Source

Re-exports§

pub use crate::color_picker::ColorPicker;
pub use crate::color_picker::PIPETTE_SVG;
pub use crate::color_picker::Picker;
pub use crate::color_picker::PickerFloat;
pub use crate::primitives::Deco;
pub use crate::primitives::PRESS_BLEND_RATE;
pub use crate::slider::FILL_COLOR;
pub use crate::slider::Slider;
pub use crate::slider::THUMB_CENTER;
pub use crate::slider::THUMB_OUTLINE;
pub use crate::slider::TRACK_COLOR;
pub use crate::slider1d::Slider1D;

Structs§

Accessible
AccessibleNode
AnimSpec
Animated
AnimatedSize
AnyView
AspectRatio
AssetRegistry
AsyncView
Avatar
AvatarStyle
Backdrop
BackdropBlur
BackdropFiltered
Badge
BadgeStyle
BorderSide
BoxStyle
Breakpoints
BrushStop
BrushStroke
Button
ButtonStyle
Cached
Opts a subtree into the runtime layer cache.
Canvas
Checkbox
CheckboxStyle
Chip
ChipStyle
Clip
Column
Command
CommandPalette
CommandRegistry
Container
ContainerStyle
Layout style of a container that arranges its children on an axis.
ContextMenu
ContextMenuStyle
CustomMenuItem
DamageTracker
Dash
DataClipboard
DateField
DetachedWindow
DevOverlay
Dialog
DialogStyle
DismissableLayer
Divider
DividerStyle
DockArea
DockFloatLayer
DockHeader
DockPanel
DockSlot
DockStyle
Docking configuration for a set of children.
DockView
DockWindowHost
DockWindowRoot
Dockable
DragEnd
DragId
DragOptions
DragPayload
DragSession
DragValue
DragValueStyle
Draggable
Drawer
DrawerStyle
DropPosition
DropdownButton
Droppable
EdgeGhost
EdgeSlab
EffectNode
Wraps a single view and paints a Effect for it.
ElementId
Enter
ErrorBoundary
EventCtx
Field
Filter
Filtered
FlatRow
FlexItem
Flex parameters for one item along a container’s main axis.
FloatingMenu
FocusRing
FocusScope
FontWeight
Form
FormStyle
Fragment
GradientStop
GradientStops
Grid
GridPlacement
Placement of a grid item, with optional row and column indices.
GridStyle
Layout style for a grid container.
HitCircle
HitRect
Icon
Image
Indents
Optional indents from each edge of a container’s content box.
Inset
Absolute offsets from each edge of the containing block.
InteractState
Kbd
KbdStyle
Key
KeyBinding
KeyEvent
LayerCache
CPU-side cache of rendered subtrees.
LayerKey
Identifies a cached layer by element and content revision.
LayoutCtx
Borrowed text system used by layout code to shape and measure text.
LayoutStyle
Layout properties for a single view.
List
Live
LiveBackground
LiveOffset
LiveOpacity
Margined
Masonry
A waterfall layout with equal-width columns and variable item heights.
MasonryStyle
Layout style for a masonry container.
MemClipboard
MenuBar
MenuItem
MinMax
Modal
ModalScrim
ModalStyle
Modifiers
Motion
MultiSelect
NumberField
Opacity
OverlayEntry
OverlayId
Pad2D
PaintCtx
Painter
Panel
Path
Peaks
Pixels
Popper
PopupState
Portal
Presence
ProgressBar
Prop
Pulse
RadioButton
RadioGroup
RadioStyle
Radius
RasterOptions
ResizeHandle
ResizeHandleStyle
Responsive
RichCaret
RichHit
RichLine
RichParagraph
RichRect
RichText
Rotated
Row
Runtime
RuntimeError
Scaled
ScrollView
Scrub
Sequence
ShadowSpec
Shake
Shape
ShapeCache
SharedClipboard
SharedDataClipboard
Sheet
SheetStyle
Skeleton
SliderStyle
Spacer
Spinner
SplitPanel
SplitPanelStyle
SpringSpec
Sprite
Stack
StackPos
StatePatch
States
Stats
StrokeStyle
SurfaceDraw
SurfaceInputBinding
SvPad
Switch
SwitchStyle
TabStrip
TabTear
Table
TableColumn
TableStyle
Text
TextArea
TextAreaStyle
TextField
TextFieldStyle
TextMetrics
TextSpan
TextStyle
ThumbnailCache
Toast
ToastQueue
ToastStack
ToastStyle
Tooltip
TooltipStyle
Track1D
Transform
Translate
TreeNode
TreeStyle
TreeView
Unit
VirtualList
WaveformCache
WaveformOpts
When
WindowControls
WindowId
WithSize
Wrap
WrapStyle
Wrapping configuration for children along a main axis.

Enums§

AccessibleRole
Align
Alignment of children on a container’s cross axis.
Anchor
Axis
Main layout axis of a container.
Breakpoint
ClickTrigger
CursorIcon
Dismiss
DividerAxis
Dock
Side of a container a child is docked to.
DrawerSide
DropEffect
Easing
EdgeSide
Effect
ElideMode
Event
EventPhase
Fill
FillRule
FontStyle
FrameOutcome
Gradient
GradientKind
GridFlow
Direction in which auto-placed grid items flow.
InputMode
Justify
Distribution of free space along a container’s main axis.
LineCap
LineHeight
How a line box height is derived from the font size.
LineJoin
Mask
Orientation
Overflow
How a container handles content that exceeds its bounds.
OverlayLayer
OverlayOverflow
PenTool
PhotoError
Placement
PointerButton
PointerEvent
Position
RichAlign
ScreenOrientation
ScrollAxis
ScrollbarVisibility
SheetSide
SortDir
TextVAlign
Vertical placement of the text block inside its content box.
ToastKind
Track
Size of a single grid column or row.
WrapMode

Constants§

DIALOG_DANGER
DRAG_THRESHOLD
EDGE_GHOST_PX
EDGE_HINT_PX
EDGE_LINE_PX
ENTER_SECS
EXIT_SECS
FORM_ERROR
MAX_GRADIENT_STOPS
MAX_PHOTO_DIM
RING_OFFSET
RING_WIDTH

Traits§

Clipboard
CustomLayout
Decoratable
FilterExt
IntoChildren
Leaf
LiveExt
MemoLiveExt
SignalLiveExt
Styleable
ValidField
ValueExt
View
ViewModifiers
ViewState

Functions§

avatar_color_for
badge_label
bake_strip
clamp_card_top_left
decode_pixels
decode_pixels_thumbnail
derived
divider_line_rect
draw_gradient_mask
edge_ghost_rect
edge_hint_at
effect_for_modifiers
enter_progress
enter_sample
exceeded_threshold
exceeded_undock
exit_done
exit_progress
exit_sample
fade
fade_in
grab_offset
initials_for
insertion_index
layout_bars
load_pixels
load_pixels_thumbnail
main_first_index
move_item
orientation_of
pop_in
preview_origin
remove_hit_rect
ring_rect
screen_orientation_of
shared_cache
slide_in
slide_y
spring_spec
stagger
value
waveform_line_points
when
white_noise

Type Aliases§

LetterSpacing
Value