Skip to main content

from_native_type_to_self

Macro from_native_type_to_self 

Source
macro_rules! from_native_type_to_self {
    ($SelfT:ty, $($from:ty)*) => { ... };
}
Expand description

This macro implements conversions from native types to Unsigned*Bit which are always possible (e.g. From<u8> for Unsigned9Bit).