Trait PiWrite

Source
pub trait PiWrite<E: Endianness>: BitWrite<E> + RiceWrite<E> {
    // Provided method
    fn write_pi(&mut self, n: u64, k: usize) -> 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_pi(&mut self, n: u64, k: usize) -> 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> + RiceWrite<E> + ?Sized> PiWrite<E> for B