given_Conversion_Float_Rational

coulomb.rational.Rational$.given_Conversion_Float_Rational$
object given_Conversion_Float_Rational extends Conversion[Float, Rational]

Attributes

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

Members list

Concise view

Value members

Concrete methods

inline def apply(v: Float): 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 => Float): 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