Crate kas[−][src]
Expand description
KAS GUI Toolkit
This is the main KAS crate, featuring:
- the
Widget
trait family, withmacros
to implement them - high-level themable and mid-level
draw
APIs event
handling codegeom
-etry types and widgetlayout
solvers- the standard
widgets
library
See also these external crates:
kas-theme
- crates.io - docs.rs - theme API + themeskas-wgpu
- crates.io - docs.rs - WebGPU + winit integration
Also refer to:
- KAS Tutorials
- Examples
- Discuss
- easy-cast API docs (this is re-exported as
cast
)
Re-exports
pub use kas_core::cast;
pub use kas_widgets as widgets;
pub use kas_resvg as resvg;
pub use kas_theme as theme;
pub use kas_wgpu as shell;
Modules
Class-specific widget traits
config
Configuration read/write utilities
Direction types
Draw APIs
Event handling
Geometry data types
Layout solver
Library macros
KAS prelude
Text functionality
Traits for shared data objects
Utilities
Structs
Common widget data
A future value, pending UI operation
A widget which escapes its parent’s rect
Action required after processing
Widget identifier
Identifier for a window or pop-up
Traits
Provides a convenient .boxed()
method on implementors
Positioning and drawing routines for widgets
Trait to describe the type needed by the layout implementation.
Widget trait
Listing of a widget’s children
Widget configuration
Base widget functionality
Functionality required by a window