ops.ch

Declarations

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