Crate impl_tools_lib
source ·Expand description
Impl-tools-lib
To implement the proc-macros, copy and modify the
impl-tools crate, which is
merely documentation plus wrappers around this crate.
Modules
- Implementation of the
#[autoimpl]attribute - Custom version of
synfields types supporting initializers - Custom version of
syngenerics supporting ‘X: trait’ bound
Structs
- Autoimpl for types supporting
Deref - Tool to make a formatted [
Ident] #[impl_default]attribute- Contents of
impl_scope! - Simple, allocation-free path representation
- A struct with a single instantiation
- A field of a
Singleton - A
Scopeplus field values
Enums
- Content of items supported by
Scopethat are not common to all variants
Traits
- Attribute rule for
Scope
Functions
- Helper fn which can be passed to
Scope::apply_attrs