Module quork::macros

source ·
Expand description

Quork macros module

Macros§

  • Strip whitespace from the left of a string literal on each line
  • Strip whitespace from the left and right of a string literal on each line
  • Strip whitespace from the right of a string literal on each line

Attribute Macros§

  • Time a given function

Derive Macros§

  • Implement const_to_string for enum variants.
  • Implement the [std::convert::From] trait for converting tuples into tuple structs
  • Implement [quork::ListVariants] for enums
  • Implement new fn for structs