DefaultBackend

@implicitNotFound("Default backend not found.\nIf you want to use the default backends import eu.joaocosta.minart.backend.defaults._ and add the minart-backend dependency.")
trait DefaultBackend[-A, +B]

Typeclass to fetch an implicit default backend (e.g. Canvas or RenderLoop) for a cetain platform. This is used to power the Backend.apply() implementations. Ideally, an end user of the library should not need to implement this.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def defaultValue(params: A): B

Concrete methods

def defaultValue()(implicit ev: Any <:< A): B