rust3ds / ctru-rs

Rust wrapper for libctru
https://rust3ds.github.io/ctru-rs/
Other
120 stars 18 forks source link

Add trait for linear allocation to enforce use of LinearAllocator at compile-time #188

Closed ian-h-chamberlain closed 4 months ago

ian-h-chamberlain commented 4 months ago

Also convert ndsp::Wave to be generic over any linearly-allocated type so that callers could use Vec etc. if they wanted.

This will also be useful for citro3d-rs, e.g. https://github.com/rust3ds/citro3d-rs/pull/42/files#r1477434491