Tweak some Grid methods
Tweak some Grid methods

Adds some #[inline] tags, and delegates to internals for num_rows and
num_cols. In case these become different than the expected values, this
should help to fail sooner.

alacritty/alacritty,jwilm/alacritty,dannydulai/alacritty,dannydulai/alacritty,jwilm/alacritty,jwilm/alacritty,alacritty/alacritty,jwilm/alacritty