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§
- Accessibility
Data - Accessibility
Id - The stable identity of a [
Node], unique within the node’s tree. - Accessibility
State - Activable
Route - Animation
Clock - Border
- Border
Width - Bytes
- A cheaply cloneable and sliceable chunk of contiguous memory.
- Callback
- Color
- Conic
Gradient - Corner
Radius - Cursor
- Cursor
Style Data - Effect
- Effect
Data - Effect
State - Event
- Event
Handler - File
Event Data - Focus
- Font
Weight - Font
Width - FpRender
- Future
Task - Gaps
- Gradient
Stop - ImePreedit
Event Data - Keyboard
Event Data - Data of a Keyboard event.
- Label
- Launch
Config - Launch configuration.
- Layer
State - Layout
Data - Linear
Gradient - Link
- Memo
- Modifiers
- Pressed modifier keys.
- Mouse
Event Data - Native
Router - Paragraph
- Paragraph
Holder - Platform
- Plot
- Plot
Element - Radial
Gradient - Reactive
Context - Rect
- Render
Callback - Render
Context - Rendering
Ticker - Scale
- Screen
Reader - Shadow
- Sized
Event Data - Data of a Sized event.
- Skia
Backend - Skia
Backend Error - Span
- State
- Style
State - Svg
- Task
- Task
Handle - TaskId
- Task
Waker - Text
Shadow - Text
Style Data - Text
Style State - Touch
Event Data - Data of a Touch event.
- UseId
- Wheel
Event Data - Data of a Wheel event.
- Window
Config - Configuration for a Window.
Enums§
- Accessibility
Focus Movement - Strategy focusing an Accessibility Node.
- Accessibility
Focus Strategy - Strategy focusing an Accessibility Node.
- Accessibility
Role - The type of an accessibility node.
- Alignment
- Aspect
Ratio - Border
Alignment - Border
Shape - Code
- Code is the physical position of a key.
- Content
- Cursor
Icon - Describes the appearance of the (usually mouse) cursor icon.
- DiffKey
- Direction
- Element
- Event
Type - Fill
- Focus
Status - Focusable
- Font
Slant - Force
- Future
State - Image
Cover - Key
- Key represents the meaning of a keypress.
- Layer
- Link
Tooltip - Tooltip configuration for the
Linkcomponent. - Mouse
Button - Navigation
Mode - Overflow
- Pointer
Event Data - Data of a pointer event.
- Position
- Preferred
Theme - Press
Event Data - Read
State - Given a type
Tyou may pass an owned value, aState<T>or a function returning aReadRef<T> - Read
State Cow - Sampling
Mode - Shadow
Position - Size
- Text
Align - Text
Height Behavior - Text
Overflow - Text
Width - Touch
Phase - User
Event - Wheel
Source
Traits§
- Accessibility
Ext - Alignment
Ext - Children
Ext - Container
Ext - Container
With Content Ext - Content
Ext - Direction
Ext - Event
Handlers Ext - Image
Ext - Into
Element - KeyExt
- Layer
Ext - Layout
Ext - ListExt
- Maybe
Ext - MutView
- Render
- Render
Key - Render
Owned - Scrollable
Ext - SizeExt
- Text
Style Ext - Visible
Size Ext - Winit
Platform Ext
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.
- Cursor
Point - ReadRef
- Size2D
- Write
Ref