trait Sprout[O] extends TagNewType[O] with Burry[O]
Intended to be mixed into an object, or in certain cases a class, for them to act as the containers and constructors for your new type.
e.g.
object FirstName extends Sprout[String] type FirstName = FirstName.Type
- Source
- Sprout.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Sprout
- Burry
- TagNewType
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type Base = Any { type SpriteNewType$newtype }
- Definition Classes
- TagNewType
- type Original = O
- Definition Classes
- Burry
- type Type = Base with Tag
- Definition Classes
- TagNewType
- trait Tag extends Any
- Definition Classes
- TagNewType
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
- def apply(o: O): Type
- 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def newType(o: O): Type
- Annotations
- @inline()
- implicit def newTypeInstance: NewType[O, Type]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def oldType(n: Type): O
- Definition Classes
- Burry
- Annotations
- @inline()
- def symbolicName: String
Used for better error messages, and certain integrations.
Used for better error messages, and certain integrations.
- Definition Classes
- Burry
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tagOld(o: O): Type
- Attributes
- protected
- Definition Classes
- TagNewType
- Annotations
- @inline()
- 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()