Skip to main content

Crate glory_ui

Crate glory_ui 

Source
Expand description

Semantic UI construction and control flow. Builders mount through the runtime; layout engines and DOM objects are never created by configuring a widget.

Re-exports§

pub use each::Each;
pub use each::EachBuilder;
pub use each::each;
pub use list::List;
pub use list::list;

Modules§

each
One keyed Each API and controller for all sources and Widget hosts.
events
list
Windowed list primitives. Scrolling only accesses the visible window and overscan, never an iterator over the whole data set. This is distinct from keyed each, which deliberately mounts its complete sequence.

Structs§

App
BufferStats
Queue and idle-spare capacities, sampled between host turns. Counts slots/bytes, excludes in-flight batches, and does not measure RSS.
Button
Check
Children
Deferred
Defer widget construction until its owning scope is entered.
File
FormControl
Submission metadata is separate from the accessible name. Text input values come from InputProps; Check/Button may supply an explicit successful value.
Fragment
A movable widget fragment without a semantic wrapper node.
Graphic
Group
Image
Input
InputAssist
Omitted members preserve the intrinsic Purpose hint. No actual OS keyboard or autofill service is implied; native hosts may retain these as hints.
InputEditCapture
ItemPosition
Position in the logical collection, not in the mounted render window.
Layer
Link
Mounted
Plan
PlanInstance
Non-owning access to the live nodes of one declared construction. Cloning a plan never clones an instance’s nodes, event captures or reactive state.
PlanPart
RangeValue
A finite, inclusive numeric position in a nonempty range.
RichEditor
Scope
A UI context carries semantic parent identity, never a DOM/GPU object. Core ownership remains separate; all presentation helpers work on any Render.
ScrollCommand
ScrollMetrics
Logical pixels at one accepted query watermark. Native/browser offsets can be negative (RTL/elastic scrolling); dimensions are finite and nonnegative. Content dimensions are independent and need not exceed viewport dimensions.
Select
SemanticId
Semantics
Optional and finite: ordinary nodes allocate none of this metadata. Named relations may refer forward or to an unmounted target; adapters resolve only live names in their document. Removing a target retains no owning reference.
Settle
Result of a bounded local observation turn, not display completion or an assertion that asynchronous tasks/resources/animations have finished.
SliderValue
One actual slider’s accepted configuration, separate from passive progress and separator resizing. Hosts propose changes; they do not own the value.
SpinValue
Text
TextSelection
UiStats
View
WeakScope
When
WidgetFn
An owner-scoped widget built by a handwritten Rust closure.

Enums§

Current
The current location in a related set, independent of selection or visits.
DismissReason
Error
Event
EventKind
FieldPart
Structural form content, fixed for a node’s lifetime on HTML adapters.
FocusMode
Host-native default, programmatic focus only, or a normal tab stop.
FormAction
The host captures requests; application policy owns validation and transport.
GridCommand
InputAutofill
InputEdit
InputEditIntent
InputEditRejection
InputMode
LayerPlacement
LinkOpen
Native links may use their current context or request a separate one. Opening a system browser remains an outer native host service.
Navigation
Logical collection navigation, independent of a host’s key codes.
NavigationPanel
NavigationPanelCommand
Orientation
Purpose
RangeCommand
Finite range proposals. Application state remains application-owned.
Role
Structural roles belong to View. Other widgets keep their intrinsic control/text/image semantics rather than impersonating unrelated widgets.
ScrollAxes
ScrollMovement
SelectionDirection
TextKind

Traits§

IntoChildren
Widget
A widget is built once; dynamic props/control flow install owned bindings.

Functions§

button
check
col
defer
file
fragment
graphic
group
image
input
link
plan
Compile declarations once, outside a row/data loop. Control flow, bindings, event captures and node_ref handles belong to instances, never this plan.
rich_editor
row
select
text
view
when
widget
Build once in the mounted scope; install bindings for reactive updates.

Type Aliases§

Result