Index

openai4s.types.common.Index
object Index extends Newtype[NonNegInt], CatsEqShow[NonNegInt], CirceNewtypeCodec[NonNegInt], ExtrasRender[NonNegInt]

Attributes

Graph
Supertypes
trait ExtrasRender[NonNegInt]
trait CirceNewtypeCodec[NonNegInt]
trait CirceNewtypeDecoder[NonNegInt]
trait CirceEncoder[NonNegInt]
trait CatsEqShow[NonNegInt]
trait CatsShow[NonNegInt]
trait CatsEq[NonNegInt]
trait Newtype[NonNegInt]
trait NewtypeBase[NonNegInt]
class Object
trait Matchable
class Any
Show all
Self type
Index.type

Members list

Type members

Inherited types

override opaque type Type

Attributes

Inherited from:
Newtype

Value members

Concrete methods

inline def apply(inline index: Int): Index
def from(index: Int): Either[String, Index]
def unsafeFrom(index: Int): Index

Inherited methods

def apply(a: NonNegInt): Type

Attributes

Inherited from:
Newtype
override def deriving[F[*]](using fa: F[NonNegInt]): F[Type]

Attributes

Definition Classes
Newtype -> NewtypeBase
Inherited from:
Newtype
def unapply(typ: Type): Some[A]

Attributes

Inherited from:
Newtype

Givens

Inherited givens

given derivedDecoder: Decoder[Type]

Attributes

Inherited from:
CirceNewtypeDecoder
given derivedEncoder: Encoder[Type]

Attributes

Inherited from:
CirceEncoder
inline given derivedEq: Eq[Type]

Attributes

Inherited from:
CatsEq
given derivedRender: Render[Type]

Attributes

Inherited from:
ExtrasRender
given derivedShow: Show[Type]

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
NewtypeBase
inline given wrap: Coercible[A, Type]

Attributes

Inherited from:
Newtype
inline given wrapTC[F[*]]: Coercible[F[A], F[Type]]

Attributes

Inherited from:
Newtype

Extensions

Inherited extensions

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

Attributes

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

Attributes

Definition Classes
Newtype -> NewtypeBase
Inherited from:
Newtype