type

Unsafe

src const class Unsafe : Obj

Unsafe wraps a mutable object as an immutable reference.

constructors

make

Wrap specified object.

methods

val

Get the wrapped object.

Slot Details

make

src new make(Obj? val)

Wrap specified object.

val

src Obj? val()

Get the wrapped object.