pub trait BitStringLike {
// Required method
fn as_bit_string(&self) -> BitStringRef<'_>;
}Expand description
BitStringLike marks object that will act like a BitString.
It will allow to get a BitStringRef that points back to the underlying bytes.
Required Methods§
fn as_bit_string(&self) -> BitStringRef<'_>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".