Function |to_u16

conv/u8::|to_u16


Usage

|to_u16(value)

Parameters

↳ value: u8

Return

u16


Turns u8 into u16.

This conversion is lossless, as any u8 value can fit into a u16.