Module prelude

Module prelude 

Source
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§

proc_macro2
githubcrates-iodocs-rs
quote
githubcrates-iodocs-rs
syn
githubcrates-iodocs-rs

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 Idents.
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§

IntoInterval
Convert it into canonical interval.
IterableInterval
Interval adapter. Interface to interval-like structures.
NonIterableInterval
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§

ParseStream
Input to a Syn parser function.