1 2 3 4 5 6 7
use borrowme::borrowme; #[borrowme] struct VecField<'a> { #[borrowme(borrow_with = std::slice::as_slice)] strings: &'a [String], }