Crates.io | see_derive |
lib.rs | see_derive |
version | 0.0.5 |
source | src |
created_at | 2023-01-10 16:41:03.461359 |
updated_at | 2023-03-03 18:50:11.588229 |
description | A sub-module for providing proc-macros for the `see-through` crate |
homepage | |
repository | https://github.com/NishantJoshi00/see-through |
max_upload_size | |
id | 755630 |
size | 9,442 |
A inner crate that provides #[derive(...)]
for See
& Look
trait in the repository.
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.
For more details on how to use this, please visit see-through