Expand description
This is a crate that adds some features on top top of egui.
This crate are for experimental features, and features that require big dependencies that does not belong in egui.
§Feature flags
-
all_loaders— Shorthand for enabling all the different types of image loaders. -
datepicker— EnableDatePickerButtonwidget. -
file— Add support for loading images fromfile://URIs. -
gif— Support loading gif images. -
webp— Support loading webp images. -
http— Add support for loading images via HTTP. -
image— Add support for loading images with theimagecrate.You also need to ALSO opt-in to the image formats you want to support, like so:
image = { version = "0.25", features = ["jpeg", "png"] } # Add the types you want support for -
serde— Derive serde Serialize/Deserialize on stateful structs -
svg— Support loading svg images. -
svg_text— Support rendering text in svg images. -
syntect— Enable better syntax highlighting usingsyntect.
§Optional dependencies
document-features— Enable this when generating docs.
Re-exports§
pub use loaders::install_image_loaders;
Modules§
- loaders
- syntax_
highlighting - Syntax highlighting for code.
Structs§
- Column
- Specifies the properties of a column, like its width range.
- Date
Picker Button - Shows a date, and will open a date picker popup when clicked.
- Strip
- A Strip of cells which go in one direction. Each cell has a fixed size. In contrast to normal egui behavior, strip cells do not grow with its children!
- Strip
Builder - Builder for creating a new
Strip. - Table
- Table struct which can construct a
TableBody. - Table
Body - The body of a table.
- Table
Builder - Builder for a
Tablewith (optional) fixed header and scrolling body. - Table
Row - The row of a table.
Is created by
TableRowfor each createdTableBody::rowor each visible row in rows created by callingTableBody::rows.
Enums§
- Size
- Size hint for table column/strip cell.