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§
- Const
Str - Implement
const_to_string
for enum variants. - From
Tuple - Implement the
std::convert::From
trait for converting tuples into tuple structs - List
Variants - Implement [
quork::ListVariants
] for enums - New
- Implement
new
fn for structs - Strip
- Create an additional enum with all values stripped