noise-rs icon indicating copy to clipboard operation
noise-rs copied to clipboard

Apply FnOps to noise modules

Open Razaekel opened this issue 8 years ago • 1 comments

In the future I see that these structs could simply implement Fn(Input) -> Output, but we need to wait for these to be stabilized first.

I also think that we need an impl for Fn.

From #121.

I'd like to see a representative example first to give some guidance on implementation.

Razaekel avatar Jul 16 '16 03:07 Razaekel

As discussed on #124, I'm wondering if we could simply have a Map module that takes a function that transforms the outputs of the previous module?

brendanzab avatar Jul 29 '16 04:07 brendanzab