ops.ch

Declarations

Public Only
core
Publicnamespace
namespace core
ops
Publicnamespace
namespace ops
Add
Publicinterface
interface Add<Output, Rhs = Add>
Arithmetic
add
Publicfunction
func add(self : &Add, rhs : Rhs) : Output
Sub
Publicinterface
interface Sub<Output, Rhs = Sub>
-
sub
Publicfunction
func sub(self : &Sub, rhs : Rhs) : Output
Mul
Publicinterface
interface Mul<Output, Rhs = Mul>
mul
Publicfunction
func mul(self : &Mul, rhs : Rhs) : Output
Div
Publicinterface
interface Div<Output, Rhs = Div>
/
div
Publicfunction
func div(self : &Div, rhs : Rhs) : Output
Rem
Publicinterface
interface Rem<Output, Rhs = Rem>
%
rem
Publicfunction
func rem(self : &Rem, rhs : Rhs) : Output
Neg
Publicinterface
interface Neg<Output>
Unary Arithmetic
neg
Publicfunction
func neg(self : &Neg) : Output
Not
Publicinterface
interface Not<Output>
not
Publicfunction
func not(self : &Not) : Output
Increment
Publicinterface
interface Increment
inc_pre
Publicfunction
func inc_pre(self : &Increment) : &Increment
++x
inc_post
Publicfunction
func inc_post(self : &Increment) : Increment
x++
Decrement
Publicinterface
interface Decrement
dec_pre
Publicfunction
func dec_pre(self : &Decrement) : &Decrement
--x
dec_post
Publicfunction
func dec_post(self : &Decrement) : Decrement
x--
AddAssign
Publicinterface
interface AddAssign<Rhs = AddAssign>
Compound Assignment
add_assign
Publicfunction
func add_assign(self : &AddAssign, rhs : Rhs) : void
SubAssign
Publicinterface
interface SubAssign<Rhs = SubAssign>
sub_assign
Publicfunction
func sub_assign(self : &SubAssign, rhs : Rhs) : void
MulAssign
Publicinterface
interface MulAssign<Rhs = MulAssign>
mul_assign
Publicfunction
func mul_assign(self : &MulAssign, rhs : Rhs) : void
DivAssign
Publicinterface
interface DivAssign<Rhs = DivAssign>
div_assign
Publicfunction
func div_assign(self : &DivAssign, rhs : Rhs) : void
RemAssign
Publicinterface
interface RemAssign<Rhs = RemAssign>
rem_assign
Publicfunction
func rem_assign(self : &RemAssign, rhs : Rhs) : void
BitAndAssign
Publicinterface
interface BitAndAssign<Rhs = BitAndAssign>
bitwise assign
bitand_assign
Publicfunction
func bitand_assign(self : &BitAndAssign, rhs : Rhs) : void
BitOrAssign
Publicinterface
interface BitOrAssign<Rhs = BitOrAssign>
bitor_assign
Publicfunction
func bitor_assign(self : &BitOrAssign, rhs : Rhs) : void
BitXorAssign
Publicinterface
interface BitXorAssign<Rhs = BitXorAssign>
bitxor_assign
Publicfunction
func bitxor_assign(self : &BitXorAssign, rhs : Rhs) : void
ShlAssign
Publicinterface
interface ShlAssign<Rhs = ShlAssign>
shift assign
shl_assign
Publicfunction
func shl_assign(self : &ShlAssign, rhs : Rhs) : void
ShrAssign
Publicinterface
interface ShrAssign<Rhs = ShrAssign>
shr_assign
Publicfunction
func shr_assign(self : &ShrAssign, rhs : Rhs) : void
BitAnd
Publicinterface
interface BitAnd<Output, Rhs = BitAnd>
Bitwise (integral only)
bitand
Publicfunction
func bitand(self : &BitAnd, rhs : Rhs) : Output
BitOr
Publicinterface
interface BitOr<Output, Rhs = BitOr>
bitor
Publicfunction
func bitor(self : &BitOr, rhs : Rhs) : Output
BitXor
Publicinterface
interface BitXor<Output, Rhs = BitXor>
bitxor
Publicfunction
func bitxor(self : &BitXor, rhs : Rhs) : Output
Shl
Publicinterface
interface Shl<Output, Rhs>
Shifts (Rhs typically unsigned/sized integer)
shl
Publicfunction
func shl(self : &Shl, rhs : Rhs) : Output
Shr
Publicinterface
interface Shr<Output, Rhs>
shr
Publicfunction
func shr(self : &Shr, rhs : Rhs) : Output
PartialEq
Publicinterface
interface PartialEq<Rhs = PartialEq>
Comparisons & Ordering
eq
Publicfunction
func eq(self : &PartialEq, other : Rhs) : bool
ne
Publicfunction
func ne(self : &PartialEq, other : Rhs) : bool
Eq
Publicinterface
interface Eq : PartialEq<Eq>
Ordering
Publicenum
enum Ordering { Less, Equal, Greater }
marker for total equality
Option
Publicvariant
variant Option<T> { var Some : Option var None : Option }
this option exists in this module
PartialOrd
Publicinterface
interface PartialOrd<OrderingP = Ordering, Rhs = PartialOrd>
partial_cmp
Publicfunction
func partial_cmp(self : &PartialOrd, other : &Rhs) : Option<OrderingP>
Ord
Publicinterface
interface Ord : PartialOrd
cmp
Publicfunction
func cmp(self : &Ord, other : &Ord) : Ordering
lt
Publicfunction
func lt(self : &Ord, other : &Ord) : bool
lte
Publicfunction
func lte(self : &Ord, other : &Ord) : bool
gt
Publicfunction
func gt(self : &Ord, other : &Ord) : bool
gte
Publicfunction
func gte(self : &Ord, other : &Ord) : bool
Index
Publicinterface
interface Index<Idx, Output>
Indexing
index
Publicfunction
func index(self : &Index, idx : Idx) : &Output
IndexMut
Publicinterface
interface IndexMut<Idx, Output> : Index<Idx, Output>
index
Publicfunction
func index(self : &IndexMut, idx : Idx) : &Output