pub enum LiftingStep {
Reversible(RevLiftingStep),
Irreversible(IrvLiftingStep),
}Expand description
A single lifting step — either reversible (integer) or irreversible (float).
Variants§
Reversible(RevLiftingStep)
Irreversible(IrvLiftingStep)
Implementations§
Source§impl LiftingStep
impl LiftingStep
Sourcepub fn rev(&self) -> &RevLiftingStep
pub fn rev(&self) -> &RevLiftingStep
Access as reversible step. Panics if irreversible.
Sourcepub fn irv(&self) -> &IrvLiftingStep
pub fn irv(&self) -> &IrvLiftingStep
Access as irreversible step. Panics if reversible.
Trait Implementations§
Source§impl Clone for LiftingStep
impl Clone for LiftingStep
Source§fn clone(&self) -> LiftingStep
fn clone(&self) -> LiftingStep
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 LiftingStep
impl Debug for LiftingStep
Source§impl Default for LiftingStep
impl Default for LiftingStep
impl Copy for LiftingStep
Auto Trait Implementations§
impl Freeze for LiftingStep
impl RefUnwindSafe for LiftingStep
impl Send for LiftingStep
impl Sync for LiftingStep
impl Unpin for LiftingStep
impl UnsafeUnpin for LiftingStep
impl UnwindSafe for LiftingStep
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