Get the current position and half extent
(&self)
| 25 | |
| 26 | /// Get the current position and half extent |
| 27 | pub fn get(&self) -> (f64, f64, u64) { |
| 28 | let inner = self.inner.read().unwrap(); |
| 29 | (inner.position, inner.half_extent, inner.version) |
| 30 | } |
| 31 | |
| 32 | /// Update the position and half extent, incrementing the version |
| 33 | pub fn set(&self, position: f64, half_extent: f64) { |
no outgoing calls
no test coverage detected