Enum vrp_core::models::problem::Job [−][src]
Represents a job variant.
Variants
Single job.
MultiJob with multiple dependent jobs.
Implementations
impl Job[src]
impl Job[src]pub fn as_single(&self) -> Option<&Arc<Single>>[src]
Considers job as Single.
pub fn to_single(&self) -> &Arc<Single>[src]
pub fn as_multi(&self) -> Option<&Arc<Multi>>[src]
Considers job as Multi.
pub fn to_multi(&self) -> &Arc<Multi>[src]
pub fn dimens(&self) -> &Dimensions[src]
Returns dimensions collection.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Job
impl !RefUnwindSafe for Jobimpl !UnwindSafe for Job
impl !UnwindSafe for Job