pub enum MathPair {
Power,
Log,
Mod,
}Expand description
One of the numeric functions over two numbers: POWER, LOG and MOD under its function spelling.
MOD is here rather than on the arithmetic kernel it shares its answers with because the two spellings do not share their words: the operator reports a remainder that does not fit the way the operator does, and the function reports it as the function. A statement cannot tell which engine answered it, so it must not be able to tell which kernel did either.
Variants§
Implementations§
Trait Implementations§
impl Copy for MathPair
impl Eq for MathPair
impl StructuralPartialEq for MathPair
Auto Trait Implementations§
impl Forget for MathPair
impl Freeze for MathPair
impl Move for MathPair
impl RefUnwindSafe for MathPair
impl Send for MathPair
impl Sync for MathPair
impl Unpin for MathPair
impl UnsafeUnpin for MathPair
impl UnwindSafe for MathPair
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