scala.scalanative

util

package util

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. util
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Resource = AutoCloseable

    Scope-managed resource.

  2. trait Scope extends AnyRef

    Scoped implicit lifetime.

  3. class ScopedVar[A] extends AnyRef

  4. final class ShowBuilder extends AnyRef

  5. final case class UnsupportedException(msg: String) extends Exception with Product with Serializable

Value Members

  1. object Scope

  2. object ScopedVar

  3. object Stats

  4. object UnreachableException extends Exception with Product with Serializable

  5. def acquire[R <: Resource](res: R)(implicit in: Scope): R

    Acquire given resource in implicit scope.

  6. def defer(f: ⇒ Unit)(implicit in: Scope): Unit

    Defer cleanup until the scope closes.

  7. def time[T](msg: String)(f: ⇒ T): T

    Print running time of closure to stdout.

  8. def unreachable: Nothing

    Marker methods, called whenever a specific control-flow branch should never happen.

  9. def unsupported(s: String = ""): Nothing

  10. def unsupported(v: Any): Nothing

    Marker method, called whenever a specific control-flow branch is not supported.

Inherited from AnyRef

Inherited from Any

Ungrouped