#functional #generic #macro

macro see_derive

A sub-module for providing proc-macros for the see-through crate

5 releases

0.0.5 Mar 3, 2023
0.0.4 Mar 3, 2023
0.0.3 Mar 3, 2023
0.0.2 Jan 23, 2023
0.0.1 Jan 10, 2023

#185 in #functional


Used in see-through

Custom license

9KB
124 lines

See Derive

A inner crate that provides #[derive(...)] for See & Look trait in the repository.

Usage

The macros provided are

  • #[derive(See)]
  • #[derive(Look)] this will automatically derive See as it's an internal dependency
  • auto_load!() this macro loads all the unit structs which allow both See and Look to access fields inside generics. This macro should be called in the root of the repository and after all the See and Look derivation are done.

Description

For more details on how to use this, please visit see-through


lib.rs:

Derive For the traits See and an extension trait Load see-through

Dependencies

~1.5MB
~36K SLoC