given_Conversion_Int_Rational

coulomb.rational.Rational$.given_Conversion_Int_Rational$
object given_Conversion_Int_Rational extends Conversion[Int, Rational]

Attributes

Source:
rational.scala
Graph
Supertypes
class Conversion[Int, Rational]
trait Int => Rational
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

inline def apply(v: Int): Rational

Convert value x of type T to type U

Convert value x of type T to type U

Attributes

Source:
rational.scala

Inherited methods

def andThen[A](g: Rational => A): T1 => A

Attributes

Inherited from:
Function1
def compose[A](g: A => Int): A => R

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1

Extensions

Inherited extensions

extension (x: T)
def convert: U

x.convert converts a value x of type T to type U

x.convert converts a value x of type T to type U

Attributes

Inherited from:
Conversion
Source:
Conversion.scala