pub trait ExtKeyPtr {
    fn next_for<T>(&mut self) -> &Key
    where
        T: SpreadLayout
; }
Expand description

Extension trait to make KeyPtr simpler to use for T: SpreadLayout types.

Required Methods

Advances the key pointer by the same amount of the footprint of the generic type parameter of T and returns the old value.

Implementors