#[non_exhaustive]pub enum ReferenceOnlyOpenings {
Refuse,
TakeAsApplied,
}Expand description
What lower_product_net_with does with an opening that has only a
Reference representation (#351).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Refuse
Refuse the host with GeometryError::OpeningNotSubtracted, as
lower_product_net does. The default.
TakeAsApplied
Report the opening in NetLowering::taken_as_applied and subtract
nothing for it: the host’s Body is taken to carry the void already.
Trait Implementations§
Source§impl Clone for ReferenceOnlyOpenings
impl Clone for ReferenceOnlyOpenings
impl Copy for ReferenceOnlyOpenings
Source§impl Debug for ReferenceOnlyOpenings
impl Debug for ReferenceOnlyOpenings
Source§impl Default for ReferenceOnlyOpenings
impl Default for ReferenceOnlyOpenings
impl Eq for ReferenceOnlyOpenings
Source§impl PartialEq for ReferenceOnlyOpenings
impl PartialEq for ReferenceOnlyOpenings
impl StructuralPartialEq for ReferenceOnlyOpenings
Auto Trait Implementations§
impl Freeze for ReferenceOnlyOpenings
impl RefUnwindSafe for ReferenceOnlyOpenings
impl Send for ReferenceOnlyOpenings
impl Sync for ReferenceOnlyOpenings
impl Unpin for ReferenceOnlyOpenings
impl UnsafeUnpin for ReferenceOnlyOpenings
impl UnwindSafe for ReferenceOnlyOpenings
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