Function lrs::ptr::write

Writes a value to a pointer.

Syntax

unsafe fn write<T>(dst: *mut T, data: T) -> ()

Arguments

NameDescription
dst

The pointer that will be written to.

data

The object that will be written.