Trait packed_struct::types::SizedIntegerSigned[][src]

pub trait SizedIntegerSigned<T, B>: SizedInteger<T, B> where
    B: NumberOfBits
{ fn from_unpacked_to_signed(val: T) -> T; }
Expand description

A helper for converting specific bit width signed integers into the native type.

Required methods

Sign-extends the packed value into a properly signed representation in one’s complement.

Implementors