Crate fui_core

Source

Structs§

Callback
Callback can hold one listener that can be queued to execute with emit() method. The real execution will be done later on the same thread. Callbacks are queued because this prevents mutability problems when callbacks are called from callbacks and you are using Rc.
ChildrenIterator
Column
ColumnSpan
ControlContext
DefaultGridStyle
DefaultGridStyleParams
DefaultRelativeLayoutStyle
DefaultRelativeLayoutStyleParams
DefaultStackPanelStyle
DefaultStackPanelStyleParams
Event
EventProcessor
EventSubscription
EventSubscription is an owner of the callback (handler). Event keeps only a weak reference to the callback (handler).
FileDialogData
FileFilter
GestureDetector
Grid
Grow
Horizontal
HorizontalAlignment
JoinHandle
JoinHandle will abort the task when dropped.
KeyEvent
KeyModifiers
Margin
Matrix2x3
Mm
size in millimeters
Normal
size in range 0..1 - covers whole window area
ObservableCollectionFlatMap
ObservableCollectionFlatMap.
ObservableCollectionIterator
ObservableCollectionIterator.
ObservableCollectionMap
ObservableCollectionMap.
ObservableComposite
ObservableComposite.
ObservableVec
Point
Property
Rect
RelativeLayout
Warning!
Row
RowSpan
Services
Size
Sp
size in scaled pixels (pixel size defined by user preferences) if not specified otherwise this is the default unit to measure things
StackPanel
StyledControl
Thickness
Vertical
VerticalAlignment
ViewContext
Visible

Enums§

Alignment
Children
Children is a collection of controls.
ColorFormat
ControlEvent
ElementState
Gesture
InputEvent
KeyState
Keycode
Length
MouseButton
Orientation
RelativeAutoHide
RelativePlacement
ScrollDelta
Scroll delta enum.
Subscription
VecDiff

Traits§

CallbackObject
ControlBehavior
ControlObject
DrawingContext
EventContext
FileDialogService
IntoProperty
Used to attribute types that can be automatically converted to Property.
ObservableCollection
ObservableCollectionExt
ObservableCollectionFlatMapExt
Resources
Style
ViewModel
Used to convert controls to views. Controls can be consumed during conversion.
WindowService

Functions§

round_layout_value
spawn_local
Spawn task on the same thread and return handle that will abort it on drop.
spawn_local_and_forget
Spawn task on the same thread.

Type Aliases§

Color
Point2
Vector2
Vector3