ByteableRaw

Trait ByteableRaw 

Source
pub trait ByteableRaw<Regular>: Byteable {
    // Required methods
    fn to_regular(self) -> Regular;
    fn from_regular(regular: Regular) -> Self;
}

Required Methods§

Source

fn to_regular(self) -> Regular

Source

fn from_regular(regular: Regular) -> Self

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<Raw, Regular> ByteableRaw<Regular> for Raw
where Regular: ByteableRegular<Raw = Raw>, Raw: Byteable,