Traits for the built-in operators
Add
add
fn add(&self, rhs: &RHS) -> Result
BitAnd
bitand
fn bitand(&self, rhs: &RHS) -> Result
BitOr
bitor
fn bitor(&self, rhs: &RHS) -> Result
BitXor
bitxor
fn bitxor(&self, rhs: &RHS) -> Result
Div
div
fn div(&self, rhs: &RHS) -> Result
Drop
drop
fn drop(&self)
Index
index
fn index(&self, index: &Index) -> Result
Mul
mul
fn mul(&self, rhs: &RHS) -> Result
Neg
neg
fn neg(&self) -> Result
Not
not
fn not(&self) -> Result
Rem
rem
fn rem(&self, rhs: &RHS) -> Result
Shl
shl
fn shl(&self, rhs: &RHS) -> Result
Shr
shr
fn shr(&self, rhs: &RHS) -> Result
Sub
sub
fn sub(&self, rhs: &RHS) -> Result