Struct vrp_core::models::common::MultiDimLoad
source · pub struct MultiDimLoad {
pub load: [i32; 8],
pub size: usize,
}
Expand description
Specifies multi dimensional load type.
Fields§
§load: [i32; 8]
Load data.
size: usize
Actual used size.
Implementations§
Trait Implementations§
source§impl Add for MultiDimLoad
impl Add for MultiDimLoad
source§impl Clone for MultiDimLoad
impl Clone for MultiDimLoad
source§fn clone(&self) -> MultiDimLoad
fn clone(&self) -> MultiDimLoad
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 moresource§impl Debug for MultiDimLoad
impl Debug for MultiDimLoad
source§impl Default for MultiDimLoad
impl Default for MultiDimLoad
source§impl Display for MultiDimLoad
impl Display for MultiDimLoad
source§impl Load for MultiDimLoad
impl Load for MultiDimLoad
source§impl Mul<f64> for MultiDimLoad
impl Mul<f64> for MultiDimLoad
source§impl PartialEq for MultiDimLoad
impl PartialEq for MultiDimLoad
source§impl PartialOrd for MultiDimLoad
impl PartialOrd for MultiDimLoad
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Sub for MultiDimLoad
impl Sub for MultiDimLoad
source§impl Sum for MultiDimLoad
impl Sum for MultiDimLoad
source§fn sum<I: Iterator<Item = MultiDimLoad>>(iter: I) -> Self
fn sum<I: Iterator<Item = MultiDimLoad>>(iter: I) -> Self
Method which takes an iterator and generates
Self
from the elements by
“summing up” the items.impl Copy for MultiDimLoad
impl Eq for MultiDimLoad
impl LoadOps for MultiDimLoad
Implement SharedResource
for multi dimensional load.
Auto Trait Implementations§
impl RefUnwindSafe for MultiDimLoad
impl Send for MultiDimLoad
impl Sync for MultiDimLoad
impl Unpin for MultiDimLoad
impl UnwindSafe for MultiDimLoad
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