Crate quork_proc

Source
Expand description

Quork procedural macros crate

Macros§

  • lstrip_linesDeprecated
    Trim whitespace from the left of a string literal on each line
  • Trim whitespace from the left of a string literal on each line
  • rstrip_linesDeprecated
    Trim whitespace from the left and right of a string literal on each line
  • Trim whitespace from the left and right of a string literal on each line
  • Creates a [SizedString] from a string literal
  • Trim whitespace from the right of a string literal on each line
  • Trim 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
  • Create an additional enum with all values stripped