Enum vrp_core::construction::constraints::ConstraintVariant[][src]

pub enum ConstraintVariant {
    HardRoute(Arc<dyn HardRouteConstraint + Send + Sync>),
    HardActivity(Arc<dyn HardActivityConstraint + Send + Sync>),
    SoftRoute(Arc<dyn SoftRouteConstraint + Send + Sync>),
    SoftActivity(Arc<dyn SoftActivityConstraint + Send + Sync>),
}
Expand description

A variant type for constraint types.

Variants

HardRoute(Arc<dyn HardRouteConstraint + Send + Sync>)

Stores HardRoute variants.

Tuple Fields of HardRoute

0: Arc<dyn HardRouteConstraint + Send + Sync>
HardActivity(Arc<dyn HardActivityConstraint + Send + Sync>)

Stores HardActivity variants.

Tuple Fields of HardActivity

0: Arc<dyn HardActivityConstraint + Send + Sync>
SoftRoute(Arc<dyn SoftRouteConstraint + Send + Sync>)

Stores SoftRoute variants.

Tuple Fields of SoftRoute

0: Arc<dyn SoftRouteConstraint + Send + Sync>
SoftActivity(Arc<dyn SoftActivityConstraint + Send + Sync>)

Stores SoftActivity variants.

Tuple Fields of SoftActivity

0: Arc<dyn SoftActivityConstraint + Send + Sync>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.