ResourceTag

weaver.ResourceTag
See theResourceTag companion object
trait ResourceTag[A] extends AnyRef

Rough type-tag, for which we provide a low effort instance based on classtags for classes that are not subject to type-erasure.

Because this type is used as an index in a map, you ought to make sure it implements proper equals/hashCode methods

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def cast(obj: Any): Option[A]