Struct cut_optimizer_2d::ResultStockPiece [−][src]
pub struct ResultStockPiece {
pub width: usize,
pub length: usize,
pub pattern_direction: PatternDirection,
pub cut_pieces: Vec<ResultCutPiece>,
pub waste_pieces: Vec<Rect>,
}Expand description
Stock piece that was used by the optimizer to get one or more cut pieces.
Fields
width: usizeWidth of this stock piece.
length: usizeLength of this stock piece.
pattern_direction: PatternDirectionPattern direction of this stock piece.
cut_pieces: Vec<ResultCutPiece>Cut pieces to cut from this stock piece.
waste_pieces: Vec<Rect>Waste pieces that remain after cutting the cut pieces.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ResultStockPieceimpl Send for ResultStockPieceimpl Sync for ResultStockPieceimpl Unpin for ResultStockPieceimpl UnwindSafe for ResultStockPieceBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V