Skip to content

Commit

Permalink
Add trait_name to API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pentamassiv authored and bilelmoussaoui committed Aug 6, 2023
1 parent 47c2f07 commit 77bac6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions book/src/config/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ visibility = "pub" # or 'crate' / 'private' / 'super'
# The default value to used for the `Default` implementation. It only
# works for flags and enums. You have to pass the "GIR" member name.
default_value = "fill"
# Change the name of the generated trait to e.g avoid naming conflicts
trait_name = "TraitnameExt"
# In case you don't want to generate the documentation for this type.
generate_doc = false
# define overrides for function
Expand Down

0 comments on commit 77bac6e

Please sign in to comment.