Extract read/write variants from impl_for_vec