Struct path_finding::graph::Edge
source · pub struct Edge {
pub source: usize,
pub destination: usize,
pub weight: f32,
/* private fields */
}Fields§
§source: usize§destination: usize§weight: f32Implementations§
Trait Implementations§
source§impl PartialEq<Edge> for Edge
impl PartialEq<Edge> for Edge
impl Eq for Edge
Auto Trait Implementations§
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnwindSafe for Edge
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.