final class as[+T, U] extends AnyVal
Actually, there is no boxing. This class is even not instantiated.
It's used only because of type widening: shapeless T with Tag[U]
approach works bad with From
Original idea by Miles Sabin, see: https://gist.github.com/milessabin/89c9b47a91017973a35f
- Annotations
- @showAsInfix(annotation.this.showAsInfix.<init>$default$1)
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- as
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new as(dummy: T)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any