W3cubDocs

/Rust

Constant std::u16::MIN

pub const MIN: u16 = u16::MIN; // 0u16

The smallest value that can be represented by this integer type. Use u16::MIN instead.

Examples

// deprecated way
let min = std::u16::MIN;

// intended way
let min = u16::MIN;

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/u16/constant.MIN.html