Crate carbide_core[−][src]
carbide
An easy-to-use, immediate-mode, 2D GUI library featuring a range of useful widgets.
If you are new to carbide, we recommend checking out The Guide.
Re-exports
pub use crate::color::Color; |
pub use crate::color::Colorable; |
pub use crate::position::Point; |
pub use crate::position::Range; |
pub use crate::position::Rect; |
pub use crate::position::Scalar; |
Modules
color | A library providing simple |
cursor | Contains an extendable enum of supported mouse cursor render. |
draw | |
event | Contains all render used to describe the input events that |
event_handler | |
flags | |
guide | The carbide Guide |
image_map | A type used to manage a user's image data and map them to |
input | This module contains all the logic for handling input events and providing them to widgets. |
layout | |
mesh | |
position | Items related to 2D positioning, used throughout carbide. |
prelude | |
render | |
state | |
text | Text layout logic. |
utils | Various utility functions used throughout carbide. |
widget | Widgets are the core building blocks for every carbide user interface. |
window |
Structs
Ui |
|
UiBuilder | A constructor type for building a |
UiCell | A wrapper around the |
Traits
Labelable | Widgets that may display some label. |
Functions
from_bin | Deserializes a slice of bytes into an instance of |
from_ron | A convenience function for building a deserializer
and deserializing a value of type |
to_bin | Serializes a serializable object into a |
to_ron | Serializes |
Type Definitions
FontSize | Font size used throughout carbide. |
Derive Macros
Widget | |
WidgetCommon | |
WidgetCommon_ | |
WidgetStyle | |
WidgetStyle_ |