#[non_exhaustive]pub struct OverlayOptions {
pub degenerate_rings: DegenerateRings,
}Expand description
Options for crate::overlay_with and crate::union_soup_with.
The default is the behaviour of crate::overlay and
crate::union_soup: every degenerate ring is refused.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.degenerate_rings: DegenerateRingsWhat to do with a degenerate input ring.
Implementations§
Source§impl OverlayOptions
impl OverlayOptions
Sourcepub const fn dropping_degenerate_rings(self) -> Self
pub const fn dropping_degenerate_rings(self) -> Self
These options with degenerate rings dropped and reported
(DegenerateRings::DropReported).
Trait Implementations§
Source§impl Clone for OverlayOptions
impl Clone for OverlayOptions
Source§fn clone(&self) -> OverlayOptions
fn clone(&self) -> OverlayOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OverlayOptions
Source§impl Debug for OverlayOptions
impl Debug for OverlayOptions
Source§impl Default for OverlayOptions
impl Default for OverlayOptions
Source§fn default() -> OverlayOptions
fn default() -> OverlayOptions
Returns the “default value” for a type. Read more
impl Eq for OverlayOptions
Source§impl PartialEq for OverlayOptions
impl PartialEq for OverlayOptions
impl StructuralPartialEq for OverlayOptions
Auto Trait Implementations§
impl Freeze for OverlayOptions
impl RefUnwindSafe for OverlayOptions
impl Send for OverlayOptions
impl Sync for OverlayOptions
impl Unpin for OverlayOptions
impl UnsafeUnpin for OverlayOptions
impl UnwindSafe for OverlayOptions
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