Crate deki_proc

Crate deki_proc 

Source

Re-exports§

pub use quote;
pub use proc_macro2;
pub use syn;
pub use convert_case;

Macros§

qt
The whole point.
qts
Same as quote!, but applies a given span to all tokens originating within the macro invocation.

Structs§

Group
A delimited token stream.
Ident
A word of Rust code, which may be a keyword or legal variable name.
Literal
A literal string ("hello"), byte string (b"hello"), character ('a'), byte character (b'a'), an integer or floating point number with or without a suffix (1, 1u8, 2.3, 2.3f32).
Punct
A Punct is a single punctuation character like +, - or #.
Span
A region of source code, along with macro expansion information.
TokenStream
An abstract stream of tokens, or more concretely a sequence of token trees.

Enums§

Case
Defines the type of casing a string can be.
Check
Token Level Return
Delimiter
Describes how a sequence of token trees is delimited.
Step
Stream Level Return
TokenTree
A single token or a delimited sequence of token trees (e.g. [1, (), ..]).

Traits§

Casing
Describes items that can be converted into a case. This trait is used in conjunction with the StateConverter struct which is returned from a couple methods on Casing.
DekiOptTokenTreeExt
This is an extension trait for the following impl:
DekiTokenTreeExt
This is an extension trait for the following impl:
DelimiterExt
This is an extension trait for the following impl:
IdentExt
This is an extension trait for the following impl:
LiteralExt
This is an extension trait for the following impl:
PunctExt
This is an extension trait for the following impl:
Spanned
A trait that can provide the Span of the complete contents of a syntax tree node.
StringProcExt
This is an extension trait for the following impl:
ToTokens
Types that can be interpolated inside a quote! invocation.
TokenStreamExt
This is an extension trait for the following impl:
TreeIterExt
This is an extension trait for the following impl:

Functions§

imp
Quickly add a method to a Type

Type Aliases§

PeekIter