feat(widget): add an Orientation::{Horizontal,Vertical} enum
This commit is contained in:
parent
052d9f655b
commit
de580ffefc
1 changed files with 7 additions and 0 deletions
|
|
@ -39,3 +39,10 @@ pub use spin_button::{SpinButton, spin_button};
|
||||||
pub mod rectangle_tracker;
|
pub mod rectangle_tracker;
|
||||||
|
|
||||||
pub mod aspect_ratio;
|
pub mod aspect_ratio;
|
||||||
|
|
||||||
|
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
|
||||||
|
pub enum Orientation {
|
||||||
|
#[default]
|
||||||
|
Horizontal,
|
||||||
|
Vertical
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue