pub enum Conflict<V> {
Vertex {
agents: (usize, usize),
vertex: V,
time: u32,
},
Edge {
agents: (usize, usize),
from: V,
to: V,
time: u32,
},
}Expand description
A conflict between the paths of two agents.
Variants§
Vertex
Both agents occupy vertex at time.
Edge
The agents swap from and to between time and time + 1.
Trait Implementations§
impl<V: Copy> Copy for Conflict<V>
impl<V: Eq> Eq for Conflict<V>
impl<V: PartialEq> StructuralPartialEq for Conflict<V>
Auto Trait Implementations§
impl<V> Forget for Conflict<V>
impl<V> Freeze for Conflict<V>where
V: Freeze,
impl<V> Move for Conflict<V>
impl<V> RefUnwindSafe for Conflict<V>where
V: RefUnwindSafe,
impl<V> Send for Conflict<V>where
V: Send,
impl<V> Sync for Conflict<V>where
V: Sync,
impl<V> Unpin for Conflict<V>where
V: Unpin,
impl<V> UnsafeUnpin for Conflict<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for Conflict<V>where
V: UnwindSafe,
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