pub enum CubeMergeResult {
None,
CancelLeft,
CancelRight,
Merge(Cube),
ExpandLeft(Cube),
ExpandRight(Cube),
}Expand description
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§
Source§impl Clone for CubeMergeResult
impl Clone for CubeMergeResult
Source§fn clone(&self) -> CubeMergeResult
fn clone(&self) -> CubeMergeResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CubeMergeResult
impl Debug for CubeMergeResult
Source§impl PartialEq for CubeMergeResult
impl PartialEq for CubeMergeResult
impl Eq for CubeMergeResult
impl StructuralPartialEq for CubeMergeResult
Auto Trait Implementations§
impl Freeze for CubeMergeResult
impl RefUnwindSafe for CubeMergeResult
impl Send for CubeMergeResult
impl Sync for CubeMergeResult
impl Unpin for CubeMergeResult
impl UnwindSafe for CubeMergeResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more