Skip to main content

Compressed

Trait Compressed 

Source
pub trait Compressed {
    // Provided method
    fn is_compressed(&self) -> bool { ... }
}
Expand description

Trait denoting a compressed item. Use is_compressed to declare if the item is compressed at runtime (in which case the internal buffer is swapped)

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§