pub enum ScoreboardOperation {
Plus,
Minus,
Times,
Divide,
Modulo,
Min,
Max,
}
Expand description
Any operation that can be executed on a scoreboard- This excludes copy, because scoreboard operations are assumed to be trinary (a = b OP c), but copy is only a binary Operation.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ScoreboardOperation
impl Clone for ScoreboardOperation
source§fn clone(&self) -> ScoreboardOperation
fn clone(&self) -> ScoreboardOperation
Returns a copy 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 ScoreboardOperation
impl Debug for ScoreboardOperation
source§impl PartialEq for ScoreboardOperation
impl PartialEq for ScoreboardOperation
source§fn eq(&self, other: &ScoreboardOperation) -> bool
fn eq(&self, other: &ScoreboardOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ScoreboardOperation
impl Eq for ScoreboardOperation
impl StructuralEq for ScoreboardOperation
impl StructuralPartialEq for ScoreboardOperation
Auto Trait Implementations§
impl RefUnwindSafe for ScoreboardOperation
impl Send for ScoreboardOperation
impl Sync for ScoreboardOperation
impl Unpin for ScoreboardOperation
impl UnwindSafe for ScoreboardOperation
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.