Skip to main contentCrate zyn_core
Source pub use template::Template;pub use types::Input;pub use proc_macro2;pub use quote;pub use syn;pub use diagnostic::*;pub use extract::*;pub use meta::*;
- ast
- case
- debug
- diagnostic
- extract
- ident
- meta
- pipes
- template
- types
- camel
- Converts a string or ident to camelCase.
- format_ident
- Formatting macro for constructing
Idents. - kebab
- Converts a string or ident to kebab-case.
- parse
- Parses tokens or string literals into a type. Wraps
syn::parse_str and syn::parse2. - parse_input
- Parses a
proc_macro::TokenStream in a proc macro entry point. Wraps syn::parse_macro_input!. - pascal
- Converts a string or ident to PascalCase.
- screaming
- Converts a string or ident to SCREAMING_SNAKE_CASE.
- snake
- Converts a string or ident to snake_case.
- 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.
- Expand
- Internal trait for AST node expansion. Not part of the public API.
- Pipe
- Implemented by
#[zyn::pipe] types. Transforms a value in a pipe chain. - Render
- Implemented by
#[zyn::element] types. Renders the element with the given Input context. - ToTokens
- Types that can be interpolated inside a
quote! invocation.
- Result