Skip to main content

Checkable

Trait Checkable 

Source
pub trait Checkable {
    // Required method
    fn write_endian<E, W>(
        self,
        writer: &mut W,
        queue_value: &mut u8,
        queue_bits: &mut u32,
    ) -> Result<()>
       where E: Endianness,
             W: Write;
}

Required Methods§

Source

fn write_endian<E, W>( self, writer: &mut W, queue_value: &mut u8, queue_bits: &mut u32, ) -> Result<()>
where E: Endianness, W: Write,

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<const BITS: u32, S: SignedInteger> Checkable for CheckedSignedFixed<BITS, S>

Source§

impl<const BITS: u32, U: UnsignedInteger> Checkable for CheckedUnsignedFixed<BITS, U>

Source§

impl<const MAX: u32, S: SignedInteger> Checkable for CheckedSigned<MAX, S>

Source§

impl<const MAX: u32, U: UnsignedInteger> Checkable for CheckedUnsigned<MAX, U>