Trait lazy_bytes_cast::FromBytesCastLazy [] [src]

pub unsafe trait FromBytesCastLazy<T: ToBytesCast> {
    fn cast_to(&self) -> T;
}

Provides casting from fixed size arrays to integers

Supposed to be safe without wrapping into Result.

Besides isn't it bothersome to unwrap perfectly safe cast from bytes array? ;)

Required Methods

fn cast_to(&self) -> T

Implementors