pub enum Calculation {
Plus = 0,
Minus = 1,
Times = 2,
Divides = 3,
Remainder = 4,
BitwiseAnd = 5,
Random = 6,
Nothing = 15,
Unknown = 16,
}Variants§
Plus = 0
Minus = 1
Times = 2
Divides = 3
Remainder = 4
BitwiseAnd = 5
Random = 6
Nothing = 15
Used only for angle calculations, means the left and right side of the calculation should not be used to calculate the complexive right side before assignment
Unknown = 16
Implementations§
Trait Implementations§
Source§impl Clone for Calculation
impl Clone for Calculation
Source§fn clone(&self) -> Calculation
fn clone(&self) -> Calculation
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 PartialEq for Calculation
impl PartialEq for Calculation
impl StructuralPartialEq for Calculation
Auto Trait Implementations§
impl Freeze for Calculation
impl RefUnwindSafe for Calculation
impl Send for Calculation
impl Sync for Calculation
impl Unpin for Calculation
impl UnwindSafe for Calculation
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