pub struct Compression { /* private fields */ }Expand description
圧縮方法の定義
Implementations§
Source§impl Compression
impl Compression
Sourcepub fn new() -> Self
pub fn new() -> Self
Compression の作成
Sourcepub fn enable_with_window_bits(self, level: i8, window_bits: u8) -> Self
pub fn enable_with_window_bits(self, level: i8, window_bits: u8) -> Self
コンテキストを有効にした圧縮の有効化
Sourcepub fn context_takeover(&self) -> bool
pub fn context_takeover(&self) -> bool
コンテキストの有効・無効を取得
Sourcepub fn window_bits(&self) -> Option<u8>
pub fn window_bits(&self) -> Option<u8>
window bitsの値を取得
Trait Implementations§
Source§impl Clone for Compression
impl Clone for Compression
Source§fn clone(&self) -> Compression
fn clone(&self) -> Compression
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Compression
impl Debug for Compression
Source§impl Default for Compression
impl Default for Compression
Source§fn default() -> Compression
fn default() -> Compression
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Compression
impl RefUnwindSafe for Compression
impl Send for Compression
impl Sync for Compression
impl Unpin for Compression
impl UnsafeUnpin for Compression
impl UnwindSafe for Compression
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more