pub struct ThreeDProblem {
pub bins: Vec<Bin3D>,
pub demands: Vec<BoxDemand3D>,
}Expand description
Input problem passed to solve_3d.
Fields§
§bins: Vec<Bin3D>Available bin types.
demands: Vec<BoxDemand3D>Box demands to be placed in the bins.
Trait Implementations§
Source§impl Clone for ThreeDProblem
impl Clone for ThreeDProblem
Source§fn clone(&self) -> ThreeDProblem
fn clone(&self) -> ThreeDProblem
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 ThreeDProblem
impl Debug for ThreeDProblem
Source§impl<'de> Deserialize<'de> for ThreeDProblem
impl<'de> Deserialize<'de> for ThreeDProblem
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
Source§impl PartialEq for ThreeDProblem
impl PartialEq for ThreeDProblem
Source§impl Serialize for ThreeDProblem
impl Serialize for ThreeDProblem
impl StructuralPartialEq for ThreeDProblem
Auto Trait Implementations§
impl Freeze for ThreeDProblem
impl RefUnwindSafe for ThreeDProblem
impl Send for ThreeDProblem
impl Sync for ThreeDProblem
impl Unpin for ThreeDProblem
impl UnsafeUnpin for ThreeDProblem
impl UnwindSafe for ThreeDProblem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more