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§

Implementations on Foreign Types§

Source§

impl BitStringLike for BitString

Source§

impl BitStringLike for BitStringRef<'_>

Implementors§