summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Storage/Compression/mod.rs
blob: 957a4a2de206d1660f07a3b3ba57ef4a45ad9d05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#[doc = "*Required features: `\"Storage_Compression\"`*"]
#[repr(transparent)]
pub struct CompressAlgorithm(pub i32);
impl CompressAlgorithm {
    pub const InvalidAlgorithm: Self = Self(0i32);
    pub const NullAlgorithm: Self = Self(1i32);
    pub const Mszip: Self = Self(2i32);
    pub const Xpress: Self = Self(3i32);
    pub const XpressHuff: Self = Self(4i32);
    pub const Lzms: Self = Self(5i32);
}
impl ::core::marker::Copy for CompressAlgorithm {}
impl ::core::clone::Clone for CompressAlgorithm {
    fn clone(&self) -> Self {
        *self
    }
}
pub type Compressor = *mut ::core::ffi::c_void;
pub type Decompressor = *mut ::core::ffi::c_void;