pub struct Clamper8;Expand description
Clamps a distance to half the range of an i8.
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 Clamper8
impl RefUnwindSafe for Clamper8
impl Send for Clamper8
impl Sync for Clamper8
impl Unpin for Clamper8
impl UnwindSafe for Clamper8
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