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§
fn is_compressed(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".