Box<T> constructor

Box<T>(
  1. T value
)

Creates a Box encapsulating the provided value.

Implementation

Box(this.value);