Enum vrp_core::construction::heuristics::UnassignmentInfo
source · pub enum UnassignmentInfo {
Unknown,
Simple(i32),
Detailed(Vec<(Arc<Actor>, i32)>),
}
Expand description
Keeps information about unassigned reason code.
Variants§
Unknown
No code is available.
Simple(i32)
Only single code is available.
Detailed(Vec<(Arc<Actor>, i32)>)
A collection of actor-code pairs is available.
Trait Implementations§
source§impl Clone for UnassignmentInfo
impl Clone for UnassignmentInfo
source§fn clone(&self) -> UnassignmentInfo
fn clone(&self) -> UnassignmentInfo
Returns a copy 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 moreAuto Trait Implementations§
impl !RefUnwindSafe for UnassignmentInfo
impl Send for UnassignmentInfo
impl Sync for UnassignmentInfo
impl Unpin for UnassignmentInfo
impl !UnwindSafe for UnassignmentInfo
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