Module prelude

Source

Re-exports§

pub use crate::components::*;

Modules§

data
emittable
executor
measurer
name
platform
plotters
Plotters - A Rust drawing library focusing on data plotting for both WASM and native applications 🦀📈🚀

Structs§

AccessibilityData
AccessibilityId
The stable identity of a [Node], unique within the node’s tree.
AccessibilityState
ActivableRoute
AnimationClock
Border
BorderWidth
Bytes
A cheaply cloneable and sliceable chunk of contiguous memory.
Callback
Color
ConicGradient
CornerRadius
Cursor
CursorStyleData
Effect
EffectData
EffectState
Event
EventHandler
FileEventData
Focus
FontWeight
FontWidth
FpRender
FutureTask
Gaps
GradientStop
ImePreeditEventData
KeyboardEventData
Data of a Keyboard event.
Label
LaunchConfig
Launch configuration.
LayerState
LayoutData
LinearGradient
Link
Memo
Modifiers
Pressed modifier keys.
MouseEventData
NativeRouter
Paragraph
ParagraphHolder
Platform
Plot
PlotElement
RadialGradient
ReactiveContext
Rect
RenderCallback
RenderContext
RenderingTicker
Scale
ScreenReader
Shadow
SizedEventData
Data of a Sized event.
SkiaBackend
SkiaBackendError
Span
State
StyleState
Svg
Task
TaskHandle
TaskId
TaskWaker
TextShadow
TextStyleData
TextStyleState
TouchEventData
Data of a Touch event.
UseId
WheelEventData
Data of a Wheel event.
WindowConfig
Configuration for a Window.

Enums§

AccessibilityFocusMovement
Strategy focusing an Accessibility Node.
AccessibilityFocusStrategy
Strategy focusing an Accessibility Node.
AccessibilityRole
The type of an accessibility node.
Alignment
AspectRatio
BorderAlignment
BorderShape
Code
Code is the physical position of a key.
Content
CursorIcon
Describes the appearance of the (usually mouse) cursor icon.
DiffKey
Direction
Element
EventType
Fill
FocusStatus
Focusable
FontSlant
Force
FutureState
ImageCover
Key
Key represents the meaning of a keypress.
Layer
LinkTooltip
Tooltip configuration for the Link component.
MouseButton
NavigationMode
Overflow
PointerEventData
Data of a pointer event.
Position
PreferredTheme
PressEventData
ReadState
Given a type T you may pass an owned value, a State<T> or a function returning a ReadRef<T>
ReadStateCow
SamplingMode
ShadowPosition
Size
TextAlign
TextHeightBehavior
TextOverflow
TextWidth
TouchPhase
UserEvent
WheelSource

Traits§

AccessibilityExt
AlignmentExt
ChildrenExt
ContainerExt
ContainerWithContentExt
ContentExt
DirectionExt
EventHandlersExt
ImageExt
IntoElement
KeyExt
LayerExt
LayoutExt
ListExt
MaybeExt
MutView
Render
RenderKey
RenderOwned
ScrollableExt
SizeExt
TextStyleExt
VisibleSizeExt
WinitPlatformExt

Functions§

consume_context
consume_root_context
current_scope_id
label
Draw text with label. Its a simplified version of crate::elements::paragraph.
launch
mark_scope_as_dirty
paragraph
paragraph makes it possible to render rich text with different styles. Its a more personalizable api than crate::elements::label.
plot
provide_context
provide_context_for_scope_id
rect
rect acts as a generic container to wrapper other elements inside or to simply pain boxes.
spawn
spawn_forever
svg
Use svg() to render SVG in your app.
try_consume_context
try_consume_context_from_scope_id
try_consume_root_context
use_after_side_effect
use_consume
use_drop
use_focus
use_focus_status
use_future
Creata FutureTask with the given callback.
use_hook
use_id
Get a unique for a given generic type.
use_memo
use_provide_context
use_reactive
use_side_effect
Registers a callback that will run every time a crate::lifecycle::state::State which was crate::lifecycle::state::State::read inside, changes.
use_side_effect_value
use_side_effect_with_deps
use_state
use_try_consume

Type Aliases§

Area
Area used by a Node, including its margins.
CursorPoint
ReadRef
Size2D
WriteRef