feat(widget): add an Orientation::{Horizontal,Vertical} enum

This commit is contained in:
Michael Aaron Murphy 2022-12-29 16:58:59 +01:00 committed by Ashley Wulber
parent 052d9f655b
commit de580ffefc

View file

@ -39,3 +39,10 @@ pub use spin_button::{SpinButton, spin_button};
pub mod rectangle_tracker;
pub mod aspect_ratio;
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
pub enum Orientation {
#[default]
Horizontal,
Vertical
}