limits
Documentation for limits.
Library to calculate the minimum and maximum values that fit into a given data type
Functions
std::limits::u8_min
Returns the minimum value that can be stored in a u8.
return: Minimum value
fn u8_min();std::limits::u8_max
Returns the maximum value that can be stored in a u8.
return: Maximum value
fn u8_max();std::limits::s8_min
Returns the minimum value that can be stored in a s8.
return: Minimum value
fn s8_min();std::limits::s8_max
Returns the maximum value that can be stored in a s8.
return: Maximum value
fn s8_max();std::limits::u16_min
Returns the minimum value that can be stored in a u16.
return: Minimum value
fn u16_min();std::limits::u16_max
Returns the maximum value that can be stored in a u16.
return: Maximum value
fn u16_max();std::limits::s16_min
Returns the minimum value that can be stored in a s16.
return: Minimum value
fn s16_min();std::limits::s16_max
Returns the maximum value that can be stored in a s16.
return: Maximum value
fn s16_max();std::limits::u32_min
Returns the minimum value that can be stored in a u32.
return: Minimum value
fn u32_min();std::limits::u32_max
Returns the maximum value that can be stored in a u32.
return: Maximum value
fn u32_max();std::limits::s32_min
Returns the minimum value that can be stored in a s32.
return: Minimum value
fn s32_min();std::limits::s32_max
Returns the maximum value that can be stored in a s32.
return: Maximum value
fn s32_max();std::limits::u64_min
Returns the minimum value that can be stored in a u64.
return: Minimum value
fn u64_min();std::limits::u64_max
Returns the maximum value that can be stored in a u64.
return: Maximum value
fn u64_max();std::limits::s64_min
Returns the minimum value that can be stored in a s64.
return: Minimum value
fn s64_min();std::limits::s64_max
Returns the maximum value that can be stored in a s64.
return: Maximum value
fn s64_max();std::limits::u128_min
Returns the minimum value that can be stored in a u128.
return: Minimum value
fn u128_min();std::limits::u128_max
Returns the maximum value that can be stored in a u128.
return: Maximum value
fn u128_max();std::limits::s128_min
Returns the minimum value that can be stored in a s128.
return: Minimum value
fn s128_min();std::limits::s128_max
Returns the maximum value that can be stored in a s128.
return: Maximum value
fn s128_max();