pub struct PriorityMap {
pub priorities: Vec<f64>,
pub top_down: Vec<f64>,
pub bottom_up: Vec<f64>,
pub combined: Vec<f64>,
}Expand description
Priority map combining top-down and bottom-up signals
Fields§
§priorities: Vec<f64>Priority values
top_down: Vec<f64>Top-down contribution
bottom_up: Vec<f64>Bottom-up contribution
combined: Vec<f64>Combined priority
Implementations§
Trait Implementations§
Source§impl Clone for PriorityMap
impl Clone for PriorityMap
Source§fn clone(&self) -> PriorityMap
fn clone(&self) -> PriorityMap
Returns a duplicate of the value. Read more
1.0.0 · 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 PriorityMap
impl Debug for PriorityMap
Source§impl<'de> Deserialize<'de> for PriorityMap
impl<'de> Deserialize<'de> for PriorityMap
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 PriorityMap
impl RefUnwindSafe for PriorityMap
impl Send for PriorityMap
impl Sync for PriorityMap
impl Unpin for PriorityMap
impl UnwindSafe for PriorityMap
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