pub struct MMPStepData {
pub operation: MMPOperation,
pub result_variety: String,
pub exceptional_divisor: Option<String>,
}Expand description
Represents a step in the Minimal Model Program.
Fields§
§operation: MMPOperationType of operation.
result_variety: StringDescription of the resulting variety.
exceptional_divisor: Option<String>The exceptional divisor (for contractions).
Implementations§
Source§impl MMPStepData
impl MMPStepData
Sourcepub fn new(op: MMPOperation, result: &str) -> Self
pub fn new(op: MMPOperation, result: &str) -> Self
Creates an MMP step.
Sourcepub fn with_exceptional(self, div: &str) -> Self
pub fn with_exceptional(self, div: &str) -> Self
Sets the exceptional divisor.
Sourcepub fn description(&self) -> String
pub fn description(&self) -> String
Returns the description of this step.
Trait Implementations§
Source§impl Clone for MMPStepData
impl Clone for MMPStepData
Source§fn clone(&self) -> MMPStepData
fn clone(&self) -> MMPStepData
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 moreAuto Trait Implementations§
impl Freeze for MMPStepData
impl RefUnwindSafe for MMPStepData
impl Send for MMPStepData
impl Sync for MMPStepData
impl Unpin for MMPStepData
impl UnsafeUnpin for MMPStepData
impl UnwindSafe for MMPStepData
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