pub struct MemoryPrediction {
pub predicted_tile_id: Option<u64>,
pub predicted_heading: f64,
pub predicted_distance: f64,
pub lamport: u64,
pub confirmed: bool,
pub actual_tile_id: Option<u64>,
pub actual_distance: Option<f64>,
}Expand description
A prediction about where a memory will be found.
Fields§
§predicted_tile_id: Option<u64>§predicted_heading: f64§predicted_distance: f64§lamport: u64§confirmed: bool§actual_tile_id: Option<u64>§actual_distance: Option<f64>Trait Implementations§
Source§impl Clone for MemoryPrediction
impl Clone for MemoryPrediction
Source§fn clone(&self) -> MemoryPrediction
fn clone(&self) -> MemoryPrediction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MemoryPrediction
impl RefUnwindSafe for MemoryPrediction
impl Send for MemoryPrediction
impl Sync for MemoryPrediction
impl Unpin for MemoryPrediction
impl UnsafeUnpin for MemoryPrediction
impl UnwindSafe for MemoryPrediction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more