Skip to main content

ferroui_base/media/
stretch_direction.rs

1/// Describes the type of scaling that can be used when scaling content.
2#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
3#[repr(i32)]
4pub enum StretchDirection {
5    #[default]
6    UpOnly = 0,
7    DownOnly = 1,
8    Both = 2,
9}