pub enum CalcType {
Add,
Subtract,
Multiply,
Divide,
Power,
Print,
Val(f64),
}Expand description
enum CalcType is a type containing operations used in the calculator.
Variants§
Trait Implementations§
Source§impl PartialOrd for CalcType
impl PartialOrd for CalcType
impl Copy for CalcType
impl StructuralPartialEq for CalcType
Auto Trait Implementations§
impl Freeze for CalcType
impl RefUnwindSafe for CalcType
impl Send for CalcType
impl Sync for CalcType
impl Unpin for CalcType
impl UnwindSafe for CalcType
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