pub struct IntentionPosition {
pub goal_id: GoalId,
pub centrality: f64,
pub alignment_angle: f64,
pub gravitational_pull: f64,
pub drift_risk: f64,
}Fields§
§goal_id: GoalId§centrality: f64§alignment_angle: f64§gravitational_pull: f64§drift_risk: f64Trait Implementations§
Source§impl Clone for IntentionPosition
impl Clone for IntentionPosition
Source§fn clone(&self) -> IntentionPosition
fn clone(&self) -> IntentionPosition
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 moreSource§impl Debug for IntentionPosition
impl Debug for IntentionPosition
Source§impl<'de> Deserialize<'de> for IntentionPosition
impl<'de> Deserialize<'de> for IntentionPosition
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 IntentionPosition
impl RefUnwindSafe for IntentionPosition
impl Send for IntentionPosition
impl Sync for IntentionPosition
impl Unpin for IntentionPosition
impl UnsafeUnpin for IntentionPosition
impl UnwindSafe for IntentionPosition
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