Closed courajs closed 4 years ago
From within the crate itself, its own name isn't defined. Instead, its top-level namespace is referenced via crate::.
crate::
This allows you to use a derive macro within the crate that defines the trait being derived.
From within the crate itself, its own name isn't defined. Instead, its top-level namespace is referenced via
crate::
.This allows you to use a derive macro within the crate that defines the trait being derived.