Trait Dependencies

Source
pub trait Dependencies {
    // Required method
    fn debug(&self) -> Vec<&dyn DynLayer>;
}
Expand description

A struct that defines the dependencies of your Chunk. Usually generated for structs via the deps macro, but you can manually define it in case you have non-Layer dependencies.

If you layer has no dependencies, you can use the () type instead.

Required Methods§

Source

fn debug(&self) -> Vec<&dyn DynLayer>

For runtime debugging of your layers, you should return references to each of the layer types within your dependencies.

Implementations on Foreign Types§

Source§

impl Dependencies for ()

Source§

fn debug(&self) -> Vec<&dyn DynLayer>

Implementors§