Class

shapeless.syntax.inject

InjectSyntax

Related Doc: package inject

Permalink

implicit final class InjectSyntax[T] extends AnyVal

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InjectSyntax
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InjectSyntax(t: T)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  6. def inject[C <: Coproduct](implicit inj: Inject[C, T]): C

    Permalink

    Inject the receiver into a coproduct C.

    Inject the receiver into a coproduct C. Only available if the coproduct contains the type T.

  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. def runtimeInject[C <: Coproduct](implicit rInj: RuntimeInject[C]): Option[C]

    Permalink

    Inject the receiver into a coproduct C, by trying to convert it to each element of C.

    Inject the receiver into a coproduct C, by trying to convert it to each element of C. Only available if the coproduct is not CNil.

  9. val t: T

    Permalink
  10. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped