carbon v1.8.0 (2018-09-02T09:54:37Z)
Home
Dub
Repo
Rational.opAssign
carbon
rational
Rational
operator
void
opAssign
(U v)
struct
Rational
(T)
void
opAssign
(
U
)
(
in
U
v
)
if
(
!
isRationalType
!
U
&&
isAssignable
!(
T
,
U
)
)
if
(
isLikeInt
!
T
&&
!
isFloatingPoint
!
T
)
void
opAssign
(Rational!U r)
typeof
(
this
)
opUnary
()
typeof
(
this
)
opUnary
()
bool
opCast
()
U
opCast
()
U
opCast
()
U
opCast
()
auto
opBinary
(Rational!U r)
auto
opBinary
(U v)
auto
opBinaryRight
(U v)
void
opOpAssign
(Rational!U r)
void
opOpAssign
(U v)
auto
opCmp
(U r)
auto
opCmp
(Rational!U r)
bool
opEquals
(U v)
bool
opEquals
(Rational!U r)
void
toString
(void delegate(const(char)[]) sink, FormatSpec!char fmt)
Meta
Source
See Implementation
carbon
rational
Rational
constructors
this
functions
opAssign
opBinary
opBinaryRight
opCast
opCmp
opEquals
opOpAssign
opUnary
toString
properties
den
num
reciprocal
static functions
init
operator