AsReal

halotukozak.mrpc.conv.AsReal
See theAsReal companion trait
object AsReal

Attributes

Companion
trait
Source
AsReal.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
AsReal.type

Members list

Value members

Concrete methods

def apply[Raw, Real](using instance: AsReal[Raw, Real]): AsReal[Raw, Real]

Attributes

Source
AsReal.scala
def makeLazy[Raw, Real](conv: => AsReal[Raw, Real]): AsReal[Raw, Real]

By-name wrapper that defers construction of the underlying conversion until first use. Breaks self/mutually-referential sub-RPC cycles: the recursive adapter is forced lazily at runtime, not re-derived during macro expansion. Mirrors mcodec MCodec.makeLazy.

By-name wrapper that defers construction of the underlying conversion until first use. Breaks self/mutually-referential sub-RPC cycles: the recursive adapter is forced lazily at runtime, not re-derived during macro expansion. Mirrors mcodec MCodec.makeLazy.

Attributes

Source
AsReal.scala

Givens

Givens

given forFuture: [Raw, Real] => (AsReal[Raw, Real], ExecutionContext) => AsReal[Future[Raw], Future[Real]]

Attributes

Source
AsReal.scala
given forTry: [Raw, Real] => AsReal[Raw, Real] => AsReal[Try[Raw], Try[Real]]

Attributes

Source
AsReal.scala
given identity: [A] => AsReal[A, A]

Attributes

Source
AsReal.scala

Inherited givens

given fromFallback: [Raw, Real] => Fallback[AsReal[Raw, Real]] => AsReal[Raw, Real]

Attributes

Inherited from:
AsRealLowPrio (hidden)
Source
AsReal.scala