I want to know what re
and im
mean / do
let mut z = Complex { re: 0.0, im: 0,0 };
I'm learning Rust from the Programming Rust book, and this re:
and im:
should have already appeared before, but just now I've bothered to search.
What I found before arriving here was that im:
is a way to create immutable code structures (immutable data structures ), but nothing about re
, which kick that can be reusable.
Another thing I found from im:
was also in the Rust documentation where it said it was a crate , so I'm not sure if it's something else entirely (this is the only dependency listed in% with% ")