macro_rules! layer_accessors {
() => { ... };
(container) => { ... };
}Expand description
Implements the Layer field accessors for a layer field.
layer_accessors!(container) also records that the type extends ContainerLayer, so its
AnyLayer can be narrowed with AnyLayer::as_container_layer.