object LowPriority extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LowPriority
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- trait For[T] extends Serializable
For internal use by
LowPriority
- trait ForIgnoring[I, T] extends Serializable
For internal use by
LowPriority
- sealed trait Ignoring[T] extends Serializable
Allows
LowPriority
to ignore some implicits.Allows
LowPriority
to ignore some implicits.Added to an implicit def like
implicit def genericThing[F, G] (implicit ev: LowPriority.Ignoring[Witness.`"anyThing"`.T], gen: Generic.Aux[F, G], underlying: Thing[G] ): Thing[F] = ???
it prevents
genericThing
to provide an instance ofThing[F]
if an implicit one is already available elsewhere EXCEPT if it is provided by a method calledanyThing
. In this case, it letsgenericThing
provide aThing[F]
too, effectively taking precedence over the instances provided byanyThing
.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit macro def materialize: LowPriority
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object Ignoring extends Serializable