PosByte

refined4s.types.numeric.PosByte
object PosByte extends Numeric[Byte], MinMax[Byte]

Attributes

Graph
Supertypes
trait MinMax[Byte]
trait Max[Byte]
trait Min[Byte]
trait Numeric[Byte]
trait Refined[Byte]
trait RefinedBase[Byte]
trait NewtypeBase[Byte]
trait CanBeOrdered[Byte]
class Object
trait Matchable
class Any
Show all
Self type
PosByte.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: Byte): 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: Byte): Boolean

Attributes

Definition Classes

Inherited methods

inline def apply(a: Byte): Type

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
RefinedBase
def unsafeFrom(a: Byte): 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, Byte]

Attributes

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

Attributes

Inherited from:
NewtypeBase

Extensions

Inherited extensions

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

Attributes

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

Attributes

Definition Classes
Inherited from:
RefinedBase