You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* IDEs may not be very helpful at giving you hints about proc macros.
377
377
* Design of nutype may enforce you to run unnecessary validation (e.g. on loading data from DB), which may have a negative impact if you aim for extreme performance.
378
378
379
-
## A note about #[derive(...)]
380
-
381
-
You've got to know that the `#[nutype]` macro intercepts `#[derive(...)]` macro.
382
-
It's done on purpose to ensure that anything like `DerefMut` or `BorrowMut`, that can lead to a violation of the validation rules is excluded.
383
-
The library takes a conservative approach and it has its downside: deriving traits that are not known to the library is not possible.
384
-
385
379
## Support Ukrainian military forces
386
380
387
381
Today I live in Berlin, I have the luxury to live a physically safe life.
0 commit comments