blob: 957a4a2de206d1660f07a3b3ba57ef4a45ad9d05 [file] [log] [blame]
#[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;