NonPosFloat

refined4s.types.numeric.NonPosFloat
object NonPosFloat extends Numeric[Float], MinMax[Float]

Attributes

Graph
Supertypes
trait MinMax[Float]
trait Max[Float]
trait Min[Float]
trait Numeric[Float]
trait Refined[Float]
trait RefinedBase[Float]
trait NewtypeBase[Float]
trait CanBeOrdered[Float]
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited classlikes

object derivedToOrdered extends Conversion[Type, Ordered[Type]]

Attributes

Inherited from:
CanBeOrdered
Supertypes
class Conversion[Type, Ordered[Type]]
trait Type => Ordered[Type]
class Object
trait Matchable
class Any

Inherited and Abstract types

override opaque type Type

Attributes

Inherited from:
RefinedBase

Value members

Concrete methods

inline override def invalidReason(a: Float): String

Attributes

Definition Classes
override def max: Type

Attributes

Definition Classes
Max
override def min: Type

Attributes

Definition Classes
Min
inline override def predicate(a: Float): Boolean

Attributes

Definition Classes

Inherited methods

inline def apply(a: Float): Type

Attributes

Inherited from:
Refined
override def deriving[F[*]](using fa: F[Float]): F[Type]

Attributes

Definition Classes
Inherited from:
RefinedBase
inline def expectedMessage(expected: String): String

Attributes

Inherited from:
RefinedBase
def from(a: Float): Either[String, Type]

Attributes

Inherited from:
RefinedBase
def unapply(typ: Type): Some[Float]

Attributes

Inherited from:
RefinedBase
def unsafeFrom(a: Float): Type

Attributes

Inherited from:
RefinedBase

Inherited fields

val MaxValue: Type

Attributes

Inherited from:
Max
val MinValue: Type

Attributes

Inherited from:
Min

Givens

Inherited givens

given derivedOrdering: Ordering[Type]

Attributes

Inherited from:
CanBeOrdered

Attributes

Inherited from:
CanBeOrdered
inline given given_RefinedCtor_Type_A: given_RefinedCtor_Type_A

Attributes

Inherited from:
RefinedBase
given newRefinedCanEqual: CanEqual[Type, Type]

Attributes

Inherited from:
NewtypeBase
inline given unwrap: Coercible[Type, Float]

Attributes

Inherited from:
NewtypeBase
inline given unwrapTC[F[*]]: Coercible[F[Type], F[Float]]

Attributes

Inherited from:
NewtypeBase

Extensions

Inherited extensions

extension [B](typ: Type)
def toValue(using coercibleA2B: Coercible[Float, B]): B

Attributes

Inherited from:
NewtypeBase
extension (typ: Type)
inline override def value: Float

Attributes

Definition Classes
Inherited from:
RefinedBase