[][src]Enum boolean_expression::CubeMergeResult

pub enum CubeMergeResult {
    None,
    CancelLeft,
    CancelRight,
    Merge(Cube),
    ExpandLeft(Cube),
    ExpandRight(Cube),
}

The result of attempting to merge two cubes.

Variants

None

The cubes could not be merged.

CancelLeft

The left cube was canceled because it is completely covered by the right cube.

CancelRight

The right cube was canceled because it is completely covered by the left cube.

Merge(Cube)

The two cubes merge into one.

ExpandLeft(Cube)

The left cube may be expanded (increase its number of DontCares) by overlapping with the right cube.

ExpandRight(Cube)

The right cube may be expanded (increase its number of DontCares) by overlapping with the left cube.

Trait Implementations

impl Clone for CubeMergeResult[src]

impl Debug for CubeMergeResult[src]

impl Eq for CubeMergeResult[src]

impl PartialEq<CubeMergeResult> for CubeMergeResult[src]

impl StructuralEq for CubeMergeResult[src]

impl StructuralPartialEq for CubeMergeResult[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.