Crate enso_shapely_macros[][src]

Expand description

This crate defines a custom derive macro Iterator. Should not be used directly, but only through enso-shapely crate, as it provides utilities necessary for the generated code to compile.

Attribute Macros

overlappable

Derive Macros

CloneRef

Derives CloneRef implementation for given type. It performs clone_ref on every member field. The input type must implement Clone and its every field must implement CloneRef.

Iterator

For struct Foo<T> or enum Foo<T> provides:

IteratorMut

Same as derive(Iterator) but generates mutable iterator.