wiwichips / imgprobox

🎨 Image Processing Toolbox in the browser using Rust + WASM + React https://wiwichips.github.io/imgprobox/
https://wiwichips.github.io/imgprobox/
25 stars 2 forks source link

Use Clone to Deep Copy #12

Closed Internal-Compiler-Error closed 1 year ago

Internal-Compiler-Error commented 1 year ago

All the members within the struct implements Clone, so we can just derive it, the clone will basically "call" clone for each member

wiwichips commented 1 year ago

Awesome! Thanks so much @Internal-Compiler-Error

LGTM