pub fn clamp<S>(value: S, min_val: S, max_val: S) -> Swhere S: Clamp,
Clamp function in a component way
Clamps self between min_val and max_val (inclusive)
Can cause a panic for grid if the size mismatch