match_each_unsigned_pvector_mut

Macro match_each_unsigned_pvector_mut 

Source
macro_rules! match_each_unsigned_pvector_mut {
    ($self:expr, | $vec:ident | $body:block) => { ... };
}
Expand description

Matches on all unsigned type variants of PrimitiveVectorMut and executes the same code for each of the unsigned variant branches.

This macro eliminates repetitive match statements when implementing operations that need to work uniformly across all unsigned type variants (U8, U16, U32, U64).

See match_each_pvector_mut for similar usage.

ยงPanics

Panics if the vector passed in to the macro is not an unsigned vector variant.