Write documentation for pane_grid

This commit is contained in:
Héctor Ramón Jiménez 2020-03-19 09:30:54 +01:00
parent a820b8ce7b
commit bd74c4e577
7 changed files with 273 additions and 11 deletions

View file

@ -1,8 +1,11 @@
use crate::Rectangle;
/// A fixed reference line for the measurement of coordinates.
#[derive(Debug, Clone, Copy, Hash, PartialEq, Eq)]
pub enum Axis {
/// The horizontal axis: —
Horizontal,
/// The vertical axis: |
Vertical,
}