Platform

eu.joaocosta.minart.runtime.Platform$
See thePlatform companion trait
object Platform

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Platform.type

Members list

Type members

Classlikes

case object JS extends Platform

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Platform
class Object
trait Matchable
class Any
Show all
Self type
JS.type
case object JVM extends Platform

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Platform
class Object
trait Matchable
class Any
Show all
Self type
JVM.type
case object Native extends Platform

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Platform
class Object
trait Matchable
class Any
Show all
Self type
Native.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply()(implicit d: DefaultBackend[Any, Platform]): Platform

Returns the current runtime plaform. In general, it is preferable to handle platform-specific code at compile time, but this can be helpful for small changes.

Returns the current runtime plaform. In general, it is preferable to handle platform-specific code at compile time, but this can be helpful for small changes.

Attributes