Crate freya_testing

Source

Modules§

data
emittable
executor
measurer
name
platform
prelude

Structs§

AccessibilityData
AccessibilityId
The stable identity of a [Node], unique within the node’s tree.
AccessibilityState
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
GradientStop
ImePreeditEventData
KeyboardEventData
Data of a Keyboard event.
Label
LayerState
LayoutData
LinearGradient
Memo
Modifiers
Pressed modifier keys.
MouseEventData
Paragraph
ParagraphHolder
Platform
RadialGradient
ReactiveContext
Rect
RenderContext
RenderingTicker
Scale
ScreenReader
Shadow
SizedEventData
Data of a Sized event.
Span
State
StyleState
Svg
Task
TaskHandle
TaskId
TaskWaker
TestingNode
TestingRunner
TextShadow
TextStyleData
TextStyleState
TouchEventData
Data of a Touch event.
UseId
WheelEventData
Data of a Wheel event.

Enums§

AccessibilityFocusMovement
Strategy focusing an Accessibility Node.
AccessibilityFocusStrategy
Strategy focusing an Accessibility Node.
AccessibilityRole
The type of an accessibility node.
AspectRatio
BorderAlignment
BorderShape
Code
Code is the physical position of a key.
CursorIcon
Describes the appearance of the (usually mouse) cursor icon.
DiffKey
Element
EventType
FileEventName
Fill
FocusStatus
Focusable
FontSlant
Force
FutureState
ImageCover
ImeEventName
Key
Key represents the meaning of a keypress.
KeyboardEventName
Layer
MouseButton
MouseEventName
NavigationMode
Overflow
PlatformEvent
Data for PlatformEvent.
PointerEventData
Data of a pointer event.
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
TextAlign
TextHeightBehavior
TextOverflow
TextWidth
TouchEventName
TouchPhase
UserEvent
WheelEventName
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

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

Type Aliases§

ReadRef
WriteRef