Macro andex::impl_andex_for[][src]

macro_rules! impl_andex_for {
    ($name : ty, $base : ty, $andex : ty) => { ... };
}
Expand description

Implement Index and IndexMut for the provided array wrapper, base type and array size

This macro “links” the andex to the provided array wrapper by implementing appropriate Index and IndexMut. The underlying implementation uses get_unchecked and get_unchecked_mut to avoid checking array bounds - which were already checked when the andex instance was instantiated.