[][src]Struct cut_optimizer_2d::StockPiece

pub struct StockPiece {
    pub width: usize,
    pub length: usize,
    pub pattern_direction: PatternDirection,
}

A rectangular stock piece that is available to cut one or more cut pieces from.

Fields

width: usize

Width of rectangular stock piece.

length: usize

Length of rectangular stock piece.

pattern_direction: PatternDirection

Pattern direction of stock piece.

Trait Implementations

impl Clone for StockPiece[src]

impl Copy for StockPiece[src]

impl Debug for StockPiece[src]

impl Eq for StockPiece[src]

impl Hash for StockPiece[src]

impl PartialEq<StockPiece> for StockPiece[src]

impl StructuralEq for StockPiece[src]

impl StructuralPartialEq for StockPiece[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,