(compression_level: miniz_oxide::deflate::CompressionLevel)
| 27 | } |
| 28 | |
| 29 | impl DeflateSettings { |
| 30 | pub fn new(compression_level: miniz_oxide::deflate::CompressionLevel) -> Self { |
| 31 | DeflateSettings { compression_level } |
| 32 | } |
| 33 | |
| 34 | /// Get the compression level as a `u8`, note that this means the [`miniz_oxide::deflate::CompressionLevel::DefaultCompression`] variant |
nothing calls this directly
no outgoing calls
no test coverage detected