pub enum Binary {
Min,
Max,
Pow,
Atan2,
Sigmoid,
BAnd,
BOr,
Above,
Below,
Equal,
}Expand description
A two-argument builtin.
Variants§
Min
EEL2’s min.
Max
EEL2’s max.
Pow
EEL2’s pow.
Atan2
EEL2’s atan2(y, x).
Sigmoid
EEL2’s sigmoid(x, c).
BAnd
EEL2’s band — non-lazy logical and. && compiles to jumps instead.
BOr
EEL2’s bor — non-lazy logical or.
Above
EEL2’s above(a, b).
Below
EEL2’s below(a, b).
Equal
EEL2’s equal(a, b).
Implementations§
Trait Implementations§
impl Copy for Binary
impl Eq for Binary
impl StructuralPartialEq for Binary
Auto Trait Implementations§
impl Freeze for Binary
impl RefUnwindSafe for Binary
impl Send for Binary
impl Sync for Binary
impl Unpin for Binary
impl UnsafeUnpin for Binary
impl UnwindSafe for Binary
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.