pub struct BinPackingInput {
pub bin_capacity: f64,
pub items: Vec<f64>,
}Expand description
Input for bin packing optimization
Fields§
§bin_capacity: f64Capacity of each bin
items: Vec<f64>Size of each item
Implementations§
Trait Implementations§
Source§impl Clone for BinPackingInput
impl Clone for BinPackingInput
Source§fn clone(&self) -> BinPackingInput
fn clone(&self) -> BinPackingInput
Returns a duplicate 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 BinPackingInput
impl Debug for BinPackingInput
Source§impl<'de> Deserialize<'de> for BinPackingInput
impl<'de> Deserialize<'de> for BinPackingInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BinPackingInput
impl RefUnwindSafe for BinPackingInput
impl Send for BinPackingInput
impl Sync for BinPackingInput
impl Unpin for BinPackingInput
impl UnsafeUnpin for BinPackingInput
impl UnwindSafe for BinPackingInput
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