ByteableToRegularStruct

Trait ByteableToRegularStruct 

Source
pub trait ByteableToRegularStruct: Byteable + Into<Self::Target> {
    type Target;

    // Provided method
    fn to_struct(self) -> Self::Target { ... }
}

Required Associated Types§

Provided Methods§

Source

fn to_struct(self) -> Self::Target

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§