MCPcopy Create free account
hub / github.com/RustCrypto/utils / from_u16_le

Method from_u16_le

ctutils/src/choice.rs:156–158  ·  view source on GitHub ↗
(x: u16, y: u16)

Source from the content-addressed store, hash-verified

154 #[inline]
155 #[must_use]
156 pub const fn from_u16_le(x: u16, y: u16) -> Self {
157 Self::from_u16_lsb(bitle!(x, y, u16::BITS))
158 }
159
160 /// Initialize from the least significant bit of a `u16`.
161 #[inline]

Callers

nothing calls this directly

Calls 1

from_u16_lsbFunction · 0.85

Tested by

no test coverage detected