summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Phone/System/Power/mod.rs
blob: cd814efe80605f8f3172f6b1e31454b286dd3967 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#[doc = "*Required features: `\"Phone_System_Power\"`*"]
#[repr(transparent)]
pub struct PowerSavingMode(pub i32);
impl PowerSavingMode {
    pub const Off: Self = Self(0i32);
    pub const On: Self = Self(1i32);
}
impl ::core::marker::Copy for PowerSavingMode {}
impl ::core::clone::Clone for PowerSavingMode {
    fn clone(&self) -> Self {
        *self
    }
}