https://docs.rs/bitmatch/latest/bitmatch/ works nicely but only for a single integer.
https://internals.rust-lang.org/t/pre-rfc-binary-patterns/89... didn't get much discussion but seems the closest to Erlang.
https://docs.rs/bitmatch/latest/bitmatch/ works nicely but only for a single integer.
https://internals.rust-lang.org/t/pre-rfc-binary-patterns/89... didn't get much discussion but seems the closest to Erlang.