Reads from the actual memory location.
(&self)
| 41 | |
| 42 | // Reads from the actual memory location. |
| 43 | pub fn get(&self) -> T { |
| 44 | self.mem.read_obj(self.location).unwrap() |
| 45 | } |
| 46 | |
| 47 | // Writes to the actual memory location. |
| 48 | pub fn set(&self, val: T) { |
no outgoing calls