Skip to main content

impl_stable_traits_for_int

Macro impl_stable_traits_for_int 

Source
macro_rules! impl_stable_traits_for_int {
    (
        $ty:ty, $write_ty_method:ident
    ) => { ... };
}
Expand description

Implements StableHash and StableOrd for a primitive integer type. The stable-hash impl calls the corresponding Hasher::write_* method.