#[repr(C)]pub enum BinaryFunctionKind {
Add = 0,
Sub = 1,
Mul = 2,
Div = 3,
DivUnsigned = 4,
MaxSigned = 5,
MinSigned = 6,
MaxUnsigned = 7,
MinUnsigned = 8,
PowF = 9,
}
Variants§
Add = 0
Sub = 1
Mul = 2
Div = 3
DivUnsigned = 4
MaxSigned = 5
MinSigned = 6
MaxUnsigned = 7
MinUnsigned = 8
PowF = 9
Implementations§
Trait Implementations§
Source§impl Clone for BinaryFunctionKind
impl Clone for BinaryFunctionKind
Source§fn clone(&self) -> BinaryFunctionKind
fn clone(&self) -> BinaryFunctionKind
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 Display for BinaryFunctionKind
impl Display for BinaryFunctionKind
Source§impl From<BinaryFunctionKind> for Op
impl From<BinaryFunctionKind> for Op
Source§fn from(k: BinaryFunctionKind) -> Self
fn from(k: BinaryFunctionKind) -> Self
NOTE: There is no unsigned equivalent BinaryFunctionKind
for Max
and Min
Source§impl From<i32> for BinaryFunctionKind
impl From<i32> for BinaryFunctionKind
Source§impl PartialEq for BinaryFunctionKind
impl PartialEq for BinaryFunctionKind
impl Copy for BinaryFunctionKind
impl StructuralPartialEq for BinaryFunctionKind
Auto Trait Implementations§
impl Freeze for BinaryFunctionKind
impl RefUnwindSafe for BinaryFunctionKind
impl Send for BinaryFunctionKind
impl Sync for BinaryFunctionKind
impl Unpin for BinaryFunctionKind
impl UnwindSafe for BinaryFunctionKind
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