This is (should be) the exact equivalent of the Cilia code in Rust:

Note
In Rust 42 is an i32, not an i64.