Rust traits do not require dynamic dispatch nor a jump table. Therefore rust traits are inherently faster than zig unions.
They can be used via dynamic dispatch but this is not the default.
They can be used via dynamic dispatch but this is not the default.