Trait OmegaWrite

Source
pub trait OmegaWrite<E: Endianness>: BitWrite<E> {
    // Provided method
    fn write_omega(&mut self, n: u64) -> Result<usize, Self::Error> { ... }
}
Expand description

Trait for writing ω codes.

This is the trait you should pull in scope to write ω codes.

Provided Methods§

Source

fn write_omega(&mut self, n: u64) -> Result<usize, Self::Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<E: Endianness, B: BitWrite<E>> OmegaWrite<E> for B