1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(clippy::all)]
#[cfg_attr(target_os = "linux", path = "linux/mod.rs")]
#[cfg_attr(target_os = "windows", path = "windows.rs")]
mod unsupported;
pub use unsupported::*;
impl From<u32> for LV2_State_Flags {
fn from(flags: u32) -> Self {
Self(flags as _)
}
}
impl From<LV2_State_Flags> for u32 {
fn from(flags: LV2_State_Flags) -> u32 {
flags.0 as u32
}
}