pub enum SingularityType {
Smooth,
Terminal,
Canonical,
Klt,
Dlt,
LogCanonical,
}Expand description
The type of singularity produced after a contraction.
Variants§
Smooth
Smooth point.
Terminal
Terminal singularity: discrepancy > 0 for all exceptional divisors.
Canonical
Canonical singularity: discrepancy ≥ 0 for all exceptional divisors.
Klt
Kawamata log-terminal: discrepancy > -1 for log pairs.
Dlt
Divisorially log-terminal: klt except possibly along reduced boundary.
LogCanonical
Log-canonical: discrepancy ≥ -1.
Implementations§
Source§impl SingularityType
impl SingularityType
Sourcepub fn at_least_as_mild_as(&self, other: &SingularityType) -> bool
pub fn at_least_as_mild_as(&self, other: &SingularityType) -> bool
Partial order: severity (smooth is mildest, lc is most general).
Returns true if self is at least as mild as other.
Trait Implementations§
Source§impl Clone for SingularityType
impl Clone for SingularityType
Source§fn clone(&self) -> SingularityType
fn clone(&self) -> SingularityType
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 SingularityType
impl Debug for SingularityType
Source§impl PartialEq for SingularityType
impl PartialEq for SingularityType
impl Eq for SingularityType
impl StructuralPartialEq for SingularityType
Auto Trait Implementations§
impl Freeze for SingularityType
impl RefUnwindSafe for SingularityType
impl Send for SingularityType
impl Sync for SingularityType
impl Unpin for SingularityType
impl UnsafeUnpin for SingularityType
impl UnwindSafe for SingularityType
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