binpack-3d 0.1.0

A high-performance, deterministic 3D bin packing library written in Rust.
Documentation
use crate::{
    bin::Bin,
    items::{
        Item,
        ItemsPlaced,
    },
};

/// A Bin which has the Items in It
#[derive(Debug)]
pub struct SortedBin {
    /// Bin
    pub bin: Bin,
    /// Items
    pub items: Vec<ItemsPlaced>,
    /// removed items
    pub removed_items: Vec<Item>,
}
impl SortedBin {
    /// Creates basic items
    pub fn new(bin: Bin, items: Vec<ItemsPlaced>, removed_items: Vec<Item>) -> Self {
        Self {
            bin,
            items,
            removed_items,
        }
    }
}