I need to know which values can be defined as Storables. From my understanding, a Storable is something that can be stored in a single memory cell, but as my teacher told me, the size of a cell depends on the language, but I've read things that don't specify that. I've done some tests printing memory adresses but it hasn't solved my question and I've searched everywhere but don't seem to find the answer.
i32 is probably Storable, but is a Tuple/Array/Vec a Storable? Based on my tests I'd get something like:
x is in memory here: 0x665fcff750
y is in memory here: 0x665fcff758
X and Y are Structs that consist of two i16 values, as I can see, because each one have two 16-bit values, they'd end up using 8 bytes each (4 per value). But, are they using multiple cells? even if they do, can they be considered Storable? are Cells in Rust somehow dynamic?
If there's a way to prove it myself or somewhere I can check it, it'd be great.