pub struct Clamper64;Expand description
Clamps a distance to half the range of an i64.
It makes sure to clamp to the minimum or maximum representable value in the new bit-size, under the new range-limit conditions.
Implementations§
Auto Trait Implementations§
impl Freeze for Clamper64
impl RefUnwindSafe for Clamper64
impl Send for Clamper64
impl Sync for Clamper64
impl Unpin for Clamper64
impl UnwindSafe for Clamper64
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more