Expand description
Crate consists of 4 traits (EguiStructImut
& EguiStruct
: EguiStructEq
+EguiStructClone
) and two derive macros (EguiStruct
to derive EguiStructImut
& EguiStruct
to derive the other three).
See demo
Macros§
- impl_
eclone - Generate EguiStructClone implementation based on Clone
- impl_
eeq - Generate EguiStructEq implementation based on PartialEq
- impl_
eeqclone - Wrapper for both impl_eeq! & impl_eclone!
Structs§
Enums§
- Config
Num - Config structure for mutable view of Numerics
- Config
Str - Config structure for mutable view of String
- Config
StrImut - Config structure for immutable view of many simple types like str, String & numerics
Traits§
- Egui
Struct - Trait, that allows generating mutable view of data (takes
&mut data
) - Egui
Struct Clone - Similar to std
Clone
trait, but they respect#[eguis(skip)]
. - Egui
Struct Eq - Similar to std
PartialEq
trait, but they respect#[eguis(skip)]
. - Egui
Struct Imut - Trait, that allows generating immutable view of data (takes
&data
)
Derive Macros§
- Egui
Struct - Derive
EguiStruct
,EguiStructClone
&EguiStructEq
for struct/enum - Egui
Struct Imut - Derive
EguiStructImut
for struct/enum