Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Interfaces

Functions

Functions

box

  • box<T>(val: T): Box<T>
  • Pack the value into the box so that it is passed by reference

    Type parameters

    • T

    Parameters

    • val: T

    Returns Box<T>

getVal

  • getVal<T>(box: Box<T>): T
  • Take the value from the Box

    Type parameters

    • T

    Parameters

    Returns T

setVal

  • setVal<T>(box: Box<T>, val: T): Box<T>
  • Set the value to Box

    Type parameters

    • T

    Parameters

    • box: Box<T>
    • val: T

    Returns Box<T>

Generated using TypeDoc