pub struct PriorityNode<P = i64, Idx = usize>where
Idx: RawIndex,{ /* private fields */ }
Expand description
Priority queue node for A* algorithm
Implementations§
Trait Implementations§
Source§impl<P: Clone, Idx> Clone for PriorityNode<P, Idx>
impl<P: Clone, Idx> Clone for PriorityNode<P, Idx>
Source§fn clone(&self) -> PriorityNode<P, Idx>
fn clone(&self) -> PriorityNode<P, Idx>
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<P: Debug, Idx> Debug for PriorityNode<P, Idx>
impl<P: Debug, Idx> Debug for PriorityNode<P, Idx>
Source§impl<'de, P, Idx> Deserialize<'de> for PriorityNode<P, Idx>
impl<'de, P, Idx> Deserialize<'de> for PriorityNode<P, Idx>
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
Source§impl<P: Hash, Idx> Hash for PriorityNode<P, Idx>
impl<P: Hash, Idx> Hash for PriorityNode<P, Idx>
Source§impl<P, Idx> Ord for PriorityNode<P, Idx>
impl<P, Idx> Ord for PriorityNode<P, Idx>
Source§impl<P, Idx> PartialEq<P> for PriorityNode<P, Idx>
impl<P, Idx> PartialEq<P> for PriorityNode<P, Idx>
Source§impl<P: PartialEq, Idx> PartialEq for PriorityNode<P, Idx>
impl<P: PartialEq, Idx> PartialEq for PriorityNode<P, Idx>
Source§impl<P, Idx> PartialOrd<P> for PriorityNode<P, Idx>
impl<P, Idx> PartialOrd<P> for PriorityNode<P, Idx>
Source§impl<P, Idx> PartialOrd for PriorityNode<P, Idx>
impl<P, Idx> PartialOrd for PriorityNode<P, Idx>
Source§impl<P, Idx> Serialize for PriorityNode<P, Idx>
impl<P, Idx> Serialize for PriorityNode<P, Idx>
impl<P: Copy, Idx> Copy for PriorityNode<P, Idx>
impl<P: Eq, Idx> Eq for PriorityNode<P, Idx>
impl<P, Idx> StructuralPartialEq for PriorityNode<P, Idx>where
Idx: RawIndex,
Auto Trait Implementations§
impl<P, Idx> Freeze for PriorityNode<P, Idx>
impl<P, Idx> RefUnwindSafe for PriorityNode<P, Idx>where
P: RefUnwindSafe,
Idx: RefUnwindSafe,
impl<P, Idx> Send for PriorityNode<P, Idx>where
P: Send,
impl<P, Idx> Sync for PriorityNode<P, Idx>where
P: Sync,
impl<P, Idx> Unpin for PriorityNode<P, Idx>
impl<P, Idx> UnwindSafe for PriorityNode<P, Idx>where
P: UnwindSafe,
Idx: UnwindSafe,
Blanket Implementations§
Source§impl<T> AsWeight<T> for Twhere
T: Clone + IntoWeight<T>,
impl<T> AsWeight<T> for Twhere
T: Clone + IntoWeight<T>,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.