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 ResultStockPiece
impl Send for ResultStockPiece
impl Sync for ResultStockPiece
impl Unpin for ResultStockPiece
impl UnwindSafe for ResultStockPiece
Blanket Implementations
Mutably borrows from an owned value. Read more