Skip to main content

Crate fp_macros

Crate fp_macros 

Source
Expand description

Procedural macros for the fp-library crate.

This crate provides macros for generating and working with Higher-Kinded Type (HKT) traits.

Macros§

Apply
Applies a brand to type arguments.
Kind
Generates the name of a Kind trait based on its signature.
generate_function_re_exports
Generates re-exports for all public free functions in a directory.
generate_trait_re_exports
Generates re-exports for all public traits in a directory.
impl_kind
Implements a Kind trait for a brand.
trait_kind
Defines a new Kind trait.

Attribute Macros§

document_fields
Generates documentation for struct fields or enum variant fields.
document_module
Orchestrates documentation generation for an entire module.
document_parameters
Generates documentation for a function’s parameters.
document_signature
Generates a Hindley-Milner style type signature for a function.
document_type_parameters
Generates documentation for type parameters.