Expand description
This crate provides extension methods to proc-macro, and proc-macro2’s
Literal types. These methods provide a mechanism for extracting the value
of the type.
§Supported Features
-
i128: Add support for interpreting thei128andu128integer types. nightly only -
proc-macro2default: ImplementLiteralExtonproc_macro2::Literal. -
proc-macro: ImplementLiteralExtonproc_macro::Literal. nightly only -
dummy: Export a typeDummyLiteralwith a public constructor which implements theLiteralExttrait.
Structs§
- Float
Lit - A type which represents a floating point value.
- IntLit
- A type which represents an integer literal.