Module freya::hooks

source ·
Expand description

Useful utilities.

Macros

  • Alias for Cow::Borrowed, because that’s used a million times so shortening it is nice. Makes the code more readable.
  • Example usage:
  • Create FooThemeWith structs without having to deal with the verbose syntax.
  • This macro has three arguments separator by commas.

Structs

Enums

Constants

Traits

  • A trait for giving a type a useful default value.
  • Common trait for editable texts

Functions

Type Aliases

Derive Macros

  • Derive macro generating an impl of the trait Default.