unsafe

scala.caps$.unsafe$
object unsafe

Attributes

Source
caps.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
unsafe.type

Members list

Extensions

Extensions

extension [T, U](f: T => U)(f: T => U)
def unsafeBoxFunArg: T => U

If argument is of type box cs T, converts to type cs T. This avoids the error that would be raised when unboxing *.

If argument is of type box cs T, converts to type cs T. This avoids the error that would be raised when unboxing *.

Attributes

Source
caps.scala
extension [T](x: T)(x: T)
def unsafeBox: T

If argument is of type cs T, converts to type box cs T. This avoids the error that would be raised when boxing *.

If argument is of type cs T, converts to type box cs T. This avoids the error that would be raised when boxing *.

Attributes

Source
caps.scala
extension [T](x: T)(x: T)
def unsafeUnbox: T

If argument is of type box cs T, converts to type cs T. This avoids the error that would be raised when unboxing *.

If argument is of type box cs T, converts to type cs T. This avoids the error that would be raised when unboxing *.

Attributes

Source
caps.scala