Crate quork_proc

Source
Expand description

Quork procedural macros crate

Macros§

ltrim_lines
Trim whitespace from the left of a string literal on each line
rtrim_lines
Trim whitespace from the left and right of a string literal on each line
sized_string
Creates a [SizedString] from a string literal
trim_lines
Trim whitespace from the right of a string literal on each line

Attribute Macros§

time
Time a given function

Derive Macros§

ConstStr
Implement const_to_string for enum variants.
FromTuple
Implement the std::convert::From trait for converting tuples into tuple structs
ListVariants
Implement [quork::ListVariants] for enums
New
Implement new fn for structs
Strip
Create an additional enum with all values stripped