DescriptorOf

fr.hammons.slinc.DescriptorOf$
See theDescriptorOf companion trait
object DescriptorOf

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object given_DescriptorOf_Byte extends DescriptorOf[Byte]

Attributes

Supertypes
trait DescriptorOf[Byte]
trait MethodCompatible[Byte]
class Object
trait Matchable
class Any
Self type
object given_DescriptorOf_Double extends DescriptorOf[Double]

Attributes

Supertypes
trait DescriptorOf[Double]
trait MethodCompatible[Double]
class Object
trait Matchable
class Any
Self type
object given_DescriptorOf_Float extends DescriptorOf[Float]

Attributes

Supertypes
trait DescriptorOf[Float]
trait MethodCompatible[Float]
class Object
trait Matchable
class Any
Self type
object given_DescriptorOf_Int extends DescriptorOf[Int]

Attributes

Supertypes
trait DescriptorOf[Int]
trait MethodCompatible[Int]
class Object
trait Matchable
class Any
Self type
object given_DescriptorOf_Long extends DescriptorOf[Long]

Attributes

Supertypes
trait DescriptorOf[Long]
trait MethodCompatible[Long]
class Object
trait Matchable
class Any
Self type
object given_DescriptorOf_Short extends DescriptorOf[Short]

Attributes

Supertypes
trait DescriptorOf[Short]
trait MethodCompatible[Short]
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def apply[A](using d: DescriptorOf[A]): TypeDescriptor { type Inner = A; }

Convenience method for summoning the TypeDescriptor attached to DescriptorOf.

Convenience method for summoning the TypeDescriptor attached to DescriptorOf.

Attributes

Returns

TypeDescriptor for type A

Example

DescriptorOf[Int] //returns IntDescriptor

def getDescriptorFor[A](using Quotes, Type[A]): Expr[TypeDescriptor { type Inner = A; }]