NotGiven

scala.util.NotGiven
See theNotGiven companion class
object NotGiven extends LowPriorityNotGiven

Attributes

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

Members list

Value members

Concrete methods

def value: NotGiven[Nothing]

A value of type NotGiven to signal a successful search for NotGiven[C] (i.e. a failing search for C). A reference to this value will be explicitly constructed by Dotty's implicit search algorithm

A value of type NotGiven to signal a successful search for NotGiven[C] (i.e. a failing search for C). A reference to this value will be explicitly constructed by Dotty's implicit search algorithm

Attributes

Givens

Givens

given amb1[T](using ev: T): NotGiven[T]

One of two ambiguous methods used to emulate negation in Scala 2

One of two ambiguous methods used to emulate negation in Scala 2

Attributes

given amb2[T](using ev: T): NotGiven[T]

One of two ambiguous methods used to emulate negation in Scala 2

One of two ambiguous methods used to emulate negation in Scala 2

Attributes

Inherited givens

given default[T]: NotGiven[T]

A fallback method used to emulate negation in Scala 2

A fallback method used to emulate negation in Scala 2

Attributes

Inherited from:
LowPriorityNotGiven