pub enum Operator {
Show 23 variants
Add,
Subtract,
Multiply,
Divide,
Modulo,
Exponent,
Pow,
Log,
Sin,
Cos,
Tan,
Sec,
Csc,
Cot,
Abs,
Floor,
Round,
Ceil,
Root,
Exp,
Ln,
Sqrt,
Error,
}
Expand description
These are all the functions/operators that can be used in an equation.
The operators are: Add (+), Subtract (-), Multiply (*), Divide(/), Modulo (%), Exponent(^).
All syntax is the same for the other functions but lowercase.
Variants§
Add
Subtract
Multiply
Divide
Modulo
Exponent
Pow
Log
Sin
Cos
Tan
Sec
Csc
Cot
Abs
Floor
Round
Ceil
Root
Exp
Ln
Sqrt
Error
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Operator
impl RefUnwindSafe for Operator
impl Send for Operator
impl Sync for Operator
impl Unpin for Operator
impl UnwindSafe for Operator
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)