pub struct Clamp(pub Bounds);Expand description
Clamps every coordinate into the bounds.
Tuple Fields§
§0: BoundsTrait Implementations§
impl StructuralPartialEq for Clamp
Auto Trait Implementations§
impl Forget for Clamp
impl Freeze for Clamp
impl Move for Clamp
impl RefUnwindSafe for Clamp
impl Send for Clamp
impl Sync for Clamp
impl Unpin for Clamp
impl UnsafeUnpin for Clamp
impl UnwindSafe for Clamp
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