pub struct MapPoint {
pub id: Option<u64>,
pub x: f64,
pub y: f64,
pub utility: f64,
pub utility_std: f64,
pub style: usize,
pub origin: String,
}Expand description
One point on the map.
Fields§
§id: Option<u64>Candidate id for pool members; None for history ghosts.
x: f64First principal coordinate.
y: f64Second principal coordinate.
utility: f64Posterior-mean mixture utility (0 with no posterior).
utility_std: f64Posterior utility std (0 with no posterior).
style: usizeMost responsible style lens (0 with no posterior or K = 1).
origin: String"prior", "refined", "edited", or "history".
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MapPoint
impl<'de> Deserialize<'de> for MapPoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MapPoint
impl RefUnwindSafe for MapPoint
impl Send for MapPoint
impl Sync for MapPoint
impl Unpin for MapPoint
impl UnsafeUnpin for MapPoint
impl UnwindSafe for MapPoint
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