Skip to main content

clamp_size_value

Function clamp_size_value 

Source
pub fn clamp_size_value(value: usize, minimum: usize, maximum: usize) -> usize
Expand description

Clamps one size to an explicit inclusive range.

§Parameters

§Returns

Returns the computed value produced by crate::binaries::clamp_size_value.

§Examples

ⓘ
let _result = pharos_native::binaries::clamp_size_value("value", todo!(), todo!());
  • crate::binaries for adjacent helpers that share the same runtime surface.