Modules§
Structs§
- Accessibility
Data - Accessibility
Id - The stable identity of a [
Node], unique within the node’s tree. - Accessibility
State - 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 - Gradient
Stop - ImePreedit
Event Data - Keyboard
Event Data - Data of a Keyboard event.
- Label
- Layer
State - Layout
Data - Linear
Gradient - Memo
- Modifiers
- Pressed modifier keys.
- Mouse
Event Data - Paragraph
- Paragraph
Holder - Platform
- Radial
Gradient - Reactive
Context - Rect
- Render
Context - Rendering
Ticker - Scale
- Screen
Reader - Shadow
- Sized
Event Data - Data of a Sized event.
- Span
- State
- Style
State - Svg
- Task
- Task
Handle - TaskId
- Task
Waker - Testing
Node - Testing
Runner - 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.
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.
- Aspect
Ratio - Border
Alignment - Border
Shape - Code
- Code is the physical position of a key.
- Cursor
Icon - Describes the appearance of the (usually mouse) cursor icon.
- DiffKey
- Element
- Event
Type - File
Event Name - Fill
- Focus
Status - Focusable
- Font
Slant - Force
- Future
State - Image
Cover - ImeEvent
Name - Key
- Key represents the meaning of a keypress.
- Keyboard
Event Name - Layer
- Mouse
Button - Mouse
Event Name - Navigation
Mode - Overflow
- Platform
Event - Data for PlatformEvent.
- Pointer
Event Data - Data of a pointer event.
- 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 - Text
Align - Text
Height Behavior - Text
Overflow - Text
Width - Touch
Event Name - Touch
Phase - User
Event - Wheel
Event Name - 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
Functions§
- consume_
context - consume_
root_ context - current_
scope_ id - label
- Draw text with label. Its a simplified version of crate::elements::paragraph.
- launch_
doc - launch_
doc_ hook - launch_
test - 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.
- 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