[][src]Trait simple_16::Simple16

pub unsafe trait Simple16: Sized + Copy {
    fn check(data: &[Self]) -> Result<(), ValueOutOfRange>;
fn as_(self) -> u32; }

This trait is unsafe because if check is wrong then undefined behavior can occur.

Required methods

fn check(data: &[Self]) -> Result<(), ValueOutOfRange>

fn as_(self) -> u32

Loading content...

Implementations on Foreign Types

impl Simple16 for u32[src]

impl Simple16 for u64[src]

impl Simple16 for u16[src]

impl Simple16 for u8[src]

Loading content...

Implementors

Loading content...