We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Properties
Enum
1 parent f21daf7 commit 914526fCopy full SHA for 914526f
glib-macros/src/lib.rs
@@ -525,6 +525,10 @@ pub fn closure_local(item: TokenStream) -> TokenStream {
525
/// }
526
/// ```
527
///
528
+/// When using the [`Properties`] macro with enums that derive [`Enum`], the default value must be
529
+/// explicitly set via the `builder` parameter of the `#[property]` attribute. See
530
+/// [here](Properties#supported-types) for details.
531
+///
532
/// An enum can be registered as a dynamic type by setting the derive macro
533
/// helper attribute `enum_dynamic`:
534
0 commit comments