Crate raui_core

source ·
Expand description

RAUI core types and components

The things that most users will be interested in here are the components and the widget! macro. Those have more documentation on how to use widgets, components, etc. in your app.

Modules

Macros

Structs

Enums

Traits

  • Common logging interface that custom log engines should follow to enable their reusability across different modules that will log messages to text output targets. Objects that implement this trait should be considered text output targets, for example text streams, terminal, network-based loggers, even application screen.
  • The Prefab trait is implemented for types that are able to translate to and from PrefabValue’s

Type Aliases

  • An integer, scalar value define as a type alias to allow switching between 32 and 64 bit integers
  • A floating point, scalar value define as a type alias to allow switching between 32 and 64 bit floats
  • An unsigned, integer, scalar value define as a type alias to allow switching between 32 and 64 bit integers

Attribute Macros

  • Allows you to execute re-usable logic after your component body
  • An attribute macro that allows you to add hooks that will execute before your component body

Derive Macros

  • Derive macro for the [MessageData][raui_core::messenger::MessageData] trait
  • Derive macro for the [PropsData][raui_core::props::PropsData] trait