pub struct SecondAlgorithmen { /* private fields */ }Expand description
Second algorithmen
Trait Implementations§
Source§impl Algorithmen3DBinPackaging for SecondAlgorithmen
impl Algorithmen3DBinPackaging for SecondAlgorithmen
Source§fn remove_item(&mut self, input: Vec<Item>) -> Result<(), Vec<Item>>
fn remove_item(&mut self, input: Vec<Item>) -> Result<(), Vec<Item>>
Removes items from the list no size check
Source§fn create_algorithmen(
input: Vec<Item>,
bin: Bin,
) -> Result<Self, AlgorithmenError>
fn create_algorithmen( input: Vec<Item>, bin: Bin, ) -> Result<Self, AlgorithmenError>
A Algorithmen Input where all packages are there
Source§fn space_left(&self) -> u32
fn space_left(&self) -> u32
If Space is left
Source§fn check_fit_quick(input: &[Item], bin: &Bin) -> (bool, SpaceLeftBin)
fn check_fit_quick(input: &[Item], bin: &Bin) -> (bool, SpaceLeftBin)
Checks if the Items can be in a bin, possible fast check
Source§fn calculate_custom<F>(
self,
custom_score_function: Option<F>,
) -> Result<SortedBin, AlgorithmenError>
fn calculate_custom<F>( self, custom_score_function: Option<F>, ) -> Result<SortedBin, AlgorithmenError>
A final result Read more
Source§impl Clone for SecondAlgorithmen
impl Clone for SecondAlgorithmen
Source§fn clone(&self) -> SecondAlgorithmen
fn clone(&self) -> SecondAlgorithmen
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SecondAlgorithmen
impl Debug for SecondAlgorithmen
Source§impl<'de> Deserialize<'de> for SecondAlgorithmen
impl<'de> Deserialize<'de> for SecondAlgorithmen
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 SecondAlgorithmen
impl RefUnwindSafe for SecondAlgorithmen
impl Send for SecondAlgorithmen
impl Sync for SecondAlgorithmen
impl Unpin for SecondAlgorithmen
impl UnsafeUnpin for SecondAlgorithmen
impl UnwindSafe for SecondAlgorithmen
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