Expand description
Prelude to use essentials: use my_module::prelude::*
.
Re-exports§
pub use attr::prelude::*;
pub use attr_prop::prelude::*;
pub use components::prelude::*;
pub use container_kind::prelude::*;
pub use ct::prelude::*;
pub use derive::prelude::*;
pub use diag::prelude::*;
pub use equation::prelude::*;
pub use generic_args::prelude::*;
pub use generic_params::prelude::*;
pub use ident::prelude::*;
pub use item::prelude::*;
pub use item_struct::prelude::*;
pub use name::prelude::*;
pub use kw::exposed::*;
pub use phantom::prelude::*;
pub use punctuated::prelude::*;
pub use quantifier::prelude::*;
pub use struct_like::prelude::*;
pub use tokens::prelude::*;
pub use typ::prelude::*;
pub use typed::prelude::*;
pub use iter::prelude::*;
Modules§
Macros§
- Token
- A type-macro that expands to the name of the Rust type representation of a given token.
- braced
- Parse a set of curly braces and expose their content to subsequent parsers.
- bracketed
- Parse a set of square brackets and expose their content to subsequent parsers.
- custom_
keyword - Define a type that supports parsing and printing a given identifier as if it were a keyword.
- custom_
punctuation - Define a type that supports parsing and printing a multi-character symbol as if it were a punctuation token.
- format_
ident - Formatting macro for constructing
Ident
s. - parenthesized
- Parse a set of parentheses and expose their content to subsequent parsers.
- parse_
macro_ input - Parse the input TokenStream of a macro, triggering a compile error if the tokens fail to parse.
- parse_
qt - Quasi-quotation macro that accepts input like the
quote!
macro but uses type inference to figure out a return type for those tokens. - parse_
qt_ spanned - This macro is
parse_quote!
+quote_spanned!
. - parse_
quote - Quasi-quotation macro that accepts input like the
quote!
macro but uses type inference to figure out a return type for those tokens. - parse_
quote_ spanned - This macro is
parse_quote!
+quote_spanned!
. - qt
- The whole point.
- quote
- The whole point.
- quote_
spanned - Same as
quote!
, but applies a given span to all tokens originating within the macro invocation.
Traits§
- Into
Interval - Convert it into canonical interval.
- Iterable
Interval - Interval adapter. Interface to interval-like structures.
- NonIterable
Interval - Interval adapter. Interface to interval-like structures.
- Spanned
- A trait that can provide the
Span
of the complete contents of a syntax tree node.
Type Aliases§
- Parse
Stream - Input to a Syn parser function.