Replaces the value in the atomic integer by the minimum of the current value and a given value with relaxed ordering guarantees.
impl AtomicI32 {
fn min_weak(&self, val: i32) -> i32
}| Name | Description |
|---|---|
| val | The value that will be compared to the integer. |
Returns the old value.