Function core::mem::to_le16Deprecated[src]
pub fn to_le16(x: u16) -> u16
Convert an u16 to little endian from the target's endianness.
On little endian, this is a no-op. On big endian, the bytes are swapped.
pub fn to_le16(x: u16) -> u16
Convert an u16 to little endian from the target's endianness.
On little endian, this is a no-op. On big endian, the bytes are swapped.
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).