Skip to main content

BitStringLike

Trait BitStringLike 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl BitStringLike for BitString

Source§

impl BitStringLike for BitStringRef<'_>

Implementors§