mirror of
https://github.com/wayvr-org/wayvr.git
synced 2026-12-03 23:32:25 -08:00
12 lines
168 B
Rust
12 lines
168 B
Rust
#[derive(Clone, Copy, Debug)]
|
|
pub enum WLength {
|
|
Units(f32),
|
|
Percent(f32), // 0.0 - 1.0
|
|
}
|
|
|
|
impl Default for WLength {
|
|
fn default() -> Self {
|
|
Self::Units(0.0)
|
|
}
|
|
}
|